[issue3092] Wrong unicode size detection in pybench
Marc-Andre Lemburg
report at bugs.python.org
Thu Jun 12 22:26:51 CEST 2008
Marc-Andre Lemburg <mal at egenix.com> added the comment:
On 2008-06-12 21:50, Antoine Pitrou wrote:
> New submission from Antoine Pitrou <pitrou at free.fr>:
>
> In py3k, pybench wrongly detects UCS2 builds as UCS4. Patch attached.
Why is that ?
Doesn't chr(100000) raise an exception in UCS2 builds ?
unichr(100000) does raise an exception in Py2.x.
Note that sys.maxunicode is not available in Python 2.1
which is why I chose try-except approach.
----------
nosy: +lemburg
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3092>
_______________________________________
More information about the Python-bugs-list
mailing list