[Python-Dev] __file__ and bytecode-only
solipsis at pitrou.net
Thu Mar 4 04:32:53 CET 2010
Le Thu, 04 Mar 2010 16:22:13 +1300,
Greg Ewing <greg.ewing at canterbury.ac.nz> a écrit :
> Glenn Linderman wrote:
> > In this scenario, the .pyc files would still live in __pycache__ ?
> > Complete with the foo.<token>.pyc naming ?
> It might be neater to have a separate cache directory
> for each bytecode version, named __cache.<token>__ or
> some such.
Actually, I find it neater to have a single cache directory. It makes
for much less clutter, and simpler ignore rules.
More information about the Python-Dev