[issue12503] "with" statement error message is more confusing in Py2.7

Éric Araujo report at bugs.python.org
Fri Jul 8 15:55:38 CEST 2011


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

Could AttributeError be improved to say something like this:

AttributeError: type 'type' has no attribute '__enter__'

----------
nosy: +eric.araujo

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


More information about the Python-bugs-list mailing list