Giter Club home page Giter Club logo

Comments (7)

robertwb avatar robertwb commented on May 15, 2024

@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 avatar robertwb commented on May 15, 2024

@robertwb changed milestone to 0.9.8.2
commented

from cython.

robertwb avatar robertwb commented on May 15, 2024

@robertwb changed milestone from 0.10 to 0.11
commented

from cython.

robertwb avatar robertwb commented on May 15, 2024

scoder changed milestone from 0.11 to wishlist
commented

from cython.

robertwb avatar robertwb commented on May 15, 2024

scoder commented

Test case is in -T18.

from cython.

robertwb avatar robertwb commented on May 15, 2024

@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.

robertwb avatar robertwb commented on May 15, 2024

@roed314 commented

I just ran into this while working on Sage. It would be a nice feature....

from cython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.