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 Rosuav
Recipients Rosuav
Date 2013-04-03.21:56:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365026195.46.0.466209504562.issue17629@psf.upfronthosting.co.za>
In-reply-to
Content
And of course, I make a copy/paste error in a trivial piece of example code.

def str_width(s):
  width=1
  for ch in map(ord,s):
    if ch > 0xFFFF: return 4
    if ch > 0xFF: width=2
  return width
History
Date User Action Args
2013-04-03 21:56:35Rosuavsetrecipients: + Rosuav
2013-04-03 21:56:35Rosuavsetmessageid: <1365026195.46.0.466209504562.issue17629@psf.upfronthosting.co.za>
2013-04-03 21:56:35Rosuavlinkissue17629 messages
2013-04-03 21:56:35Rosuavcreate