Message27154
Logged In: YES
user_id=55188
Python documentation says that it splits in "whitespace
characters" not "breaking characters". So, current
behavior is correct according to the documentation. And
even rationale among string methods are heavily depends on
ctype functions on libc. Therefore, we can't serve special
treatment for the NBSP.
However, I feel the need for the splitting function that
awares what character is breaking or not. How about to add
it as unicodedata.split()? |
|
Date |
User |
Action |
Args |
2007-08-23 14:36:58 | admin | link | issue1390608 messages |
2007-08-23 14:36:58 | admin | create | |
|