Silly import question (__file__ attribute)

Steven D'Aprano steve at REMOVETHIScyber.com.au
Fri Mar 10 20:59:40 EST 2006


On Thu, 09 Mar 2006 17:25:20 -0500, Jack Diederich wrote:

> It is a built-in module so it doesn't have a .so (dll) or .py file
> to mention.

Wouldn't it make sense for module.__file__ to be set to None rather than
completely missing in this case?


-- 
Steven.




More information about the Python-list mailing list