[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Forest Bond
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'/')

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
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

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Antoine Pitrou
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 ___

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
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]

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
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 ___

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Benjamin Peterson
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

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
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