[Python-Dev] pycache creation (original) (raw)
R. David Murray rdmurray at bitdance.com
Mon Mar 22 22:39:26 CET 2010
- Previous message: [Python-Dev] __pycache__ creation
- Next message: [Python-Dev] __pycache__ creation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 22 Mar 2010 18:15:01 -0000, Antoine Pitrou <solipsis at pitrou.net> wrote:
Isaac Morland <ijmorlan uwaterloo.ca> writes: > > > IMO, all these issues militate for putting pycache creation out of > > the interpreter core, and in the hands of third-party package-time/ > > install-time tools (or distutils). > > Speaking only for myself, but really for anybody who likes tidy source > directories, I hope some version of the pycache proposal becomes part > of standard Python, by which I ideally mean it's enabled by default but if > that is just not a good idea then at most it should be required to set a > command-line option to get this feature.
This doesn't contradict by my proposal. What I am proposing is that the creation of pycache /directories/ be put outside of the core. It can be part of distutils, or of a separate module, or delegated to third-party tools. It could even be as simple as "python -m compileall --pycache", if someone implements it.
Or even as simple as 'mkdir pycache', if you are working in your own library and don't want .pyc clutter.
-- R. David Murray www.bitdance.com
- Previous message: [Python-Dev] __pycache__ creation
- Next message: [Python-Dev] __pycache__ creation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]