[Patches] [ python-Patches-664192 ] 661913: inconsistent error messages between string an unicod
SourceForge.net
noreply@sourceforge.net
Tue, 07 Jan 2003 21:27:35 -0800
Patches item #664192, was opened at 2003-01-08 00:27
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=664192&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Christopher Blunck (blunck2)
Assigned to: Nobody/Anonymous (nobody)
Summary: 661913: inconsistent error messages between string an unicod
Initial Comment:
'a'.index('b'): substring not found in index
u'a'.index('b'): substring not found (bah!)
same thing follows for rindex.
changed unicodeobject.c to return same error message as
what string returns.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=664192&group_id=5470