Message 68082 - Python tracker
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.