[ python-Bugs-995422 ] title case bug

SourceForge.net noreply at sourceforge.net
Thu Jul 22 16:46:49 CEST 2004


Bugs item #995422, was opened at 2004-07-21 12:56
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=995422&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Kimo Johnson (mkimojohnson)
Assigned to: Nobody/Anonymous (nobody)
Summary: title case bug

Initial Comment:
>>> "I'll be seeing tom's friend".title()
"I'Ll Be Seeing Tom'S Friend"

I would expect:
"I'll Be Seeing Tom's Friend"


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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-07-22 09:46

Message:
Logged In: YES 
user_id=80475

MS Excel shows the exact same behavior.

IIRC, the reason is that the apostrophe is sometimes used as
a quotation mark and that the capitalization conventions
vary from language to language:  J'ai L'addition  etc.



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

Comment By: Baris Metin (tbmetin)
Date: 2004-07-22 02:22

Message:
Logged In: YES 
user_id=1045504

We have, the same kind of problem with non-asci characters. 
I've offered a solution in patch #995740 (fix for title case bug: 
#995422). 

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

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


More information about the Python-bugs-list mailing list