[Patches] [ python-Patches-636005 ] Filter unicode into unicode

noreply@sourceforge.net noreply@sourceforge.net
Mon, 11 Nov 2002 01:11:51 -0800


Patches item #636005, was opened at 2002-11-09 21:15
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=636005&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Filter unicode into unicode

Initial Comment:
Currently, filter(None, "abc") gives "abc", but
filter(None, u"abc") gives [u'a', u'b', u'c']. This
patches corrects this, adding a Unicode specical case
for filter.

----------------------------------------------------------------------

>Comment By: M.-A. Lemburg (lemburg)
Date: 2002-11-11 10:11

Message:
Logged In: YES 
user_id=38388

There's no patch attached to this SF item, but
you're right, filter() should behave in the same
way for 8-bit strings as for Unicode.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=636005&group_id=5470