A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2012-June/120200.html below:

[Python-Dev] #12982: Should -O be required to *read* .pyo files?

[Python-Dev] #12982: Should -O be required to *read* .pyo files? [Python-Dev] #12982: Should -O be required to *read* .pyo files?Steven D'Aprano steve at pearwood.info
Thu Jun 14 05:15:42 CEST 2012
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4