]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-99184: Bypass instance attribute access in `repr` of `weakref.ref` (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Apr 2023 19:58:55 +0000 (12:58 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 19:58:55 +0000 (19:58 +0000)
commitc8de883bcb022b59d7ae6d20993599b47e4b968b
treeae49f539621a792b3de515503395b2896752a9d2
parenta8489f7f264ec34601c48e0996810d96e0ec2464
[3.11] gh-99184: Bypass instance attribute access in `repr` of `weakref.ref` (GH-99244) (#103789)

gh-99184: Bypass instance attribute access in `repr` of `weakref.ref` (GH-99244)
(cherry picked from commit 58b6be3791f55ceb550822ffd8664eca10fd89c4)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/test/test_weakref.py
Misc/NEWS.d/next/Core and Builtins/2022-11-08-12-36-25.gh-issue-99184.KIaqzz.rst [new file with mode: 0644]
Objects/weakrefobject.c