Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handle import strings of numpy scalars #678

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

mmckerns
Copy link
Member

@mmckerns mmckerns commented Sep 10, 2024

Summary

fixes #674 and other handling of numpy scalars in dill.source

Checklist

Documentation and Tests

  • Added relevant tests that run with python tests/__main__.py, and pass.
  • Added relevant documentation that builds in sphinx without error.
  • Artifacts produced with the main branch work as expected under this PR.

Release Management

  • Added "Fixes #NNN" in the PR body, referencing the issue (#NNN) it closes.
  • Added a comment to issue #NNN, linking back to this PR.
  • Added rationale for any breakage of backwards compatibility.

@mmckerns mmckerns added this to the dill-0.3.9 milestone Sep 10, 2024
@mmckerns mmckerns merged commit 15d7c6d into master Sep 10, 2024
3 of 4 checks passed
@mmckerns mmckerns deleted the scalarsource branch September 10, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getsource yields python scalars for numpy scalars
1 participant