logo       

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

python-dev

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

2009/7/23 Brett Cannon <brett@xxxxxxxxxx>:
> None in Python 3.1 is really useless in terms of its semantics in relative
> imports; importlib doesn't support it and still passes as __import__ (at
> least last time I ran the test suite that way). I thought we had agreed a
> while back that supporting None was not warranted in Python 3.0? Otherwise I
> will do whatever work is necessary for this to happen.

I think it's still nice for the rare cases where you need to trick a
module into thinking another one doesn't exist.

--
Regards,
Benjamin
_______________________________________________
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