[issue8297] AttributeError message text should include module name
Daniel Urban
report at bugs.python.org
Thu Jul 22 19:45:06 CEST 2010
Daniel Urban <urban.dani+py at gmail.com> added the comment:
According to PEP 7 [1], all declarations must be at the top of a block. So you probably should move the "char *mod_name_str" and "PyModuleObject *module" declarations to the beginning of the function's body.
[1] http://www.python.org/dev/peps/pep-0007/
----------
nosy: +durban
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8297>
_______________________________________
More information about the Python-bugs-list
mailing list