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 gvanrossum
Recipients brett.cannon, gvanrossum, methane, rhettinger, serhiy.storchaka
Date 2017-09-24.22:25:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506291949.58.0.765531849439.issue31415@psf.upfronthosting.co.za>
In-reply-to
Content
@rhettinger
> Guido, is this something you want?

I think it is useful given how much debate there has been around startup time in various contexts (not just pure interpreter startup time but also startup time when using specific libraries, packages or applications).

> Historically, we've shown a lot of restraint when it comes to adding
> command-line options.

But this is hardly a new command-line option; -X already exists. I think it's reasonable to add it here.

> Also, I'm not sure we want to induce people to start moving their imports
> inside function calls. [...]

That's a big leap from collecting the data to suggesting a specific solution. I don't think that making it harder to get the data really is the right approach to discouraging a debatable practice (plus, there are many situations where the practice *is* useful -- just as there are many situations where it's counterproductive). Consenting adults.
History
Date User Action Args
2017-09-24 22:25:49gvanrossumsetrecipients: + gvanrossum, brett.cannon, rhettinger, methane, serhiy.storchaka
2017-09-24 22:25:49gvanrossumsetmessageid: <1506291949.58.0.765531849439.issue31415@psf.upfronthosting.co.za>
2017-09-24 22:25:49gvanrossumlinkissue31415 messages
2017-09-24 22:25:49gvanrossumcreate