This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: unidiomatic str.replace
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, gaul, loewis
Priority: normal Keywords: patch

Created on 2004-03-23 23:44 by gaul, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
trivial.patch gaul, 2004-03-23 23:44 remove unidiomatic code
Messages (3)
msg45646 - (view) Author: Andrew Gaul (gaul) Date: 2004-03-23 23:44
Some code in the standard library is using s =
'a'.join(s.split('b')) instead of s = s.replace('a', 'b').
msg45647 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-03-24 13:56
Logged In: YES 
user_id=21627

Please submit unified or context diffs in the future.
msg45648 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2004-03-24 14:07
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).
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40071
2004-03-23 23:44:19gaulcreate