[Patches] [ python-Patches-562501 ] Add isxxx() methods to string objects
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 07 Oct 2002 14:46:06 -0700
Patches item #562501, was opened at 2002-05-30 20:00
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=562501&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add isxxx() methods to string objects
Initial Comment:
Here's the patch for the isxxx methods. If it's up to
spec, let me know and I'll add documentation and
expand the unittests.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-07 23:46
Message:
Logged In: YES
user_id=21627
Raymond, any news on this? I like the idea.
----------------------------------------------------------------------
Comment By: Raymond Hettinger (rhettinger)
Date: 2002-06-30 21:58
Message:
Logged In: YES
user_id=80475
Unassigning this because I'm away for five weeks.
The equivalent Unicode operations are not as clearly
defined as they are for Ascii. Was researching what is done
in other programming languages.
Also, there was a py-dev discussion that suggested that
the function names be changed to something more clear
than their names in C.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-30 20:41
Message:
Logged In: YES
user_id=6380
Thanks!
But what about adding the same methods to Unicode objects? I
think that's the point of using methods -- supporting the
same operations for both string types.
Also, Paul Prescod wanted ishexdigit instead of isxdigit.
Not sure if I agree.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=562501&group_id=5470