/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
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
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
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
:
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",
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
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
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
;
> 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
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
___
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.
-
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
12 matches
Mail list logo