2to3 used in the Shootout
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Tue Dec 23 14:51:15 EST 2008
More information about the Python-list mailing list
Tue Dec 23 14:51:15 EST 2008
- Previous message (by thread): Symposium “Visualization and Human-Computer” within the IRF’2009 Conference – Announce & Call for Papers
- Next message (by thread): 2to3 used in the Shootout
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
They have translated the Python benchmarks of the Shootout site from Py2 to Py3 using 2to3: http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=python3 It shows some "performance bugs" of Python3 itself (especially regarding the binary-trees benchmark, that was unexpected by me), and two points where 2to3 may be improved, for example after the translation this gives error: table=string.maketrans('ACBDGHK\nMNSRUTWVYacbdghkmnsrutwvy', 'TGVHCDM \nKNSYAAWBRTGVHCDMKNSYAAWBR')): Gives: TypeError: maketrans arguments must be bytes objects Bye, bearophile
- Previous message (by thread): Symposium “Visualization and Human-Computer” within the IRF’2009 Conference – Announce & Call for Papers
- Next message (by thread): 2to3 used in the Shootout
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list