[Python-Dev] #12982: Should -O be required to read .pyo files? (original) (raw)

Terry Reedy tjreedy at udel.edu
Wed Jun 13 22:06:22 CEST 2012


On 6/13/2012 2:46 PM, Antoine Pitrou wrote:

Not only docstrings, but also asserts. I think running a pyo without -O would be a bug.

That cat is already out of the bag ;-) People are doing that now by renaming x.pyo to x.pyc. Brett claims that it is also easy to do in 3.3 with a custom importer.

-- Terry Jan Reedy



More information about the Python-Dev mailing list