A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-September/149378.html below:

[Python-Dev] Lazy initialization of module global state

[Python-Dev] Lazy initialization of module global state [Python-Dev] Lazy initialization of module global stateNick Coghlan ncoghlan at gmail.com
Fri Sep 8 13:07:10 EDT 2017
On 8 September 2017 at 08:50, Neil Schemenauer <neil at python.ca> wrote:
> This should be pretty safe to do and should give a significant
> benefit in startup time and memory usage.

And given the extended pyc header being proposed in PEP 552, we'd be
able to include flags in the header to indicate that the pyc file was
compiled with this alternative behaviour. While that wouldn't be
needed for import, it would be useful for anyone trying to confirm
that the pyc file actually matches the corresponding source file.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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