pyc
files have been the cause of grief in the past and I have just recently seen a few posts about preventing python from generating them. Currently we just run a script to clean them up after any code changes to ensure fresh ones get generated but it would be much easier to just disable them in general. Is there any side effects to disabling them in our production environment that maybe I am not aware of? What are the downsides of doing this?
The only real issue we experience is occasionally the files get out of date causing import errors and is difficult to debug after a massive refactor. Once realizing it is a pyc problem it is an easy enough fix, just run the script but that realization could come 30 minutes down the road of debugging.