On 8 September 2017 at 08:50, Neil Schemenauer <n...@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 | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com