July 23, 2009
3:09 p.m.
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>