"cython -v" behaves unexpectedly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cython |
Fix Committed
|
Undecided
|
robertwb |
Bug Description
Oddly, you need to have cython code around to find out what version of the compiler is installed:
$ cython -v
Cython (http://
Cython language. Cython is based on Pyrex by Greg Ewing.
Usage: cython [options] sourcefile.pyx ...
Options:
-v, --version Display version number of cython compiler
-l, --create-listing Write error messages to a listing file
...
$
Now, if you try it with a nonexistant file, you get this:
$ cython -v foo.pyx
Cython version 0.9.6.10b
Traceback (most recent call last):
File "/users/
main(
File "/users/
...
$
One would expect
cython -v
to simply print the version and exit.
Thanks. Fortunately, this was an easy fix.