gh-112087: Make __sizeof__ and listiter_{len, next} to be threadsafe (gh-114843)

This commit is contained in:
Donghee Na 2024-02-15 02:00:50 +09:00 committed by GitHub
parent 4b2d1786cc
commit a2d4281415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 80 additions and 69 deletions

View file

@ -302,7 +302,7 @@ class TestCase(unittest.TestCase):
# listiter_reduce_general
self.assertEqual(
run("reversed", orig["reversed"](list(range(8)))),
(iter, ([],))
(reversed, ([],))
)
for case in types: