Groups
Sign in
Groups
cython-users
Conversations
About
Send feedback
Help
cython-users
Contact owners and managers
1–30 of 4282
Mark all as read
Report group
0 selected
Mads Ynddal
,
Stefan Behnel
2
4:23 PM
Sharing extension types defined with @cython.cclass
Hi, there's a "cimport_from_pyx" feature which mostly applies here. It probably doesn
unread,
Sharing extension types defined with @cython.cclass
Hi, there's a "cimport_from_pyx" feature which mostly applies here. It probably doesn
4:23 PM
BattleSushi
,
da-woods
6
Jun 22
Pure python mode for numerical code: performance
On 21/06/2024 08:43, 'BattleSushi' via cython-users wrote: > If you're using
unread,
Pure python mode for numerical code: performance
On 21/06/2024 08:43, 'BattleSushi' via cython-users wrote: > If you're using
Jun 22
Joth
,
da-woods
2
Jun 21
Name conflict when python modules are transformed to C
I think there's at least two tools that solve this problem in slightly different ways: https://
unread,
Name conflict when python modules are transformed to C
I think there's at least two tools that solve this problem in slightly different ways: https://
Jun 21
J YZ
,
da-woods
2
Jun 21
How to compile python code into a .dll file?
Cython doesn't generate standalone C or C++ code. Cython generates Cython modules that you need
unread,
How to compile python code into a .dll file?
Cython doesn't generate standalone C or C++ code. Cython generates Cython modules that you need
Jun 21
Daniele Nicolodi
,
da-woods
6
Jun 16
How to approach the performance of operator.itemgetter()
On 15/06/2024 23:06, Daniele Nicolodi wrote: Do you know why Cython does not support vectorcall in
unread,
How to approach the performance of operator.itemgetter()
On 15/06/2024 23:06, Daniele Nicolodi wrote: Do you know why Cython does not support vectorcall in
Jun 16
Alex
,
da-woods
2
Jun 13
C++ STL deque of C structs
Hi Alex, Not going to be very helpful here I'm afraid. The essential problem you're running
unread,
C++ STL deque of C structs
Hi Alex, Not going to be very helpful here I'm afraid. The essential problem you're running
Jun 13
Amulet Editor
,
da-woods
2
Jun 4
collections.abc mixin
What you can do is register it after the fact: see what we do to our own memoryview classes for
unread,
collections.abc mixin
What you can do is register it after the fact: see what we do to our own memoryview classes for
Jun 4
shakfu
,
da-woods
3
May 29
Handling conditional .pxi includes post-deprecation
Thanks for your reply, D Woods wrote: I really don't understand this point. Surely the optional
unread,
Handling conditional .pxi includes post-deprecation
Thanks for your reply, D Woods wrote: I really don't understand this point. Surely the optional
May 29
Joseph Capriotti
,
Oscar Benjamin
2
May 29
Generating coverage report for Cython files using a meson-python build backend
On Sat, 25 May 2024 at 20:20, Joseph Capriotti <josephrc...@gmail.com> wrote: > > I
unread,
Generating coverage report for Cython files using a meson-python build backend
On Sat, 25 May 2024 at 20:20, Joseph Capriotti <josephrc...@gmail.com> wrote: > > I
May 29
Matt Shmukler
May 28
Issues with cpdef in jupyter notebook
I am running into the following issue using a jupyter notebook: In one cell I have %%cython --compile
unread,
Issues with cpdef in jupyter notebook
I am running into the following issue using a jupyter notebook: In one cell I have %%cython --compile
May 28
Feiyang
May 21
Cython avoid PyObject and object convertion
Hi, thanks in advance for any help! I have a cython function defined like below cdef double foo(str
unread,
Cython avoid PyObject and object convertion
Hi, thanks in advance for any help! I have a cython function defined like below cdef double foo(str
May 21
Eric Ewanco
,
da-woods
2
May 20
Inscrutable Cythonize error in passing cdef arg as arg to constructor
The basic issue is that `__cinit__` is a function that's called from Python so all arguments to
unread,
Inscrutable Cythonize error in passing cdef arg as arg to constructor
The basic issue is that `__cinit__` is a function that's called from Python so all arguments to
May 20
Husain Al Marzooq
,
da-woods
2
May 19
Is this a memory leak?
It does sound like a memory leak. It's not impossible that it's a bug in Cython but I'd
unread,
Is this a memory leak?
It does sound like a memory leak. It's not impossible that it's a bug in Cython but I'd
May 19
da-woods
, …
Oscar Benjamin
6
May 9
Github Discussions
Thanks for the extra comments Oscar and Matthew, Looking at the Scientific Python discourse board, it
unread,
Github Discussions
Thanks for the extra comments Oscar and Matthew, Looking at the Scientific Python discourse board, it
May 9
Eric Ewanco
,
da-woods
2
May 2
Accessing static inline class member variables
I don't think it can directly. See libcpp::string::npos (https://github.com/cython/cython/blob/
unread,
Accessing static inline class member variables
I don't think it can directly. See libcpp::string::npos (https://github.com/cython/cython/blob/
May 2
Sebastian
,
da-woods
2
May 1
Parent / Child Inheritance Circular Import
Hi, I don't think `cimports` can happen conditionally, because the cimport information is used
unread,
Parent / Child Inheritance Circular Import
Hi, I don't think `cimports` can happen conditionally, because the cimport information is used
May 1
Emelian Pugachev
Apr 30
C code to Executable fails
Hello. I am new to Cython. I watched some tutorial videos and tried to follow all steps. I need some
unread,
C code to Executable fails
Hello. I am new to Cython. I watched some tutorial videos and tried to follow all steps. I need some
Apr 30
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