Comments (1)
Thanks for the report. It's good to know what people are trying this and finding the obvious deficiencies :-)
It's slightly harder than it looks. Cython doesn't actually know a lot about integer typedefs - mostly just that it's "some integer" and whether it's signed or not. However, it needs to tell Numpy exactly what type is actually being used. So it either needs some special-casing for these Numpy typedefs, or it needs a clever runtime mechanism to work out what to tell Numpy.
from cython.
Related Issues (20)
- [BUG] Random Segfault HOT 4
- [BUG] Cython master crashes analysing division of int by float HOT 3
- source code string cannot contain null bytes HOT 2
- [BUG] Cannot cythonize C++ source if function isn't explicitly used in a new Python function in the same file
- Coverage measurement of Cython code in a meson build HOT 18
- [BUG] Build dependency that is NOT a runtime compulsory dependency HOT 7
- Handling of Python element access in free-threading Python HOT 4
- [BUG] Possible regression in handling of default function arguments HOT 3
- [BUG] Unknown object types PyComplexObject, incomplete types PyTypeObject, PyLongObject when use -DCYTHON_LIMITED_API HOT 2
- prange/OpenMP issues under the free-threading CPython build HOT 10
- [BUG] Test test_parallel_numpy_arrays fails on 32bits with Cython 3.0.10 and numpy 1.26.0
- [BUG] Large pyqt file causes compile to stall [Mac OS arm] HOT 9
- [BUG] Invalid C code from simple parallel example HOT 1
- [BUG] Seg-fault calling class method accessing object member on class object HOT 1
- [BUG] Nested double quotes supported by python 3.12 not supported in cython HOT 1
- [BUG] cython to C translation error on array of structs as struct field HOT 2
- [BUG] Function pointer casting not working properly HOT 1
- Lock memoryviewslice struct in free-threading mode
- [BUG] Unnecessary refnanny gil handling in __init__/__del__ (and maybe other slots)
- [BUG] Possible regression on master branch, __class__ not available in class body during cythonize HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cython.