[pypy-issue] Issue #1923: py3.3 branch - timeit fails, time.perf_counter missing. (pypy/pypy)

Stian Andreassen issues-reply at bitbucket.org
Tue Nov 11 12:54:21 CET 2014


New issue 1923: py3.3 branch - timeit fails, time.perf_counter missing.
https://bitbucket.org/pypy/pypy/issue/1923/py33-branch-timeit-fails-timeperf_counter

Stian Andreassen:


```
#!python

pypy3.3 -m timeit
Traceback (most recent call last):
  File "/home/stian/pypy/lib-python/3/runpy.py", line 160, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/stian/pypy/lib-python/3/runpy.py", line 73, in _run_code
    exec(code, run_globals)
  File "/home/stian/pypy/lib-python/3/timeit.py", line 70, in <module>
    default_timer = time.perf_counter
AttributeError: 'module' object has no attribute 'perf_counter'

```
Work in latest released pypy and pypy3, but broken in latest build of py3.3. This is due to time.perf_counter missing.




More information about the pypy-issue mailing list