[Python-bugs-list] [ python-Bugs-824947 ] strip on chr(0x1f)
different with unicode
SourceForge.net
noreply at sourceforge.net
Thu Oct 16 12:37:27 EDT 2003
Bugs item #824947, was opened at 2003-10-16 12:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=824947&group_id=5470
Category: Unicode
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas B Hickey (thomasbhickey)
Assigned to: M.-A. Lemburg (lemburg)
Summary: strip on chr(0x1f) different with unicode
Initial Comment:
chr(0x1f) gets stripped from Unicode strings, but not
from regular strings. I don't believe either should strip
it.
Python 2.3.1 (#47, Sep 23 2003, 23:47:32) [MSC
v.1200 32 bit (Intel)] on win32
>>> sd = chr(0x1f)
>>> sd.strip()
'\x1f'
>>> unicode(sd).strip()
u''
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=824947&group_id=5470
More information about the Python-bugs-list
mailing list