logo       

Re: [Python-Dev] Document None values in sys.modules?: msg#00516

python-dev

Subject: Re: [Python-Dev] Document None values in sys.modules?

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@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/maillists%40codeha.us

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise