New submission from Forest Bond [EMAIL PROTECTED]:
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type help, copyright, credits or license for more information.
u'/foo/bar'.rpartition(u'/')
(u'/foo', u'/', u'bar')
'/foo/bar'.rpartition(u'/')
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
It's not failing, it's simply calling unicode.partition instead of
unicode.rpartition!
--
keywords: +patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file11331/rpartition.patch
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Adding a few tests wouldn't hurt :)
--
nosy: +pitrou
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3751
___
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Updated patch, with tests.
This is a 2.5 backport candidate.
--
keywords: +needs review
Added file: http://bugs.python.org/file11336/rpartition.patch
___
Python tracker [EMAIL PROTECTED]
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11331/rpartition.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3751
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Go ahead with the patch and backporting; it looks fine to me.
--
keywords: -needs review
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3751
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Committed r66119 (trunk) and r66121 (python2.5)
Thanks for the report!
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3751