Skip to content

Allow defining python extension types #11

@dgrunwald

Description

@dgrunwald

Basically https://docs.python.org/2/extending/newtypes.html, but from safe Rust code.

I'm currently working on this.

py_class! macro support for:

  • inheritance
  • data members
  • DST data members
  • instance methods
  • class methods
  • static methods
  • static class variables
  • def __new__
  • other special methods
  • properties
  • docstrings
  • GC integration
  • pickle support

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions