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.

Title: .replace() bug when subclassing unicode
Type: Stage:
Components: Unicode Versions: Python 2.2
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, inyeol
Priority: normal Keywords:

Created on 2002-08-23 08:26 by inyeol, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg12113 - (view) Author: Inyeol Lee (inyeol) Date: 2002-08-23 08:26
Python 2.2.1 (#1, Apr 10 2002, 18:25:16) 
[GCC 2.95.3 20010315 (release)] on sunos5

>>> class U(unicode): pass
>>> U(u'abc').replace('ab', '__', 0)

-Inyeol Lee
msg12114 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-08-23 18:50
Logged In: YES 

Fixed in 2.3. Marked as bugfix candidate for 2.2.
Date User Action Args
2022-04-10 16:05:36adminsetgithub: 37074
2002-08-23 08:26:13inyeolcreate