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 ezio.melotti, gvanrossum, pitrou, serhiy.storchaka
Date 2013-02-09.20:22:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360441368.33.0.623815786225.issue17170@psf.upfronthosting.co.za>
In-reply-to
Content
And PyArg_ParseTupleAndKeywords() is even more slow.

$ ./python -m timeit "str(b'', 'utf-8', 'strict')"
1000000 loops, best of 3: 0.554 usec per loop
$ ./python -m timeit "str(object=b'', encoding='utf-8', errors='strict')"
1000000 loops, best of 3: 1.74 usec per loop
History
Date User Action Args
2013-02-09 20:22:48serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, pitrou, ezio.melotti
2013-02-09 20:22:48serhiy.storchakasetmessageid: <1360441368.33.0.623815786225.issue17170@psf.upfronthosting.co.za>
2013-02-09 20:22:48serhiy.storchakalinkissue17170 messages
2013-02-09 20:22:48serhiy.storchakacreate