Re: [Cython] Manylinux wheels for Cython

2016-03-28 Thread Emmanuel Gil Peyrot
t; > Cheers, > > Matthew > ___ > cython-devel mailing list > cython-devel@python.org > https://mail.python.org/mailman/listinfo/cython-devel -- Emmanuel Gil Peyrot ___ cython-devel mailing list cython-d

[Cython] Implementing tp_richcmp using __eq__ etc.

2015-11-30 Thread Emmanuel Gil Peyrot
understandable, I’m still quite confused. ^^' -- Emmanuel Gil Peyrot signature.asc Description: PGP signature ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel

[Cython] [PATCH] Add a pass transforming Python-style properties in cdef class into Cython-style properties.

2015-11-02 Thread Emmanuel Gil Peyrot
This makes properties work at all, in cdef classes, and gives them almost the same features as the “property something:” blocks. The only missing feature being the ability to assignate a docstring to the property itself, not only to the getter, setter and deleter. Fixes T264. --- Cython/Compiler

Re: [Cython] [PATCH 1/2] Move ~/.pyxbld to $XDG_CACHE_HOME/pyxbld

2015-04-29 Thread Emmanuel Gil Peyrot
Actually, I think it’d be better to move the pyxbld directory directly under the cython cache directory, as it is part of cython itself. Here is an attached patch updated with this behaviour. -- Emmanuel Gil Peyrot [PATCH 1/2] Move ~/.pyxbld to $XDG_CACHE_HOME/cython/pyxbld --- pyximport

[Cython] [PATCH 2/2] Make the Cython cache directory fallback to ~/.cache/cython if $XDG_CACHE_HOME isn’t set

2015-04-29 Thread Emmanuel Gil Peyrot
--- Cython/Utils.py | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cython/Utils.py b/Cython/Utils.py index 22f6db7..563989f 100644 --- a/Cython/Utils.py +++ b/Cython/Utils.py @@ -327,7 +327,8 @@ def get_cython_cache_dir(): 1. CYTHON_CACHE_DIR 2. (OS X): ~/Libr

[Cython] [PATCH 1/2] Move ~/.pyxbld to $XDG_CACHE_HOME/pyxbld

2015-04-29 Thread Emmanuel Gil Peyrot
--- pyximport/pyximport.py | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pyximport/pyximport.py b/pyximport/pyximport.py index 4fd7fe9..710c5eb 100644 --- a/pyximport/pyximport.py +++ b/pyximport/pyximport.py @@ -466,9 +466,10 @@ def install(pyximport=True, pyimp

[Cython] Wrong order of __Pyx_DECREF when calling a function with an implicit str → char* conversion.

2014-05-28 Thread Emmanuel Gil Peyrot
bugs like the memory corruption I had. -- Emmanuel Gil Peyrot pgpq8i4NyR8z2.pgp Description: PGP signature ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel

[Cython] Assign from array to scalar

2013-09-12 Thread Emmanuel Gil Peyrot
start_code() gives a string? It’d be much better to return an int in both cases, so one could interpolate without conversion from both python or the generated C. Preliminary patch joined. -- Emmanuel Gil Peyrot XMPP: OpenPGP: 24B1D609 diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler

[Cython] Compiler crash on unmatched kwarg

2013-05-30 Thread Emmanuel Gil Peyrot
Hi, When the name of a kwarg in the definition and the declaration of a function doesn’t match, the compiler crash instead of returning a meaningful error. I have joined a testcase, it is reproductible at least on 0.19.1 and latest git. -- Emmanuel Gil Peyrot XMPP: OpenPGP: 24B1D609

[Cython] Add support for the offsetof() C macro

2013-04-03 Thread Emmanuel Gil Peyrot
. Could you add support for it, perhaps like sizeof as a special case in the parser? And many thanks for the whole project! ☺ -- Emmanuel Gil Peyrot XMPP: OpenPGP: 24B1D609 pgpNAHf9fQpmU.pgp Description: PGP signature ___ cython-devel mailing list