[Cython] BUG: Cython's dies with AttributeError

2011-07-07 Thread Lars Buitinck
/Visitor.c:4395) File "Visitor.py", line 202, in Cython.Compiler.Visitor.TreeVisitor._visitchildren (/home/s1254871/src/cython/Cython/Compiler/Visitor.c:4076) AttributeError: 'CNameDeclaratorNode' object has no attribute 'base' -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ___ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] Strange cimport behaviour

2011-07-15 Thread Lars Buitinck
ating; I can reproduce the error (on Scientific Linux 5.5), but it goes away when I reverse the order of the includes. -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ___ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] BUG: Cython's dies with AttributeError

2011-07-19 Thread Lars Buitinck
2011/7/19 Robert Bradshaw : > On Thu, Jul 7, 2011 at 2:25 PM, Lars Buitinck wrote: >> foo.pyx:1:9: Compiler crash in PostParse > > I'm unable to reproduce this error, perhaps there's something missing > in the example here? I just pulled from your repo and I

Re: [Cython] Strange cimport behaviour

2011-07-21 Thread Lars Buitinck
to force an ordering. > > https://github.com/cython/cython/commit/55d5e576935d83c6bdadc593e36793aecffe0bae I'm not familiar enough with the Cython internals to understand this change; are #includes now generated in the C code in the order of the corresponding cimports? -- Lars Bui

[Cython] Bug report: building an extension with --pyrex-gdb fails

2011-12-17 Thread Lars Buitinck
: from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext setup( cmdclass = {'build_ext': build_ext}, ext_modules = [Extension("sortedcollections.set",

Re: [Cython] Bug report: building an extension with --pyrex-gdb fails

2011-12-17 Thread Lars Buitinck
2011/12/17 Lars Buitinck : > I was trying to build a C++ extension with debugging support as > described in http://docs.cython.org/src/userguide/debugging.html, but > I got an error from the Cython compiler: Forgot to mention: I was using the very latest Git version

Re: [Cython] Bug report: building an extension with --pyrex-gdb fails

2011-12-17 Thread Lars Buitinck
2011/12/17 mark florisson : > Thanks for your report, could you paste/attach the code of your > extension module? The code is online at https://github.com/larsmans/sortedcollection -- Lars Buitinck Scientific programmer, ILPS University of Ams

Re: [Cython] Bug report: building an extension with --pyrex-gdb fails

2011-12-20 Thread Lars Buitinck
6f4899090 > which will be pushed to cython's master branch later. It works, thanks! -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ___ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] errors in C++ tests

2012-07-08 Thread Lars Buitinck
; > The failing code line is this: > > """ > } catch (const std::bad_alloc& exn) { > """ Could you check whether the header is included? It should be to get the definition of bad_alloc. -- Lars Buitinck Scientific programmer, ILPS University of Am

Re: [Cython] errors in C++ tests

2012-07-08 Thread Lars Buitinck
ways include these four headers, or should we try > to handle the exceptions conditionally? As I said, this should already have been done by Cython/Compiler/Nodes.py. I'm not sure what's going wrong. -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ___

Re: [Cython] errors in C++ tests

2012-07-08 Thread Lars Buitinck
t this leads to the headers being included once, at the top of the file, which seemed like the clean solution. Multiple inclusion of C++ standard headers should be completely safe, but I don't know whether the C++ standard says anything about including standard headers in the middle of a module. -

[Cython] bug report: compiler crash when assigning from function call returning ndarray

2012-11-19 Thread Lars Buitinck
buffer_aux.buflocal_nd_var.used = True AttributeError: 'NoneType' object has no attribute 'buflocal_nd_var' More details at https://gist.github.com/4114677. I looked at Buffer.py and ExprNodes.py, but I couldn't figure out what exactly was going on. Could someone please loo