[Python-Dev] benchmarks: Pathlib works under Python 3.

Antoine Pitrou solipsis at pitrou.net
Fri Aug 31 18:49:58 CEST 2012


On Fri, 31 Aug 2012 17:52:38 +0200 (CEST)
brett.cannon <python-checkins at python.org> wrote:
> http://hg.python.org/benchmarks/rev/873baf08045e
> changeset:   162:873baf08045e
> user:        Brett Cannon <brett at python.org>
> date:        Fri Aug 31 11:52:30 2012 -0400
> summary:
>   Pathlib works under Python 3.

... but therefore you shouldn't run it under 2to3 (which may pessimize
the code).  Benchmarks with a 3.x-compatible code base are listed under
the "2n3" meta-benchmark name in perf.py:

http://hg.python.org/benchmarks/file/873baf08045e/perf.py#l2000

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net




More information about the Python-Dev mailing list