[Cython] [cython-users] Cython .pxd introspection: listing defined constants
robertwb at math.washington.edu
Thu Mar 3 03:08:12 CET 2011
On Wed, Mar 2, 2011 at 5:54 PM, W. Trevor King <wking at drexel.edu> wrote:
> Previous discussions in this thread [1,2] have discussed the issues
> associated with overloading the 'public' keyword. For an example of
> the difficulties this causes, see the ugly workaround  in my recent
> commit . Definately worth fixing this syntax.
> How do syntax changes with deprecations work? The Parsing module
> doesn't seem to be setup to handle things like that.
We rarely deprecate syntax, and we should at least give people a
chance to move away from the old syntax first to the new first, so
we'll have to support both for a bit at least. When we do deprecate
the old way of doing things, I think we'll just use
In the long run it'd be nice to have a formal grammar for Cython and
use a generated parser rather than maintaining this all by hand, but
Parsing.py does more than just parsing at the moment.
>  http://mail.python.org/pipermail/cython-devel/2011-February/000081.html
>  http://mail.python.org/pipermail/cython-devel/2011-February/000086.html
>  https://github.com/wking/cython/commit/a918d1466928ea712817df18c3bc66d9c4c5c53f#L1R2552
>  https://github.com/wking/cython/commit/a918d1466928ea712817df18c3bc66d9c4c5c53f
> This email may be signed or encrypted with GPG (http://www.gnupg.org).
> The GPG signature (if present) will be attached as 'signature.asc'.
> For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
> My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
> cython-devel mailing list
> cython-devel at python.org
More information about the cython-devel