Groups
Sign in
Groups
cython-users
Conversations
About
Send feedback
Help
cython-users
Contact owners and managers
1–30 of 4332
Mark all as read
Report group
0 selected
evgeny.b...@gmail.com
Dec 19
const/non-const template type deduction with fused types
Hi, I looking at this fused types / c++ template dediction issue, https://github.com/cython/cython/
unread,
const/non-const template type deduction with fused types
Hi, I looking at this fused types / c++ template dediction issue, https://github.com/cython/cython/
Dec 19
Source
5
Dec 18
Extern void in pyx, with pxd, linking error "undefined reference to ..."
Just want to announce/update the bench results while waiting for a response that the module I made
unread,
Extern void in pyx, with pxd, linking error "undefined reference to ..."
Just want to announce/update the bench results while waiting for a response that the module I made
Dec 18
Andrew Nelson
,
da-woods
2
Dec 11
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]
Dec 11
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
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