[Python-ideas] Changing the name of __pycache__
Antoine Pitrou
solipsis at pitrou.net
Wed Feb 9 00:15:22 CET 2011
On Tue, 8 Feb 2011 14:47:37 -0800
Raymond Hettinger
<raymond.hettinger at gmail.com> wrote:
> It would be great if there was some way to change the name to .pycache so that it doesn't pollute directory listings.
>
> The dot-naming convention seems to be widely used (.bashrc, .emacs, .hgignore, etc.). Ideally, we should follow that convention also or at least provide a way to make the change locally (perhaps an environment variable).
The fact that pyc files were not named ".foo.pyc" hints that we
want them to be visible, IMO.
Also, I'm not sure how a single __pycache__ directory is worse than N
pyc files.
Regards
Antoine.
More information about the Python-ideas
mailing list