On Jan 18, 2008, at 9:49 AM, Phillip J. Eby wrote:
...
>> * If the default is to remain to create files on "import", I would
>> like error checking and fall backs. If the cache directory cannot be
>> created in $HOME, I would like the code to create it somewhere else
>> (or not at all) instead of giving me an exception. As end user I did
>> not request the cache-directory to be made, and therefore do not want
>> to be given an exception caused by it not being created. Especially
>> as I do not know what to do with such an exception. Perhaps creating
>> it in /tmp/python-eggs-$USERNAME, for example.
>
> That seems like a reasonable fallback, and I'll take a look at
> implementing it in a future release.  Thanks for the idea!


I'm not sure which of the ideas above you are referring to but I think  
implicitly creating files at run time outside the installed package is  
a bad idea.  I would want some way to prevent it, especially in a  
production environment.

Jim

--
Jim Fulton
Zope Corporation


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

Reply via email to