Add a new option "-e" or "--embed-positions" to Pyrex.
authorWilliam Stein <wstein@gmail.com>
Wed, 25 Oct 2006 07:05:47 +0000 (02:05 -0500)
committerWilliam Stein <wstein@gmail.com>
Wed, 25 Oct 2006 07:05:47 +0000 (02:05 -0500)
commit5a4ef8d04c11e32110fd57e0962a63b7281480e6
tree305a94c141517e14d31d5cb47d2fc66cff256b2e
parent4eca3f1570563fd4344cda85f6dac9ec1ac13dda
Add a new option "-e" or "--embed-positions" to Pyrex.

  -p, --embed-positions          If specified, the positions in Pyrex files of each
                                 function definition is embedded in its docstring.

This is very useful to support interactive viewing of *Pyrex* source
code in, e.g, IPython.
Cython/Compiler/CmdLine.py
Cython/Compiler/Nodes.py
Cython/Compiler/Options.py