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 vstinner
Recipients abarnert, benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, serhiy.storchaka, vstinner, yselivanov
Date 2016-02-05.22:40:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwaxbASzwmRGAHLVtVu__vc3hDQnqw7g0M5a0bnpo8wn1g@mail.gmail.com>
In-reply-to <1454711733.57.0.861174210962.issue26297@psf.upfronthosting.co.za>
Content
Yury Selivanov added the comment:
> In fact I'm -1 on using any kind of flag to trigger optimizations on or off.  Those flags will only drive confusion.  If the optimizations are any good, people will simply start using the flag all the time.

Yeah, Guido calls this a missed optimization opportunity.

My only concern is:

> ast.Constant for tuples and frozensets has a limitation: it doesn't store the location of items (line number, column offset).

Is it a problem in practice? I didn't have time to investigate this.

Since the PEP 511 is still under discussion, I prefer to focus on the
PEP itself than this specific implementation detail ;-)
History
Date User Action Args
2016-02-05 22:40:22vstinnersetrecipients: + vstinner, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, serhiy.storchaka, yselivanov, abarnert
2016-02-05 22:40:22vstinnerlinkissue26297 messages
2016-02-05 22:40:22vstinnercreate