mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #22116: C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu.
This commit is contained in:
parent
f3440c6881
commit
b349e4c929
7 changed files with 39 additions and 2 deletions
|
@ -784,7 +784,7 @@ class SizeofTest(unittest.TestCase):
|
|||
# buffer
|
||||
# XXX
|
||||
# builtin_function_or_method
|
||||
check(len, size('3P')) # XXX check layout
|
||||
check(len, size('4P')) # XXX check layout
|
||||
# bytearray
|
||||
samples = [b'', b'u'*100000]
|
||||
for sample in samples:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue