[Python-Dev] file (original) (raw)

Brett Cannon brett at python.org
Tue Mar 2 21:06:53 CET 2010


On Tue, Mar 2, 2010 at 02:06, Steven D'Aprano <steve at pearwood.info> wrote:

On Tue, 2 Mar 2010 11:59:55 am Barry Warsaw wrote: > Thanks everybody for providing great input on this aspect of the PEP. > I've updated the open issues section to include a list of the > possible resolutions for bytecode-only imports. Unless anybody has > more ideas, it might just be time to get a BDFL pronouncement.

Please excuse me if these minor points have already been discussed, but I couldn't see them in the PEP. (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. (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. BTW, you have some sort of automated warning in the PEP: System Message: WARNING/2 (pep-3147.txt, line 237) Title underline too short. http://www.python.org/dev/peps/pep-3147/#id47

It's now fixed. Barry forgot to run the Makefile for the PEPs before checking in. Shame! =)

-Brett

-- Steven D'Aprano


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100302/7de93ac8/attachment-0001.html>



More information about the Python-Dev mailing list