On Jul 23, 2009, at 2:59 PM, Georg Brandl wrote:
is the presence of None values in sys.modules considered an
implementation
detail? If not, it should be documented what the None values mean
to the
interpreter.
As I recall, they're an optimization. But since sys.modules is itself
documented, and many applications actually use it, I think it's worth
explaining that the None values can reasonably be expected, and what
they indicate.
-Fred
--
Fred Drake <fdrake at acm.org>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com