[Python-bugs-list] [ python-Bugs-422088 ] string.replace()

noreply@sourceforge.net noreply@sourceforge.net
Mon, 07 May 2001 11:25:13 -0700


Bugs item #422088, was updated on 2001-05-07 11:25
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=422088&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Casado (martin_casado)
Assigned to: Nobody/Anonymous (nobody)
Summary: string.replace()

Initial Comment:
>>> import sys
>>> sys.version
'2.0c1 (#7, Jan 24 2001, 15:36:12) [C]'
>>> s = "123"
>>> s.replace("123","")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
MemoryError
>>> os.uname()
('OSF1', 'xxx', 'V4.0', '1229', 'alpha')
>>> 


I haven't tried it with anything newer, perhaps this
bug
has already been posted and/or fixed, though I couldn't
find it in the buglist

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=422088&group_id=5470