Groups
Groups
Sign in
Groups
Groups
cython-users
Conversations
About
Send feedback
Help
cython-users
1–30 of 4360
Mark all as read
Report group
0 selected
Mriswithe
,
da-woods
3
Sep 7
Fixing types on the Python side.
I will poke around and see what I can find then. On Sun, Sep 7, 2025, 1:57 PM da-woods <dw-git@d-
unread,
Fixing types on the Python side.
I will poke around and see what I can find then. On Sun, Sep 7, 2025, 1:57 PM da-woods <dw-git@d-
Sep 7
Takeshi Ikuma
,
da-woods
2
Sep 3
Converting fixed-size C pointer to memoryview in the pure Python mode
I think this is a known issue unfortunately and I'm not sure there's a good workaround: https
unread,
Converting fixed-size C pointer to memoryview in the pure Python mode
I think this is a known issue unfortunately and I'm not sure there's a good workaround: https
Sep 3
dg pb
,
Stefan Behnel
4
Sep 2
object's ob_item
dg pb schrieb am 02.09.25 um 21:39: >> On 2 Sep 2025, at 18:21, 'Stefan Behnel' via
unread,
object's ob_item
dg pb schrieb am 02.09.25 um 21:39: >> On 2 Sep 2025, at 18:21, 'Stefan Behnel' via
Sep 2
Ray Speth
,
da-woods
2
Sep 1
Support for combining multiple PYX files in a single module
Hi Ray, As far as possible, everything internal with Cython (ie things we define starting with `
unread,
Support for combining multiple PYX files in a single module
Hi Ray, As far as possible, everything internal with Cython (ie things we define starting with `
Sep 1
Idan Ahal
, …
David Woods
4
Aug 6
Is it possible to use language level 2 with python 3.12?
I'm not sure what a "missing micro" is. However, language_level=2 does still work. The
unread,
Is it possible to use language level 2 with python 3.12?
I'm not sure what a "missing micro" is. However, language_level=2 does still work. The
Aug 6
Paul Smith
,
da-woods
2
Aug 3
Difficulty calling python function from C
Hi Paul, It looks like you got a decent enough answer from the same post on Stack Overflow (https://
unread,
Difficulty calling python function from C
Hi Paul, It looks like you got a decent enough answer from the same post on Stack Overflow (https://
Aug 3
J Wu
,
David Woods
2
Jul 16
Is that possible to generate __pyx_CommonTypesMetaclass_get_module into a single file, instead of in every module?
Hi, It's a known bug. It's been fixed and will be in the next release. Sorry! On 16 July 2025
unread,
Is that possible to generate __pyx_CommonTypesMetaclass_get_module into a single file, instead of in every module?
Hi, It's a known bug. It's been fixed and will be in the next release. Sorry! On 16 July 2025
Jul 16
shakfu
,
da-woods
7
Jul 5
Why does a forward declaration of a struct causes errors in this case?
D Woods wrote: I've had a bit more of a look at it. Thanks! I think the problem is that for
unread,
Why does a forward declaration of a struct causes errors in this case?
D Woods wrote: I've had a bit more of a look at it. Thanks! I think the problem is that for
Jul 5
dgpb
, …
Prakhar Goel
8
Jun 14
Need help with very basics.
I'm not sure you'll get much benefit from this though. Python's own impls (list and tuple
unread,
Need help with very basics.
I'm not sure you'll get much benefit from this though. Python's own impls (list and tuple
Jun 14
Jacob Faibussowitsch US
,
da-woods
2
Jun 11
Controlling placement of `cdef extern from` blocks
I think you can use the "#cython: preliminary_late_includes = True" directive which pushes
unread,
Controlling placement of `cdef extern from` blocks
I think you can use the "#cython: preliminary_late_includes = True" directive which pushes
Jun 11
David Lawson
,
da-woods
2
Jun 8
_Py_HashBytes in 3.12 vs 3.13
Hi David, I think it was hidden in Py3.13 (https://github.com/python/cpython/pull/107026) as private
unread,
_Py_HashBytes in 3.12 vs 3.13
Hi David, I think it was hidden in Py3.13 (https://github.com/python/cpython/pull/107026) as private
Jun 8
John Ehresman
,
da-woods
2
Jun 8
Overridden method in final classes
Hi John - that definitely sounds like a bug. (Sorry for the slow reply) On 24/05/2025 16:19, John
unread,
Overridden method in final classes
Hi John - that definitely sounds like a bug. (Sorry for the slow reply) On 24/05/2025 16:19, John
Jun 8
Peter Schay
,
Prakhar Goel
3
May 18
programmatically get address of struct fields and/or cdef attrs
On Sat, May 17, 2025 at 1:33 PM Prakhar Goel <newt...@gmail.com> wrote: It would be nice if
unread,
programmatically get address of struct fields and/or cdef attrs
On Sat, May 17, 2025 at 1:33 PM Prakhar Goel <newt...@gmail.com> wrote: It would be nice if
May 18
Peter Schay
,
da-woods
3
May 13
Profiling
Thanks for the helpful info. It's great to have cProfile working again and also amazing to see
unread,
Profiling
Thanks for the helpful info. It's great to have cProfile working again and also amazing to see
May 13
John Ehresman
,
da-woods
4
May 13
Simple type aliases in pure-python mode?
Hi John, I'm skeptical that using cython.locals and hints would work Yes - it's a suggestion
unread,
Simple type aliases in pure-python mode?
Hi John, I'm skeptical that using cython.locals and hints would work Yes - it's a suggestion
May 13
Ewan Davies
May 8
Help with cimports in pure python mode
I have a small project with some Python and some Cython modules and I'm successfully using
unread,
Help with cimports in pure python mode
I have a small project with some Python and some Cython modules and I'm successfully using
May 8
Raub Camaioni
,
Marc Weber
2
Apr 22
Compilation of PYX (cython) -> PYI (stub) file converters.
i have done some unfinished work parsing comments here: https://github.com/MarcWeber/py-create-stubs
unread,
Compilation of PYX (cython) -> PYI (stub) file converters.
i have done some unfinished work parsing comments here: https://github.com/MarcWeber/py-create-stubs
Apr 22
Marc Weber
Apr 10
Pyright and type comments?
I am looking at older version of cupy / cuda (cudart) It looks like it's using Cython. However
unread,
Pyright and type comments?
I am looking at older version of cupy / cuda (cudart) It looks like it's using Cython. However
Apr 10
Gabriel Fougeron
, …
Leo Hstone
7
Apr 8
"Cython memoryview" on existing buffer
Hi! I am trying to achieve something similar, but I already have a 1d memoryview and want to cast it
unread,
"Cython memoryview" on existing buffer
Hi! I am trying to achieve something similar, but I already have a 1d memoryview and want to cast it
Apr 8
Richard Shadrach
, …
Johannes Fischer
7
Mar 30
Performance of C-style vs general memory view access
Found some time to get back to this. First, apologies on that awfully incomplete reproducer. I
unread,
Performance of C-style vs general memory view access
Found some time to get back to this. First, apologies on that awfully incomplete reproducer. I
Mar 30
Brad Hoehne
, …
Prakhar Goel
10
Mar 21
Cython Noob having trouble getting off the ground
Did you move checkplate into the same directory as the rest of your code? What's the output of
unread,
Cython Noob having trouble getting off the ground
Did you move checkplate into the same directory as the rest of your code? What's the output of
Mar 21
raceychan
,
da-woods
2
Mar 6
what does directive decorator `cython.internal` do? is it deprecated?
They don't get added to the module dictionary so are only available from within Cython and not
unread,
what does directive decorator `cython.internal` do? is it deprecated?
They don't get added to the module dictionary so are only available from within Cython and not
Mar 6
Nenner KN
, …
Johannes Fischer
3
Feb 20
MVSC doesn't seem to work with Cython (in my case, at least)
Try to initialize your build env first, something like: "C:\Program Files\Microsoft Visual
unread,
MVSC doesn't seem to work with Cython (in my case, at least)
Try to initialize your build env first, something like: "C:\Program Files\Microsoft Visual
Feb 20
Sebastian Raab
, …
Stefan Behnel
14
Feb 17
Typing Extension Type Object
Am 3. Februar 2025 11:04:28 UTC schrieb Sebastian Raab: >Just to make sure, an here an other
unread,
Typing Extension Type Object
Am 3. Februar 2025 11:04:28 UTC schrieb Sebastian Raab: >Just to make sure, an here an other
Feb 17
Source
Feb 14
Cython subscription for premium git issues priority?
Just an idea. I'd happily subscribe to a monthly Cython donation in exchange for elevated issue
unread,
Cython subscription for premium git issues priority?
Just an idea. I'd happily subscribe to a monthly Cython donation in exchange for elevated issue
Feb 14
Source
,
da-woods
2
Feb 11
Default arguments in extern cppclass
Non-extern cppclass is pretty limited, so I'm not really surprised that i doesn't work. Most
unread,
Default arguments in extern cppclass
Non-extern cppclass is pretty limited, so I'm not really surprised that i doesn't work. Most
Feb 11
Kai-Hsun Chen
,
da-woods
2
Feb 10
Best practice for marking a function as nogil
There isn't a single best practice because most combinations have their uses cdef void some_func(
unread,
Best practice for marking a function as nogil
There isn't a single best practice because most combinations have their uses cdef void some_func(
Feb 10
Prakhar Goel
,
da-woods
4
Feb 1
Cdef class fields and the adaptive interpreter
Interesting. Thanks for looking. -- PG On Sat, Feb 1, 2025, 05:36 da-woods <dw-...@d-woods.co.uk
unread,
Cdef class fields and the adaptive interpreter
Interesting. Thanks for looking. -- PG On Sat, Feb 1, 2025, 05:36 da-woods <dw-...@d-woods.co.uk
Feb 1
Henry S Thompson
Jan 14
Complete working version of cython Queue example?
I've spent several days trying to get this example [1] working, using Python3.11 and Cython 3.0.
unread,
Complete working version of cython Queue example?
I've spent several days trying to get this example [1] working, using Python3.11 and Cython 3.0.
Jan 14
Артем Бабаев (Vavp)
12/23/24
__pyx_vtab of Python object is null, when calling methods from C++
Hello, friends! I'm trying to write a system that can be run in both python and C++. If you build
unread,
__pyx_vtab of Python object is null, when calling methods from C++
Hello, friends! I'm trying to write a system that can be run in both python and C++. If you build
12/23/24