[Python-Dev] unicode inconsistency? (original) (raw)
Neil Schemenauer nas at arctrix.com
Thu Sep 9 22:01:07 CEST 2004
- Previous message: [Python-Dev] unicode inconsistency?
- Next message: [Python-Dev] unicode inconsistency?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Sep 09, 2004 at 03:28:39PM -0400, Tim Peters wrote:
> '%u' % u'\u1234' > '%u' % A()
That's the intent, yes. Neil's original example would also "work" then (because unlike PyObjectStr(), PyObjectUnicode() is happy to accept a unicode result as-is from a tpstr implementation).
No, it would not "work" the way I want. I don't want to force things to unicode strings unless necessary.
Neil
- Previous message: [Python-Dev] unicode inconsistency?
- Next message: [Python-Dev] unicode inconsistency?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]