[Python-Dev] [Idle-dev] Removing IDLE from the standard library

Michael Foord fuzzyman at voidspace.org.uk
Mon Jul 12 23:42:50 CEST 2010


On 12/07/2010 22:33, Fred Drake wrote:
> On Mon, Jul 12, 2010 at 4:12 PM, Oleg Broytman<phd at phd.pp.ru>  wrote:
>    
>>    Doesn't absolute import help?
>>      
> Not when both modules are at the top level; both acceptably provide
> the same name.  The let's-play-with-it script just wasn't *intended*
> to be a module.
>
>
>    

I'm sure Brett will love this idea, but if it was impossible to reimport 
the script being executed as __main__ with a different name it would 
solve these problems.

Michael Foord

>    -Fred
>
>    


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.




More information about the Python-Dev mailing list