Re: [Cython] Minor bug: emitted junk line prevents compilation

2013-03-16 Thread Nikita Nemkin
On Sun, 17 Mar 2013 02:59:12 +0600, Stefan Behnel wrote: In case you are interested in how to hit this line, declare in some .pxd: cdef extern from "Python.h": ctypedef class __builtin__.BaseException [object PyBaseExceptionObject]: pass Why would you need to d

Re: [Cython] Minor bug: emitted junk line prevents compilation

2013-03-16 Thread Stefan Behnel
Nikita Nemkin, 16.03.2013 21:39: > I believe I have found a bit of broken/junk code. > This line produces an unpaired and unnecessary #if directive: > https://github.com/cython/cython/blob/master/Cython/Compiler/ModuleNode.py#L2423 > > The fix is to simply remove it. Yes, it's correctly used furt

[Cython] Minor bug: emitted junk line prevents compilation

2013-03-16 Thread Nikita Nemkin
Hi, I believe I have found a bit of broken/junk code. This line produces an unpaired and unnecessary #if directive: https://github.com/cython/cython/blob/master/Cython/Compiler/ModuleNode.py#L2423 The fix is to simply remove it. In case you are interested in how to hit this line, declare in some