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 ezio.melotti
Recipients Rosuav, ezio.melotti, loewis, vstinner
Date 2013-04-03.22:27:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365028044.43.0.395988592053.issue17629@psf.upfronthosting.co.za>
In-reply-to
Content
max(map(ord, s)) or your str_width(s) are not much more complicated than s.width(), just slower, so it's just a problem of performance.

len() is a much more common operation so it makes sense to have a fast built-in function.
History
Date User Action Args
2013-04-03 22:27:24ezio.melottisetrecipients: + ezio.melotti, loewis, vstinner, Rosuav
2013-04-03 22:27:24ezio.melottisetmessageid: <1365028044.43.0.395988592053.issue17629@psf.upfronthosting.co.za>
2013-04-03 22:27:24ezio.melottilinkissue17629 messages
2013-04-03 22:27:24ezio.melotticreate