[Patches] [ python-Patches-922117 ] unidiomatic str.replace
SourceForge.net
noreply at sourceforge.net
Wed Mar 24 09:07:01 EST 2004
Patches item #922117, was opened at 2004-03-23 15:44
Message generated for change (Comment added) made by bcannon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=922117&group_id=5470
>Category: Library (Lib)
>Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Andrew Gaul (gaul)
Assigned to: Brett Cannon (bcannon)
Summary: unidiomatic str.replace
Initial Comment:
Some code in the standard library is using s =
'a'.join(s.split('b')) instead of s = s.replace('a', 'b').
----------------------------------------------------------------------
>Comment By: Brett Cannon (bcannon)
Date: 2004-03-24 06:07
Message:
Logged In: YES
user_id=357491
Applied (don't have the rev. #s since SF went read-only when I first
submitted this and then I lost the page I had with all of this filled out).
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2004-03-24 05:56
Message:
Logged In: YES
user_id=21627
Please submit unified or context diffs in the future.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=922117&group_id=5470
More information about the Patches
mailing list