Guido van Rossum wrote: > > I'd like to add the optional argument support for strip and friends to > > 2.2.2. It solves a real problem, and is useful for people going forward > > (in the same way as the not-really-bool() code). > > Go ahead. Maybe Walter wants to help? (Walter: there's no > obligation, and I understand if you prefer not to learn about CVS > branches just yet. :-) I have not problems with branches, but I guess that those that do backports regularily have scripts that simplify the job. What's still missing is the version for unicode. Note that my patch http://www.python.org/sf/424606 works a little different: Here the argument is a complete word that should be stripped, not a collection of characters, i.e. your version: "oofoo".strip("foo") => "" my version: "oofoo".strip("foo") => "oo" -- Walter Dörwald · LivingLogic AG, Bayreuth/Germany · www.livinglogic.de
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4