Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
cython-users
Conversations
About
cython-users
Contact owners and managers
1â30 of 4331
Mark all as read
Report group
0 selected
Andrew Nelson
,Â
da-woods
2
3:24â¯AM
Using C++ typedef in cython
ctypedef. eg cdef extern from "myfunc.h" nogil: ctypedef libcpp.complex.complex[double]
unread,
Using C++ typedef in cython
ctypedef. eg cdef extern from "myfunc.h" nogil: ctypedef libcpp.complex.complex[double]
3:24â¯AM
bijan SayyafZadeh
, â¦Â
Daniele Nicolodi
5
Dec 10
how to prevent generating .c files
On 09/12/24 19:17, bijan SayyafZadeh wrote: > Absolutely Stefan, > > I have a package with
unread,
how to prevent generating .c files
On 09/12/24 19:17, bijan SayyafZadeh wrote: > Absolutely Stefan, > > I have a package with
Dec 10
Source
4
Dec 8
Extern void in pyx, with pxd, linking error "undefined reference to ..."
Sorry for posting again, but after I posted the first issue I realized there's a second issue,
unread,
Extern void in pyx, with pxd, linking error "undefined reference to ..."
Sorry for posting again, but after I posted the first issue I realized there's a second issue,
Dec 8
Johannes Fischer
Dec 8
std::string_view in Cython
As far as I know, Cython doesn't have any native support for std::string_view yet, right? Is it
unread,
std::string_view in Cython
As far as I know, Cython doesn't have any native support for std::string_view yet, right? Is it
Dec 8
Mateusz Sokol
, â¦Â
da-woods
4
Dec 6
Overriding `__module__` property in Cython
Small followup (I also posted on the Numpy issue). The problem is that Python sets `type.__module__`
unread,
Overriding `__module__` property in Cython
Small followup (I also posted on the Numpy issue). The problem is that Python sets `type.__module__`
Dec 6
Daniele Nicolodi
Dec 5
Public declarations in pure Python mode
Hello, is it possible to declare a symbol public (as in usable in C code, like explained here https:/
unread,
Public declarations in pure Python mode
Hello, is it possible to declare a symbol public (as in usable in C code, like explained here https:/
Dec 5
Ethan Craigo
,Â
Stefan Behnel
3
Dec 4
Odd behavior: pxd not linked to corresponding pyx without self-import in pyx
Hi Stefan; thank you for the response! > This implies that you have a Python package "
unread,
Odd behavior: pxd not linked to corresponding pyx without self-import in pyx
Hi Stefan; thank you for the response! > This implies that you have a Python package "
Dec 4
Alix Damman
,Â
Stefan Behnel
3
Dec 3
Using Numpy constant NPY_NAN from a pyx script
Hi Stefan, Thanks for the info that the Cython project no longer maintains the NumPy declarations. I
unread,
Using Numpy constant NPY_NAN from a pyx script
Hi Stefan, Thanks for the info that the Cython project no longer maintains the NumPy declarations. I
Dec 3
Gabriel Fougeron
, â¦Â
da-woods
6
Nov 24
Double complex on windows ?
I ran the build on github actions and the specific cython version is nowhere to be found in the logs
unread,
Double complex on windows ?
I ran the build on github actions and the specific cython version is nowhere to be found in the logs
Nov 24
laan
2
Nov 22
calling cython by c language
may solved the problem from here modify main.c to #include <Python.h> #include "example.h
unread,
calling cython by c language
may solved the problem from here modify main.c to #include <Python.h> #include "example.h
Nov 22
Lina Krings
Nov 19
Conversion problems between cython and xtensor
Hi, I want to use xtensor through cython as a faster numpy for complex math functions. From my
unread,
Conversion problems between cython and xtensor
Hi, I want to use xtensor through cython as a faster numpy for complex math functions. From my
Nov 19
Prakhar Goel
, â¦Â
Robert Bradshaw
5
Nov 19
Low-level object customization
I'm aware. The question is what to do if I don't want theGC, etc... to ignore them. I'd
unread,
Low-level object customization
I'm aware. The question is what to do if I don't want theGC, etc... to ignore them. I'd
Nov 19
Derrick Rose
,Â
da-woods
2
Nov 18
Logging formatting information, function name and corresponding line number cannot be located
I don't know if there's a good option here. "logging" inspects the stack for the
unread,
Logging formatting information, function name and corresponding line number cannot be located
I don't know if there's a good option here. "logging" inspects the stack for the
Nov 18
Sergey
,Â
da-woods
2
Nov 18
Leightweight logging library in C/C++ easily used in cython
It's probably easiest to tell Cython that it's a C-style varargs function. Cython will just
unread,
Leightweight logging library in C/C++ easily used in cython
It's probably easiest to tell Cython that it's a C-style varargs function. Cython will just
Nov 18
Sergey
,Â
da-woods
2
Nov 18
pass variable args to printf
If you need to forward C variable length args, you'd normally use vprintf instead of printf. On
unread,
pass variable args to printf
If you need to forward C variable length args, you'd normally use vprintf instead of printf. On
Nov 18
Jérôme Kieffer
, â¦Â
Peter Schay
5
Nov 17
Atomic operations ...
Thanks Peter, As David mentionned, there is a fairly good/portable API in C++ and since Cython can
unread,
Atomic operations ...
Thanks Peter, As David mentionned, there is a fairly good/portable API in C++ and since Cython can
Nov 17
Sebastian Raab
,Â
da-woods
2
Nov 16
Pythran as numpy backend on Windows 11
It has been broken for a little while. I've now merged a PR to fix it (although that's
unread,
Pythran as numpy backend on Windows 11
It has been broken for a little while. I've now merged a PR to fix it (although that's
Nov 16
Brooke Heisler
, â¦Â
Prakhar Goel
4
Nov 16
Confusing results when C module depends on Cython module
Not sure approach two will work (you'll just end up having to import your shadow module). From
unread,
Confusing results when C module depends on Cython module
Not sure approach two will work (you'll just end up having to import your shadow module). From
Nov 16
Ross Burton
,Â
Robert Bradshaw
3
Nov 2
Is the Cython Metadata in generated .c needed?
We're cross compiling so have a sysroot, which means the build path is in the include_dirs member
unread,
Is the Cython Metadata in generated .c needed?
We're cross compiling so have a sysroot, which means the build path is in the include_dirs member
Nov 2
Matwey V. Kornilov
Oct 31
error: Undeclared variable
Hello, I am using Cython 3.0.11 and trying to compile the following code: from cython.parallel
unread,
error: Undeclared variable
Hello, I am using Cython 3.0.11 and trying to compile the following code: from cython.parallel
Oct 31
shakfu
,Â
Peter Schay
3
Oct 30
Alternative to DEF for constants in .pxd
Peter Schay wrote: Cython's enums are pretty great these days. Try cpdef enum: MAX_SIZE = 128
unread,
Alternative to DEF for constants in .pxd
Peter Schay wrote: Cython's enums are pretty great these days. Try cpdef enum: MAX_SIZE = 128
Oct 30
Pablo Hernán Paiva
Oct 29
setup() stops with an error while it doesn't really seems to happen...
Hi all, I am working on a script to compile to .so all the scripts in a folder (source_directory),
unread,
setup() stops with an error while it doesn't really seems to happen...
Hi all, I am working on a script to compile to .so all the scripts in a folder (source_directory),
Oct 29
Oier Arcelus
,Â
da-woods
2
Oct 23
segmentation fault in simple cdef function
It isn't infinite recursion is it? You've got two functions called `cfrom_attributes` and
unread,
segmentation fault in simple cdef function
It isn't infinite recursion is it? You've got two functions called `cfrom_attributes` and
Oct 23
Peter Schay
,Â
da-woods
3
Oct 16
importing a cython module in a subinterpreter
Thank you for the helpful info - exactly the level of detail I was hoping for! I'll run some
unread,
importing a cython module in a subinterpreter
Thank you for the helpful info - exactly the level of detail I was hoping for! I'll run some
Oct 16
BattleSushi
,Â
Daniele Nicolodi
3
Oct 16
Building Cython Project with C++ core library
Thanks for the hints Dan. I gavescikit-build-core a try, it seemed to me that `scikit-build` is
unread,
Building Cython Project with C++ core library
Thanks for the hints Dan. I gavescikit-build-core a try, it seemed to me that `scikit-build` is
Oct 16
Felipe Bordeu
Oct 14
Compiler crash in AnalyseExpressionsTransform.
Hello, I'm porting a code eignecy (https://github.com/wouterboomsma/eigency/pull/70) to cython
unread,
Compiler crash in AnalyseExpressionsTransform.
Hello, I'm porting a code eignecy (https://github.com/wouterboomsma/eigency/pull/70) to cython
Oct 14
da-woods
, â¦Â
Oscar Benjamin
5
Oct 9
Limited API
Hi Oscar, On 09/10/2024 11:34, Oscar Benjamin wrote: Hypothetically would it be possible for me to
unread,
Limited API
Hi Oscar, On 09/10/2024 11:34, Oscar Benjamin wrote: Hypothetically would it be possible for me to
Oct 9
shakfu
,Â
da-woods
4
Oct 9
Mapping nested structs to nested extension classes
D Woods wrote: I think you've largely covered the two ways of doing it. Great! One variation of
unread,
Mapping nested structs to nested extension classes
D Woods wrote: I think you've largely covered the two ways of doing it. Great! One variation of
Oct 9
Adam Li
, â¦Â
Chris Barker
3
Sep 30
Performance impact of passing around reshaped memory views of the same underlying array
hmm -- shouldn't you be able to do this without the reshape call at all? eg just look at the data
unread,
Performance impact of passing around reshaped memory views of the same underlying array
hmm -- shouldn't you be able to do this without the reshape call at all? eg just look at the data
Sep 30
Valentyn Tymofieiev
,Â
da-woods
2
Sep 18
Name collisions with reserved C++ keywords
Most of time Cython does mangle names to try to prevent this kind of thing. There are some exceptions
unread,
Name collisions with reserved C++ keywords
Most of time Cython does mangle names to try to prevent this kind of thing. There are some exceptions
Sep 18