[issue9220] Modules no longer usable as context managers

Jim Fulton report at bugs.python.org
Sun Jul 11 03:40:27 CEST 2010

Jim Fulton <jim at zope.com> added the comment:

On Sat, Jul 10, 2010 at 4:08 PM, Éric Araujo <report at bugs.python.org> wrote:
> Éric Araujo <merwok at netwok.org> added the comment:
> Confirmed: http://docs.python.org/reference/datamodel#specialnames
> Closing. Sorry! (BTW, using import hackery and a custom module type, you could achieve your goal.)

Yes, I'll have to use a custom module type and import hackery to get
code that worked before working again in Python 2.7.



Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list