This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients lemburg, pitrou
Date 2008-06-12.20:26:50
SpamBayes Score 0.0047857566
Marked as misclassified No
Message-id <48518689.3050107@egenix.com>
In-reply-to <1213300200.75.0.77296570553.issue3092@psf.upfronthosting.co.za>
Content
On 2008-06-12 21:50, Antoine Pitrou wrote:
> New submission from Antoine Pitrou <pitrou@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.
History
Date User Action Args
2008-06-12 20:26:51lemburgsetspambayes_score: 0.00478576 -> 0.0047857566
recipients: + lemburg, pitrou
2008-06-12 20:26:50lemburglinkissue3092 messages
2008-06-12 20:26:50lemburgcreate