[issue9259] Python 2.7 breaks assigned __exit__s

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


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

Since Benjamin Peterson, release manager for 2.7, confirmed that the change was intentional, I’m closing again.

To solve the bug in GI, you need to define a metaclass with those __enter__ and __exit__ methods, then use it as metaclass for LibtoolImporter. Please send me private email if you want more details.

----------
status: open -> closed

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


More information about the Python-bugs-list mailing list