PyO3 / PyO3/pyo3

feature suggestion: extending PyTuple

Open
#1,647 8 comments 3 reactions 1 assignee View on GitHub

@davidhewitt is already working on this.

Since Jun 5, 2021.

1.0-candidate
Dominant language
Rust
Stars
16.2k
Forks
1k
Avg merge
2d 6h
Merged PRs (30d)
66

Description

Right now it is impossible to

#[pyclass(extends=PyTuple)]
struct Bla {
// ...
}

I'd like to do that to get a rust namedtuple like class.

What would that entail?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.