mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases.
This commit is contained in:
parent
c27cd71cd7
commit
dcedaf6e53
9 changed files with 178 additions and 109 deletions
|
@ -810,7 +810,7 @@ class SizeofTest(unittest.TestCase):
|
|||
# memoryview
|
||||
check(memoryview(b''), size('Pnin 2P2n2i5P 3cPn'))
|
||||
# module
|
||||
check(unittest, size('PnP'))
|
||||
check(unittest, size('PnPPP'))
|
||||
# None
|
||||
check(None, size(''))
|
||||
# NotImplementedType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue