On Tue, 2 Mar 2010 11:41:52 am Barry Warsaw wrote: > After PEP 3147 is implemented, and the default, you'll have to > byte-compile the files, then find the pycs in the __pycache__ > directory, move them up a level and rename them. Then of course > remove the .py files. > > It's not insurmountable of course, I think if we support pyc-only > imports, people are rightly going to want us to write and support the > tool to create those imports.
Surely that's a job for a tiny Python script, or even a shell script? It doesn't sound hard, not from the description given. I imagine there will be recipes on ActiveState quite quickly, and if there isn't, that would be good evidence that demand for the feature is low. -- Steven D'Aprano _______________________________________________ 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