This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients barry, brett.cannon, christian.heimes, gvanrossum, lukasz.langa, methane, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2017-11-03.18:05:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509732303.61.0.213398074469.issue31415@psf.upfronthosting.co.za>
In-reply-to
Content
> I didn't think it's worth enough because import will be much slower than one dict lookup.

I agree. The main value of my patch is handling possible (but very unlike) errors. Implementing negative value caching adds not many lines to the existing code and additional error handling.

But now, after adding the environment variable, do we still need the -X option? From a user side I don't see much difference between specifying an option and an environment variable, but the code for handling the environment variable is much simpler.
History
Date User Action Args
2017-11-03 18:05:03serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, barry, brett.cannon, rhettinger, terry.reedy, vstinner, christian.heimes, methane, lukasz.langa
2017-11-03 18:05:03serhiy.storchakasetmessageid: <1509732303.61.0.213398074469.issue31415@psf.upfronthosting.co.za>
2017-11-03 18:05:03serhiy.storchakalinkissue31415 messages
2017-11-03 18:05:03serhiy.storchakacreate