On Mar 22, 2010, at 02:02 PM, Ron Adam wrote: >If I understand correctly, we would have the current mode as the default, and >can trigger __pycache__ behavior simply by manually creating a __pycache__ >directory and deleting any byte-code files in the module/program directory. > >I like this, it is easy to understand and can be used without messing with >flags or environment variables.
Well, for a package with subpackages, it gets more complicated. Definitely not something you're likely to do manually. Antoine's suggestion of 'python -m compileall --pycache' would work, but I think it's also obscure enough that most Python users won't get the benefit. -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com