[issue8297] AttributeError message text should include module name

Ray.Allen report at bugs.python.org
Thu Jul 22 14:45:38 CEST 2010

Ray.Allen <ysj.ray at gmail.com> added the comment:


Thanks for reviewing! I quite appreciate your ideas. I was not quite familiar with python source code convention at that time. Here I worked out a new patch based on your ideas. 

Since py2.7 has released, this feature can only go to py3k. So my new patch is against py3k.

Hoping somebody could review it. Thanks all!

By the way, I feel if module object's getattr can be customized, other types, like the super object, also needs this.

Added file: http://bugs.python.org/file18124/issue_8297.diff

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list