#229 125 - No more automagic Python bytecompilation
Merged 5 years ago by pbokoc. Opened 5 years ago by pbokoc.
fedora-docs/ pbokoc/release-notes f29  into  f29

@@ -3,3 +3,14 @@ 

  

  [[sect-python]]

  = Python

+ 

+ == No more automagic Python bytecompilation

+ 

+ The current way of automatic *Python* byte-compiling of files outside Python-specific directories is too magical and error-prone.

+ It is built on heuristics that are increasingly wrong.

+ This change provides a way to opt out of it, and adjusts the guidelines to prefer explicit bytecompilation of such files. 

+ Later, the old behavior will either become opt-in only, or cease to exist.

+ 

+ Note that bytecompilation in Python-specific directories (e.g. [filename]`/usr/lib/python3.6/`) is not affected.

+ 

+ See the link:++https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation++[Fedora Wiki change page] for detailed documentation.

Pull-Request has been merged by pbokoc

5 years ago