Brett Cannon <br...@python.org> added the comment: For the ImportWarning docs, there could stand to be more; patches welcome. =)
As for ImportError being postmortem on an error, that is not always true as plenty of people use the trick, e.g.: try: import json except ImportError: import simplejson as json As for detecting circular imports, flagging it somehow might work, but directly analyzing the stack won't do since that is extremely costly on some VMs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12583> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com