New submission from Dave Mankoff <[email protected]>:
Title pretty much says it all. Simple test case:
>>> len(u' \t\r\n\u200B'.strip())
1
Should be zero.
Same problem in Python3:
>>> len(' \t\r\n\u200B'.strip())
1
----------
components: Unicode
messages: 147538
nosy: ezio.melotti, mankyd
priority: normal
severity: normal
status: open
title: string.strip Does Not Remove Zero-Width-Space (ZWSP)
type: behavior
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13391>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com