Race condition when generating .pyc files

yogamatt1970 at gmail.com yogamatt1970 at gmail.com
Tue Oct 7 12:54:54 EDT 2008


> If you package your apps using setup, pyc should be automatically
> generated. Don't know if it can apply to your problem. But surely I'd go
> this way (ie : automating pyc creation one way or another).

Yeah, I don't package up my code, it's all integrated into my build
system,
not an actual deliverable.

> Not having pyc means the modules will have to be recompiled on each
> import. Not sure this is what you want.
I realize that that would be slower, but I think it would avoid the
problem
I'm seeing because no host would actually be creating a .pyc file.
But is it even possible in Python 2.4?





More information about the Python-list mailing list