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

Improve debugability of deepcopy errors #839

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ZipFile
Copy link
Contributor

@ZipFile ZipFile commented Dec 14, 2024

This PR indirectly addresses issues mentioned in #712 and #734 by adding more specialized versions of deepcopy for providers that accept args and/or kwargs (Factory, List, etc...).

This is not a solution for the issues mentioned above, but it will help users to figure out what caused the error, since deepcopy stack traces are not informative at all.

@coveralls
Copy link

coveralls commented Dec 14, 2024

Coverage Status

coverage: 94.195% (+0.08%) from 94.119%
when pulling 9950093 on better-deepcopy-errors
into aa56b70 on develop.

@ZipFile ZipFile force-pushed the better-deepcopy-errors branch from e9f705f to 9950093 Compare December 14, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants