A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048753.html below:

[Python-Dev] unicode inconsistency?

[Python-Dev] unicode inconsistency? [Python-Dev] unicode inconsistency?Neil Schemenauer nas at arctrix.com
Thu Sep 9 22:01:07 CEST 2004
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 PyObject_Str(), PyObject_Unicode() is happy to
> accept a unicode result as-is from a tp_str implementation).

No, it would not "work" the way I want.  I don't want to force
things to unicode strings unless necessary.

  Neil
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4