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 serhiy.storchaka, smejkar
Date 2017-06-20.16:54:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497977674.55.0.794341516225.issue30710@psf.upfronthosting.co.za>
In-reply-to
Content
Now I understand your idea. It looks reasonable to me. Could you create a pull request on GitHub? Please provide also tests, add a Misc/NEWS entry and add your name in Misc/ACKS.

But how large is the performance hit of this change? It adds at least one additional memory allocation for the str object. If the slowdown is significant perhaps it is worth to keep the old code as a fast path.
History
Date User Action Args
2017-06-20 16:54:34serhiy.storchakasetrecipients: + serhiy.storchaka, smejkar
2017-06-20 16:54:34serhiy.storchakasetmessageid: <1497977674.55.0.794341516225.issue30710@psf.upfronthosting.co.za>
2017-06-20 16:54:34serhiy.storchakalinkissue30710 messages
2017-06-20 16:54:34serhiy.storchakacreate