[Python-Dev] #12982: Should -O be required to read .pyo files? (original) (raw)
Steven D'Aprano steve at pearwood.info
Thu Jun 14 05:15:42 CEST 2012
- Previous message: [Python-Dev] #12982: Should -O be required to *read* .pyo files?
- Next message: [Python-Dev] #12982: Should -O be required to *read* .pyo files?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jun 13, 2012 at 04:06:22PM -0400, Terry Reedy wrote:
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.
That's fine. Both steps require an overt, deliberate act, and so is under the control of (and the responsibilty of) the developer. It's not something that could happen innocently by accident.
-- Steven
- Previous message: [Python-Dev] #12982: Should -O be required to *read* .pyo files?
- Next message: [Python-Dev] #12982: Should -O be required to *read* .pyo files?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]