Skip to content

Allow #[new] to return existing objects #2384

@davidhewitt

Description

@davidhewitt

I don't think it's possible for #[new] in PyO3 to return an existing object (at the moment), though it really should be.

Originally posted by @davidhewitt in #2382 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions