[Python-Dev] pycache creation (original) (raw)
Ron Adam rrr at ronadam.com
Wed Mar 24 17:46:28 CET 2010
- Previous message: [Python-Dev] __pycache__ creation
- Next message: [Python-Dev] __pycache__ creation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
Ron Adam wrote:
I think I misunderstood this at first.
It looks like, while developing a python 3.2+ program, if you don't create an empty pycache directory, everything will still work, you just won't get the .pyc files. That can be a good thing during development because you also will not have any problems with old .pyc files hanging around if you move or rename files. The behaviour you described (not creating pycache automatically) was just a suggestion in this thread. The behaviour in the actual PEP (and what will be implemented for 3.2+) is to create pycache if it is missing. Cheers, Nick.
OK :-)
hmmmm... unless there is a pycache file located there first. ;-)
Not that I can think of any good reason to do that at this moment.
Ron
- Previous message: [Python-Dev] __pycache__ creation
- Next message: [Python-Dev] __pycache__ creation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]