Re: [Cython] [cython-users] Cython .pxd introspection: listing defined constants

2011-02-25 Thread Robert Bradshaw
On Tue, Feb 22, 2011 at 12:02 PM, W. Trevor King wrote: > On Tue, Feb 22, 2011 at 08:18:21PM +0100, Stefan Behnel wrote: >> W. Trevor King, 22.02.2011 18:55: >> > I've been working on a more explicit parser that removes the ambiguity >> > behind the various visibilities.  This will help me ensure

Re: [Cython] [cython-users] Cython .pxd introspection: listing defined constants

2011-02-25 Thread Stefan Behnel
W. Trevor King, 22.02.2011 21:02: On Tue, Feb 22, 2011 at 08:18:21PM +0100, Stefan Behnel wrote: I also doubt that Cython allows you to call an attribute "cdef", you'll need to change that. It seems to work for me: >>> import Cython.Compiler.Parsing as P >>> P.__file__ 'Cython/Compi