[Python-Dev] file (original) (raw)
Barry Warsaw barry at python.org
Thu Mar 4 00:04:51 CET 2010
- Previous message: [Python-Dev] __file__
- Next message: [Python-Dev] Breaking bytecode only imports (was Re: __file__)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mar 02, 2010, at 09:06 PM, Steven D'Aprano wrote:
(1) What happens if the cache directory doesn't exist and the enclosing directory is unwriteable, or if it does exist, but is unreadable?
I expect that the byte code files will simply not be created, and everything will continue without them.
s/cache/pycache
but yes, just as it does today.
(2) Presumably this only effects imports, not running python source code as a script. If I do this:
python myscript.py from the shell, I would expect that no cache directory will be created, just like today.
Correct.
-Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20100303/d449cb49/attachment.pgp>
- Previous message: [Python-Dev] __file__
- Next message: [Python-Dev] Breaking bytecode only imports (was Re: __file__)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]