Bug#476607: python2.5: title() method gives incorrect result on contractions

2008-04-17 Thread Eric Cooper
I realized after I reported this that there's probably no good solution, since "I'm".title() should be "I'm", but "O'Leary".title() should be "O'Leary". So unless title() understands English, it can't do the right thing. -- Eric Cooper e c c @ c m u . e d u -- To UNSUBSCRIBE, emai

Bug#476607: python2.5: title() method gives incorrect result on contractions

2008-04-17 Thread Eric Cooper
Package: python2.5 Version: 2.5.2-2 Severity: normal The title() method capitalizes letters within a word when they follow an apostrophe: >>> "i don't know".title() "I Don'T Know" >>> This is present in python2.4 as well. -- System Information: Debian Release: lenny/sid APT prefers