On Jan 18, 2008, at 9:49 AM, Phillip J. Eby wrote:

> At 11:34 AM 1/18/2008 +0100, Viktor Fougstedt wrote:
>> My thoughts (perhaps useful, perhaps not):
>>
>> * Primarly, I think it is unfortunate that an "import foo" starts
>> creating files in the file system - it is not what I personally
>> expect from doing an "import"!
>
> Note that normal imports will also create .pyc or .pyo files
> alongside the source, if a valid compiled version of the source isn't
> available.

Only if the process has write access to the directory. No error occurs  
if the pyc files can't be written.

Jim

--
Jim Fulton
Zope Corporation


_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to