[issue4020] hasattr boundary case failure

2008-10-02 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: This is fixed in 2.6. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4020] hasattr boundary case failure

2008-10-02 Thread Xore
New submission from Xore <[EMAIL PROTECTED]>: http://www.python.org/doc/2.5.2/lib/built-in-funcs.html#l2h-35 "(This is implemented by calling getattr(object, name) and seeing whether it raises an exception or not.)" If a property exists but it's retrieval throws some error, hasattr will interpr