[issue3092] Wrong unicode size detection in pybench

Antoine Pitrou report at bugs.python.org
Thu Jun 12 22:58:16 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Le jeudi 12 juin 2008 à 20:26 +0000, Marc-Andre Lemburg a écrit :
> Doesn't chr(100000) raise an exception in UCS2 builds ?

No, it returns a 2-character string.

> Note that sys.maxunicode is not available in Python 2.1
> which is why I chose try-except approach.

I understand, but is the py3k version of pybench still
compatible with Python 2.1?

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3092>
_______________________________________


More information about the Python-bugs-list mailing list