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

Benjamin Peterson report at bugs.python.org
Wed Jul 6 21:23:08 CEST 2011


Benjamin Peterson <benjamin at python.org> added the comment:

The message is not inaccurate, but indeed misleading. In wonder what to do considering the traditional message of AttributeError is simply the missing attribute.

----------
nosy: +benjamin.peterson
priority: normal -> low

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


More information about the Python-bugs-list mailing list