[issue4810] timeit needs official '--' flag

2010-08-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Usually I would say that this is common UNIX knowledge, except that timeit is also used in Windows environments. Also, the timeit help is already quite thorough, so it can't hurt to mention --. Done in r83396. -- nosy: +georg.brandl

[issue4810] timeit needs official '--' flag

2010-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This -- trick is implemented by the getopt module. OTOH on my system, 'grep' also recognizes this, and I could not find any documentation about it, neither with grep --help nor man grep. -- nosy: +amaury.forgeotdarc

[issue4810] timeit needs official '--' flag

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4810 ___ ___ Python-bugs-list

[issue4810] timeit needs official '--' flag

2009-01-02 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: Consider this timeit run: % python -m timeit '-1.0e-3 -0.0001 1.0e-3' option -1 not recognized use -h/--help for command line help As it turns out this works: % python -m timeit -- '-1.0e-3 -0.0001 1.0e-3' 1000