Skip to content

Compatibility with dict-expecting __deepcopy__ #31

@Bobronium

Description

@Bobronium

Tracking issue for libraries that type-check the memo argument in __deepcopy__.

See Memo handling for explanation and workarounds.

Library Impl Dict usage Fix Status
pydantic-core Rust/PyO3 signature only (1, 2) PyDict -> PyAny 🐢 works via fallback
fastuuid Rust/PyO3 signature only (1) PyDict -> PyAny 🐢 works via fallback
scyllapy Rust/PyO3 signature only (1, 2, 3, 4) PyDict -> PyAny 🐢 works via fallback
tantivy-py Rust/PyO3 signature only (1) PyDict -> PyAny 🐢 works via fallback
blender-mathutils C runtime checked & discarded (1) remove &PyDict_Type constraint 🐢 works via fallback

If you encounter the warning with a library not listed, comment with the warning output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions