[Patches] [ python-Patches-801847 ] Adding rsplit() to string and unicode objects.

SourceForge.net noreply at sourceforge.net
Sat Sep 6 18:52:56 EDT 2003


Patches item #801847, was opened at 2003-09-07 00:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=801847&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Sean Reifschneider (jafo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Adding rsplit() to string and unicode objects.

Initial Comment:
I'm attaching patches to the library and documentation

for implementing rsplit() on string and unicode

objects.  This works like split(), but working from the

right.



   ./python -c 'print u"foo, bar, baz".rsplit(None, 1)'

   [u'foo, bar,', u'baz']



This was supposed to be against the CVS code, but I've

had a heck of a time getting it checked out -- my

checkout has been hung for half an hour now.



The code patch is against the 2.3 release, the docs

patch is against the CVS.  My checkout got to docs, but

I didn't have the code to a point where I could build

and test it.



Sean

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=801847&group_id=5470



More information about the Patches mailing list