Groups
Sign in
Groups
cython-users
Conversations
About
Send feedback
Help
cython-users
Contact owners and managers
1–30 of 4265
Mark all as read
Report group
0 selected
Peter Schay
, …
Stefan Behnel
4
Apr 21
different c files on ubuntu vs alpine
Thank you for the clarifications, David and Stefan. Very helpful. My bug went away; so there is (and
unread,
different c files on ubuntu vs alpine
Thank you for the clarifications, David and Stefan. Very helpful. My bug went away; so there is (and
Apr 21
Jerome Kieffer
, …
Antoine Pitrou
4
Apr 18
New warning with recent cython ...
Hi Antoine, Thanks for your suggestion, but I had this part of the code subcontracted to an engineer
unread,
New warning with recent cython ...
Hi Antoine, Thanks for your suggestion, but I had this part of the code subcontracted to an engineer
Apr 18
Martin Strobel (rullepœlse)
,
da-woods
2
Apr 7
3.x issue: cython.inline with class type annotations
Cython 3 switched to "annotations as strings" as specified in https://peps.python.org/pep-
unread,
3.x issue: cython.inline with class type annotations
Cython 3 switched to "annotations as strings" as specified in https://peps.python.org/pep-
Apr 7
Feiyang
,
da-woods
2
Mar 31
Extended Ufunc Support
On 29/03/2024 14:34, Feiyang wrote: > I recently came across the ufunc decorator and found it
unread,
Extended Ufunc Support
On 29/03/2024 14:34, Feiyang wrote: > I recently came across the ufunc decorator and found it
Mar 31
Feiyang
2
Mar 29
BuildExecutable
Apologies, I have found this thread which seems to be duplicate https://groups.google.com/g/cython-
unread,
BuildExecutable
Apologies, I have found this thread which seems to be duplicate https://groups.google.com/g/cython-
Mar 29
Vivek Kumar
,
da-woods
2
Mar 21
How to wrap a c library function that returns raw image data efficiently?
I'd suggest something like: def get_image(int width, int height): cdef float[:,::1] mview arr =
unread,
How to wrap a c library function that returns raw image data efficiently?
I'd suggest something like: def get_image(int width, int height): cdef float[:,::1] mview arr =
Mar 21
walt3k
2
Mar 21
Catching user-defined exception types
My apologies. I was looking at old cython documentation. This documentation shows how to use a custom
unread,
Catching user-defined exception types
My apologies. I was looking at old cython documentation. This documentation shows how to use a custom
Mar 21
Chris Barker
, …
Stefan Behnel
17
Mar 15
How to use the wfopen wchar_t API from Cython on Windows?
On Fri, Mar 15, 2024 at 12:06 AM Stefan Behnel <stef...@behnel.de> wrote: 'Chris Barker
unread,
How to use the wfopen wchar_t API from Cython on Windows?
On Fri, Mar 15, 2024 at 12:06 AM Stefan Behnel <stef...@behnel.de> wrote: 'Chris Barker
Mar 15
Chris Barker
,
Oscar Benjamin
2
Mar 13
How to avoid IF
On Wed, 13 Mar 2024 at 23:17, 'Chris Barker' via cython-users <cython-users@googlegroups.
unread,
How to avoid IF
On Wed, 13 Mar 2024 at 23:17, 'Chris Barker' via cython-users <cython-users@googlegroups.
Mar 13
Matan
, …
Chris Barker
10
Mar 6
Does cython optimize for contiguous numpy arrays?
> Admittedly I was not aware that I can call my cython function from python unless it were a `
unread,
Does cython optimize for contiguous numpy arrays?
> Admittedly I was not aware that I can call my cython function from python unless it were a `
Mar 6
adhoC
, …
David Menéndez Hurtado
7
Mar 3
How to compile a python program to distribute it as standalone.
Thanks you all for helping me 🥰 i think i need to stop searching with packaging with Cython and stick
unread,
How to compile a python program to distribute it as standalone.
Thanks you all for helping me 🥰 i think i need to stop searching with packaging with Cython and stick
Mar 3
Adam Li
Mar 1
Best practices for an inheritance set of classes to do inlining of a class method
Hi, I have a set of classes that do some computation: ``` cdef class A: cdef func(self, ...):
unread,
Best practices for an inheritance set of classes to do inlining of a class method
Hi, I have a set of classes that do some computation: ``` cdef class A: cdef func(self, ...):
Mar 1
Antoine Pitrou
, …
Stefan Behnel
6
Feb 23
Guidelines for reducing size of Cython-generated C++ code?
Salut Antoine, Antoine Pitrou schrieb am 21.02.24 um 14:09: > I'm looking at the culprit file
unread,
Guidelines for reducing size of Cython-generated C++ code?
Salut Antoine, Antoine Pitrou schrieb am 21.02.24 um 14:09: > I'm looking at the culprit file
Feb 23
Tion Layer
, …
Tion Layer
3
Feb 17
SIGSEGV while new python object in .pyx file
Oh, I got it! Thanks very much! 在2024年2月17日星期六 UTC+8 05:22:57<D Woods> 写道: The code you
unread,
SIGSEGV while new python object in .pyx file
Oh, I got it! Thanks very much! 在2024年2月17日星期六 UTC+8 05:22:57<D Woods> 写道: The code you
Feb 17
Ahnaf Tahmid
,
Stefan Behnel
2
Feb 16
Update to Cython Version 3 for PyNE Project
Hi, Ahnaf Tahmid schrieb am 14.02.24 um 17:58: > Error compiling Cython file: > ---------------
unread,
Update to Cython Version 3 for PyNE Project
Hi, Ahnaf Tahmid schrieb am 14.02.24 um 17:58: > Error compiling Cython file: > ---------------
Feb 16
Oyibo
,
Jerome Kieffer
5
Feb 13
Verifying successful SIMD optimizations in Cython
Hey Jerome, thank you very much. That was very insightful. I've implemented the object dump on a
unread,
Verifying successful SIMD optimizations in Cython
Hey Jerome, thank you very much. That was very insightful. I've implemented the object dump on a
Feb 13
Gabriel Fougeron
, …
da-woods
6
Feb 11
"Cython memoryview" on existing buffer
Thanks for the suggestion, I just opened a feature request for this: https://github.com/cython/cython
unread,
"Cython memoryview" on existing buffer
Thanks for the suggestion, I just opened a feature request for this: https://github.com/cython/cython
Feb 11
shakfu
,
da-woods
4
Feb 10
wrapping a templated abstract class
@D Woods, thanks very much for your help. I can confirm that the removal worked: ```demo.pyx #
unread,
wrapping a templated abstract class
@D Woods, thanks very much for your help. I can confirm that the removal worked: ```demo.pyx #
Feb 10
John Mellencamp
,
da-woods
5
Feb 10
Cython and QtCore.Property
On 08/02/2024 15:27, John Mellencamp wrote: > [...] > In order to overcome this, we have taken
unread,
Cython and QtCore.Property
On 08/02/2024 15:27, John Mellencamp wrote: > [...] > In order to overcome this, we have taken
Feb 10
vinod kc
2
Feb 7
How to use C structs in Cython
Never mind. I found the solution by myself. The key to success in this area is finding appropriate
unread,
How to use C structs in Cython
Never mind. I found the solution by myself. The key to success in this area is finding appropriate
Feb 7
Andrea Gavana
, …
David Menéndez Hurtado
8
Feb 2
Better nonzero elements/indices of a 2D matrix
On a marginally related note, looking at the generated C code from Cython, I see this type of stuff
unread,
Better nonzero elements/indices of a 2D matrix
On a marginally related note, looking at the generated C code from Cython, I see this type of stuff
Feb 2
Peter Schay
,
da-woods
3
Jan 29
how to use a typed memoryview for a sequence of separate buffers
On Mon, Jan 29, 2024 at 10:40 AM da-woods <dw-...@d-woods.co.uk> wrote: I think it's a
unread,
how to use a typed memoryview for a sequence of separate buffers
On Mon, Jan 29, 2024 at 10:40 AM da-woods <dw-...@d-woods.co.uk> wrote: I think it's a
Jan 29
Chuang Men
Jan 29
How to modify default compile args in setup.py?
Hello, I'm using cython to wrap my c++ code, and for a long time it works well. Bur recently, I
unread,
How to modify default compile args in setup.py?
Hello, I'm using cython to wrap my c++ code, and for a long time it works well. Bur recently, I
Jan 29
Louis Abraham
Jan 27
Cython unrequested compiler options
python setup.py build_ext prints the following compiler command: clang -Wno-unused-result -Wsign-
unread,
Cython unrequested compiler options
python setup.py build_ext prints the following compiler command: clang -Wno-unused-result -Wsign-
Jan 27
vinod kc
Jan 26
How to use function pointers efficiently in Cython
Hi Cython users, I have a class like this. cdef class Button: cdef public object onMouseDown ... And
unread,
How to use function pointers efficiently in Cython
Hi Cython users, I have a class like this. cdef class Button: cdef public object onMouseDown ... And
Jan 26
kobajin
, …
Matan
7
Jan 19
Using Pure Python Mode with cimports
Following https://cython.readthedocs.io/en/stable/src/userguide/memoryviews.html#quickstart: from
unread,
Using Pure Python Mode with cimports
Following https://cython.readthedocs.io/en/stable/src/userguide/memoryviews.html#quickstart: from
Jan 19
vinod kc
,
Stefan Behnel
5
Jan 19
How to measure execution time of a line in Cython ?
@ Stefan Behnel, Thank you. I got the point. Let me try that. On Thu, 18 Jan 2024 at 19:38, Stefan
unread,
How to measure execution time of a line in Cython ?
@ Stefan Behnel, Thank you. I got the point. Let me try that. On Thu, 18 Jan 2024 at 19:38, Stefan
Jan 19
Lele Gaifax
,
Stefan Behnel
3
Jan 18
How can I include a particular header even earlier
Stefan Behnel <stef...@behnel.de> writes: > You can define macros like WIN32_LEAN_AND_MEAN
unread,
How can I include a particular header even earlier
Stefan Behnel <stef...@behnel.de> writes: > You can define macros like WIN32_LEAN_AND_MEAN
Jan 18
Matthew Luckie
Jan 18
cython 3 and callback functions with except annotations
Hi, I have a piece of cython code that compiles with 0.29 but not 3+. The code currently looks like
unread,
cython 3 and callback functions with except annotations
Hi, I have a piece of cython code that compiles with 0.29 but not 3+. The code currently looks like
Jan 18
Matan
,
Stefan Behnel
3
Jan 16
disabling cython optimization for a given function
Thanks Stefan, Thank you, I understand, and things are sufficiently complicated as is without adding
unread,
disabling cython optimization for a given function
Thanks Stefan, Thank you, I understand, and things are sufficiently complicated as is without adding
Jan 16