New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternate name for __pycache__ #55363
Comments
It would be great if the "__pycache__" name could be set by an environment variable. I would like to rename it to ".pycache" so that it doesn't pollute my directory listings. |
Hmm. That's problematic. How would that interact with a system Python that is already looking in __pycache__ for its pyc files? Would it suddenly start ignoring those and wanting to write them to .pycache? IIRC we thought about something like this during the PEP discussions and Guido nixed it. -1 |
On Wed, 2011-02-09 at 16:41 +0000, Barry A. Warsaw wrote:
FWIW, the closest I could find was this mail:
(FWIW, I wish we'd gone for .pycache too, but I guess it's too late to change now) |
I agree with barry's argument and also with Marc-André's argument on python-ideas. Your directories are far cleaner than before with pyc files all around, so what is the problem exactly? |
That makes sense. Making it configurable would lose some of the benefits. What we could do though, before 3.2 goes out, is change the name to ".pycache" to follow the dot-file naming convention and avoid cluttering directory listings. |
I just saw a post from Guido saying that he doesn't want the directory to be invisible. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: