guan404ming opened a new pull request, #416:
URL: https://github.com/apache/tvm-ffi/pull/416

   ## Why
   
   Dataclasses need copy support for creating shallow copies, deep copies, and 
modified instances.
   
   ## How
   
   - Add `__copy__` for `copy.copy()` support
   - Add `__deepcopy__` for `copy.deepcopy()` support
   - Add `__replace__` for creating modified copies (Python 3.13+ 
`dataclasses.replace()` compatible)
   - Bypass custom `__init__` by calling FFI constructor directly")


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to