|
Re: [Python-Dev] Document None values in sys.modules?: msg#00531python-dev
On Thu, Jul 23, 2009 at 19:38, Benjamin Peterson <benjamin@xxxxxxxxxx> wrote:
_______________________________________________2009/7/23 Brett Cannon <brett@xxxxxxxxxx>: But None does not strictly mean "I don't exist". None is supposed to trigger an another import attempt for the module with a top-level name. It's that extra import trigger that has no real use in 3.0 and just complicates import semantics (IMO) needlessly. If you want a module to not exist then you either stick something else in (e.g. '42') or we remove the special semantics for None (which I thought we had).
-Brett 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
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |