]> granicus.if.org Git - python/commit
#3720: Interpreter crashes when an evil iterator removes its own next function.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 12 Jan 2009 23:36:55 +0000 (23:36 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 12 Jan 2009 23:36:55 +0000 (23:36 +0000)
commita40d57366432cd65915b92fe3e6bfe1d5ad63be0
tree45ef11eae7d47a373fea86cba4b1b0c4902bb93a
parentf94d7fa5fb90df0163cffca2864885a7da49d4f6
#3720: Interpreter crashes when an evil iterator removes its own next function.

Now the slot is filled with a function that always raises.

Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
Include/abstract.h
Include/object.h
Lib/test/crashers/iter.py [deleted file]
Lib/test/test_iter.py
Misc/NEWS
Modules/itertoolsmodule.c
Objects/abstract.c
Objects/object.c
Objects/typeobject.c