[Python-Dev] __str__ and unicode
Barry Warsaw
barry at python.org
Wed Dec 6 16:06:30 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Dec 6, 2006, at 9:15 AM, Michael Urman wrote:
>> I don't have anything older than 2.4 laying around either, but IIRC
>> in 2.3 unicode() did not call __unicode__().
>
> It turns out __unicode__() is called on Python 2.3.5.
Ah cool, thanks. I must be misremembering that about some earlier
Python.
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBRXbcenEjvBPtnXfVAQIZWAP/aRXJ1Rq0eMVWhYOYvP6Wdy2v5DCj0Arl
yS3n0RURWJj5i+zYtqQUBIJEOcFSLJ69cb1SWl/KTvedI4y0SBQknX0o8EJaYhSU
h1Y2gL2X+QnvJxlCf7PCdm2C1jYQgwAmKuebjCwaMPJYBqW9Z27+oSTsyFFM/mPR
2qx++VsRw68=
=ABvs
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list