[issue12022] 'transaction' module-as-context-manager thwarted by Python 2.7.1

2011-05-06 Thread Daniel Holth
New submission from Daniel Holth dho...@fastmail.fm: How much do we care about special method lookup? Python recently bypasses __getattr__ entirely when looking up context managers. http://mail.python.org/pipermail/python-dev/2009-May/089535.html Could this be the reason that ZODB's

[issue12022] 'transaction' module-as-context-manager thwarted by Python 2.7.1

2011-05-06 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Yes, that's why. I suggest you appeal to python-ideas about the new exception. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org