Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.replace() bug when subclassing unicode #37074

Closed
inyeol mannequin opened this issue Aug 23, 2002 · 2 comments
Closed

.replace() bug when subclassing unicode #37074

inyeol mannequin opened this issue Aug 23, 2002 · 2 comments
Assignees

Comments

@inyeol
Copy link
Mannequin

inyeol mannequin commented Aug 23, 2002

BPO 599128
Nosy @gvanrossum

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/gvanrossum'
closed_at = <Date 2002-08-23.18:50:38.000>
created_at = <Date 2002-08-23.08:26:13.000>
labels = ['expert-unicode']
title = '.replace() bug when subclassing unicode'
updated_at = <Date 2002-08-23.18:50:38.000>
user = 'https://bugs.python.org/inyeol'

bugs.python.org fields:

activity = <Date 2002-08-23.18:50:38.000>
actor = 'gvanrossum'
assignee = 'gvanrossum'
closed = True
closed_date = None
closer = None
components = ['Unicode']
creation = <Date 2002-08-23.08:26:13.000>
creator = 'inyeol'
dependencies = []
files = []
hgrepos = []
issue_num = 599128
keywords = []
message_count = 2.0
messages = ['12113', '12114']
nosy_count = 2.0
nosy_names = ['gvanrossum', 'inyeol']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue599128'
versions = ['Python 2.2']

@inyeol
Copy link
Mannequin Author

inyeol mannequin commented Aug 23, 2002

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)
u'__c'

-Inyeol Lee

@inyeol inyeol mannequin closed this as completed Aug 23, 2002
@inyeol inyeol mannequin assigned gvanrossum Aug 23, 2002
@inyeol inyeol mannequin added the topic-unicode label Aug 23, 2002
@inyeol inyeol mannequin closed this as completed Aug 23, 2002
@inyeol inyeol mannequin assigned gvanrossum Aug 23, 2002
@inyeol inyeol mannequin added the topic-unicode label Aug 23, 2002
@gvanrossum
Copy link
Member

Logged In: YES
user_id=6380

Fixed in 2.3. Marked as bugfix candidate for 2.2.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant