New submission from Brett Cannon:

2to3 isn't (ironically) translating lib2to3 so that it can run under Python 3:

File 
"/Users/bcannon/Developer/repo/benchmarks_py3k/lib/2to3/lib2to3/fixes/fix_operator.py",
 line 89, in _check_method
    method = getattr(self, "_" + results["method"][0].value.encode("ascii"))

Might need to let Python 3 use its stdlib copy of lib2to3. Otherwise will need 
to come up with a way to have two copies of a library, one for Python 2 and 
another for Python 3, and then copy the right thing. Maybe a lib3 directory 
that is only copied over by make_perf3.sh?

----------
assignee: collinwinter
components: Benchmarks
messages: 169587
nosy: brett.cannon, collinwinter, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: 2to3 benchmark not working under Python 3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15834>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to