Author vstinner
Recipients barry, brett.cannon, christian.heimes, gvanrossum, lukasz.langa, methane, pitrou, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2017-11-16.01:49:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510796944.55.0.213398074469.issue31415@psf.upfronthosting.co.za>
In-reply-to
Content
FYI I'm working on the Py_Main() function in bpo-32030. My latest PR (PR 4412) moves the code to parse -X importtime and PYTHONPROFILEIMPORTTIME into Py_Main(), to group all functions parsing the command line arguments and environment variables.

With this change, the "importtime" option is now checked before the very first "Python" function call.

The new code doesn't use the sys module anymore to parse -X options, and so break the dependency between "importtime", the import machinery and the sys module.
History
Date User Action Args
2017-11-16 01:49:04vstinnersetrecipients: + vstinner, gvanrossum, barry, brett.cannon, rhettinger, terry.reedy, pitrou, christian.heimes, methane, lukasz.langa, serhiy.storchaka
2017-11-16 01:49:04vstinnersetmessageid: <1510796944.55.0.213398074469.issue31415@psf.upfronthosting.co.za>
2017-11-16 01:49:04vstinnerlinkissue31415 messages
2017-11-16 01:49:03vstinnercreate