i2mint / i2

Python Mint creation, manipulation, and use
Apache License 2.0
2 stars 1 forks source link

Add an argument to `Sig.wrap` to make a copy of callable before transforming #54

Closed thorwhalen closed 1 year ago

thorwhalen commented 1 year ago

Mentioned in this TODO:

"Should we make a copy/wrap of the function so as to not override decorated function itself? Make sure the func remains pickalable!"

For now, we'll just add the ability to do make a copy during wrapping, and change the TODO to be "should we make copying the default"?

thorwhalen commented 1 year ago

closed by #54