[issue12465] gc.get_referents can be used to crash Python

2011-07-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yep. It's no surprise that you can crash Python by abusing the gc module, or the ctypes module, or ... -- nosy: +georg.brandl resolution: - wont fix status: open - closed ___ Python tracker

[issue12465] gc.get_referents can be used to crash Python

2011-07-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This looks a lot like the crasher described in Lib/test/crashers/underlying_dict.py For the record, the similar issue1517663 was closed even though there was a patch, with a comment of the if it hurts, don't do it kind. --

[issue12465] gc.get_referents can be used to crash Python

2011-07-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12465 ___ ___ Python-bugs-list mailing list

[issue12465] gc.get_referents can be used to crash Python

2011-07-01 Thread Evgeny Kapun
New submission from Evgeny Kapun abacabadabac...@gmail.com: This code crashes Python: import gc gc.get_referents(object.__dict__)[0].clear() gc.get_referents(type.__dict__)[0].clear() type(A, (), {})() -- components: Interpreter Core messages: 139572 nosy: abacabadabacaba priority: