[pypy-issue] [issue946] timeit-as-CLI does not accept import

Armin Rigo tracker at bugs.pypy.org
Wed Nov 30 11:49:49 CET 2011


Armin Rigo <armin.rigo at gmail.com> added the comment:

Works for me.  Can you explain more?  A priori it looks like the quoting did not
work, and the last line is interpreted as:

    pypy-c -mtimeit -s import random 'random.random()'

instead of

    pypy-c -mtimeit -s 'import random' 'random.random()'

Are you sure pypy-c isn't a script that you wrote, in which you pass all
arguments to the real pypy-c executable forgetting quoting issues?

----------
nosy: +arigo
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue946>
________________________________________


More information about the pypy-issue mailing list