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, eric.smith, mjpieters, serhiy.storchaka, ztane
Date 2016-07-13.15:47:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468424876.09.0.279179862176.issue27078@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not understanding your message. We don't call FORMAT_VALUE on constant strings in f"x is {x}" & FORMAT_VALUE doesn't take an argument. Are you saying in a hypothetical FORMAT_VALUE where BUILD_STRING takes a set of objects & applies formatting to them, thus allowing us to remove FORMAT_VALUE as an opcode? That seems like I'm imposing my own internal thoughts on what you're saying, but when I don't understand what someone's saying I'm prone to raise my own imaginations. Also note that f'{x}' compiles to 'LOAD X, FORMAT_VALUE' so there is no join lookup in the last benchmarks I posted

Nitpick about fstrtup2: it assumes compiler_joined_str's len is at least 2. Either an assert should be added or the last if-else should be `else if (len == 1)` instead of a plain `else`
History
Date User Action Args
2016-07-13 15:47:56Demur Rumedsetrecipients: + Demur Rumed, mjpieters, eric.smith, serhiy.storchaka, ztane
2016-07-13 15:47:56Demur Rumedsetmessageid: <1468424876.09.0.279179862176.issue27078@psf.upfronthosting.co.za>
2016-07-13 15:47:56Demur Rumedlinkissue27078 messages
2016-07-13 15:47:56Demur Rumedcreate