Comments (7)
@robertwb commented
I've been looking at this and it's a bit tricky because one must create different defaults for the various classes (which all share the same entry object). Of course it can still be done, this is just something to watch out for.
from cython.
@robertwb changed milestone to 0.9.8.2
commented
from cython.
@robertwb changed milestone from 0.10
to 0.11
commented
from cython.
scoder changed milestone from 0.11
to wishlist
commented
from cython.
scoder commented
Test case is in -T18.
from cython.
@bhy changed cc to [email protected]
commented
Then do we want to support access for Foo.bar? eg.
cdef class Foo:
cdef public int bar = 5
cdef public object baz = "someval"
print(Foo.baz)
This is supported for pure Python, it would be more intuitive if cdef class also support it.
from cython.
@roed314 commented
I just ran into this while working on Sage. It would be a nice feature....
from cython.
Related Issues (20)
- [BUG] Cannot compile template class with rebinding function
- [ENH] Add back documentation about byte order / endianness documentation HOT 3
- [BUG] numpy types cannot be used for ufunc arguments HOT 1
- [ENH] Support for the nogil branch of Python HOT 5
- Split CYTHON_AVOID_BORROWED_REFS into two levels? HOT 1
- [BUG] Wrong Warning HOT 2
- [BUG] Cannot be executed without any error message. HOT 8
- [ENH] Add cythonrun (and other runnables) to entry points
- [BUG] Building executable with GCC fails HOT 3
- [ERROR] Failing to add third party python libraries to final build HOT 1
- [BUG] removal of old-style buffer special methods breaks pyarrow on py313 HOT 1
- [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 6
- 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
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.