[issue9751] _PyInstance_Lookup() defeats its purpose

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue9751] _PyInstance_Lookup() defeats its purpose

2020-04-19 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9751] _PyInstance_Lookup() defeats its purpose

2012-05-09 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I tracked this down a bit and this is what I found: has_finalizer in Modules/gcmodule.c calls return _PyInstance_Lookup(op, delstr) != NULL; _PyInstance_Lookup in Modules/classobject.c calls v = class_lookup(inst-in_class, name,

[issue9751] _PyInstance_Lookup() defeats its purpose

2012-05-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, I don't think there's any point in trying to fixing this now. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9751 ___

[issue9751] _PyInstance_Lookup() defeats its purpose

2012-05-09 Thread Armin Rigo
Armin Rigo ar...@users.sourceforge.net added the comment: Unlike other crashers I'm a bit concerned about this one. It can occur on any code that stores custom instances as keys in the __dict__ of an old-style instance. Such code might be unusual-looking, but certainly not unheard-of. And

[issue9751] _PyInstance_Lookup() defeats its purpose

2010-09-12 Thread Armin Rigo
Armin Rigo ar...@users.sourceforge.net added the comment: I propose that we first attempt to fix the crasher; depending on the solution we might then either fix the doc or the code for _PyInstance_Lookup(). If no-one is willing to fix this bug I am fine to let it go. But somehow I am sure

[issue9751] _PyInstance_Lookup() defeats its purpose

2010-09-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It’s not clear whether you want a doc fix or a behavior change. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9751 ___

[issue9751] _PyInstance_Lookup() defeats its purpose

2010-09-03 Thread Armin Rigo
New submission from Armin Rigo ar...@users.sourceforge.net: _PyInstance_Lookup() is documented as follows: The point of this routine is that it never calls arbitrary Python code, so is always safe: all it does is dict lookups. But of course dict lookups can call arbitrary Python code.

[issue9751] _PyInstance_Lookup() defeats its purpose

2010-09-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'm not sure anyone will be interested in this: it doesn't affect 3.x. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9751