[issue33237] Improve AttributeError message for partially initialized module

Nick Coghlan report at bugs.python.org
Sat Apr 7 21:29:57 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Oops, just realised my suggested text had an extraneous double quote in it due to a copy-and-paste error. Fixed version:

    AttributeError: partially initialized module 'spam' has no attribute 'ham' (most likely due to a circular import).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33237>
_______________________________________


More information about the Python-bugs-list mailing list