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 Demur Rumed
Recipients Demur Rumed, Mark.Shannon, serhiy.storchaka
Date 2016-06-12.00:47:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
mkfu4 implements #27140. It doesn't special case 1-tuples into `BUILD_MAP 1`

It may be easier to have `BUILD_CONST_KEY_MAP 1` peepholed if it's really preferable to strength reduce

I'm also noticing that it could've been suggested to go to the extreme with BUILD_CONST_KEY_MAP where instead of relying on peepholer to constant fold tuple, we implement constant folding const keys entirely there. Just a random thought, not a suggestion or anything else
Date User Action Args
2016-06-12 00:47:46Demur Rumedsetrecipients: + Demur Rumed, Mark.Shannon, serhiy.storchaka
2016-06-12 00:47:45Demur Rumedsetmessageid: <>
2016-06-12 00:47:45Demur Rumedlinkissue27095 messages
2016-06-12 00:47:45Demur Rumedcreate