[issue3092] Wrong unicode size detection in pybench

2008-07-22 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Fixed in r65186 -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3092] Wrong unicode size detection in pybench

2008-06-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-06-28 21:33, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > >> You're right: probably not. Would be great to have the test on the >> Py2.x version as well - to see the difference in performance. >

[issue3092] Wrong unicode size detection in pybench

2008-06-28 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > You're right: probably not. Would be great to have the test on the > Py2.x version as well - to see the difference in performance. I'm not following you, what test are you talking about? The patch is only about reporting of the Python build

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-06-12 22:58, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > > Le jeudi 12 juin 2008 à 20:26 +, Marc-Andre Lemburg a écrit : >> Doesn't chr(10) raise an exception in UCS2 builds ? > > No, i

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > Which hopefully is the proper surrogate sequence :) Well at least that's what the doc string says! ___ Python tracker <[EMAIL PROTECTED]> __

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: > No, it returns a 2-character string. Which hopefully is the proper surrogate sequence :) -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> __

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Le jeudi 12 juin 2008 à 20:26 +, Marc-Andre Lemburg a écrit : > Doesn't chr(10) 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

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Marc-Andre Lemburg
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(10) raise an exception in UCS2

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Antoine Pitrou
New submission from Antoine Pitrou <[EMAIL PROTECTED]>: In py3k, pybench wrongly detects UCS2 builds as UCS4. Patch attached. -- components: Demos and Tools files: pybench_ucs.patch keywords: patch messages: 68076 nosy: pitrou severity: normal status: open title: Wrong unicode size detec