[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Backported to 2.4 in r67250 and 2.5 in r67251. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Here is another patch, for Python 2.4, which contains only the security fix. Benjamin, will you also commit these backports? Added file: http://bugs.python.org/file12036/getattr_hooks_24.diff ___ Python tr

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the patch! Fixed in r67246. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Ziga Seilnacht
Changes by Ziga Seilnacht <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12034/getattr_hooks_trunk.diff ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Here is a patch for trunk and 2.5 version. It also contains a fix for another crasher (see the tests). I only tested the 2.5 patch, because I don't have the tools for the trunk installed. -- keywords: +patch nosy: +zseil Added file: h

[issue4230] "__getattr__" can't be a descriptor

2008-11-01 Thread zaur
zaur <[EMAIL PROTECTED]> added the comment: It's the issue for python 3.0 too -- nosy: +zaur ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4230] "__getattr__" can't be a descriptor

2008-10-29 Thread Armin Rigo
New submission from Armin Rigo <[EMAIL PROTECTED]>: The attached example works in the __add__ and __getattribute__ cases on CPython, but fails in the __getattr__ case. All three cases work as the semantics say they should on Jython, IronPython and PyPy. It's admittedly an obscure use case. Th