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 loewis, mark.dickinson, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2012-05-13.21:18:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336943907.11.0.590889851787.issue14744@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to me that the proposed changes are too tricky and too dirty for such a modest gain. It seems to me, this effect can be achieved easier (special-casing "%s" and "{}" to return str(arg)?).

If you want to get really impressive results, try to compile a pattern into an optimized internal representation and cache it (as in the struct module). This completely different approach may work.
History
Date User Action Args
2012-05-13 21:18:27serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, mark.dickinson, pitrou, vstinner, python-dev
2012-05-13 21:18:27serhiy.storchakasetmessageid: <1336943907.11.0.590889851787.issue14744@psf.upfronthosting.co.za>
2012-05-13 21:18:26serhiy.storchakalinkissue14744 messages
2012-05-13 21:18:26serhiy.storchakacreate