Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment:

On 2008-06-12 21:50, Antoine Pitrou wrote:
> New submission from Antoine Pitrou <[EMAIL PROTECTED]>:
> 
> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3092>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to