[Python-ideas] making a module callable

Steven D'Aprano steve at pearwood.info
Sat Nov 23 05:07:29 CET 2013


On Fri, Nov 22, 2013 at 05:26:33PM -0700, Eric Snow wrote:

> It's relevant because no one should be replacing __main__ in sys.modules. :)

I see your smiley, which confuses me. Are you serious that replacing 
__main__ is a bad idea? If so, can you explain why?


-- 
Steven


More information about the Python-ideas mailing list