[issue9259] Python 2.7 breaks assigned __exit__s

Éric Araujo report at bugs.python.org
Wed Jul 14 15:29:45 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

I am afraid we have conflicting viewpoints. You are saying that upgrading Python broke code, and I agree it’s a bad thing. Usually such regression reports are accepted and fixed.

In this case however, the code was already broken in the previous version, it was only working because of a problem in the implementation. So from the viewpoint of GI users, it’s a regression, but from the viewpoint of Python the 2.7 behavior fixes a regression in 2.6. It is not supported to find magic methods (“__name__”) on instances.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9259>
_______________________________________


More information about the Python-bugs-list mailing list