| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Explicitly set the writeable flag in from_dlpack as the inverse of the dlpack read_only flag. Previously it was not actually being set. Additionally, update the readonly logic such that legacy unversioned DLPacks are never writeable, for compatibility with old behavior. Fixes numpy#28599
| Back | FazBrowse Home | New Git URL |
Backport of #28600.
Explicitly set the writeable flag in from_dlpack as the inverse of the dlpack read_only flag. Previously it was not actually being set.
Additionally, update the readonly logic such that legacy unversioned DLPacks are never writeable, for compatibility with old behavior.
Fixes #28599