We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As title describes.
docker run -it python:3.12 bash pip install pendulum==3.0.0 python -c "import pendulum,copy copy.deepcopy(pendulum.now() - pendulum.now().subtract(days=1)) " # Traceback (most recent call last): # File "<string>", line 2, in <module> # File "/usr/local/lib/python3.12/copy.py", line 143, in deepcopy # y = copier(memo) # ^^^^^^^^^^^^ # File "/usr/local/lib/python3.12/site-packages/pendulum/duration.py", line 464, in __deepcopy__ # return self.__class__( # ^^^^^^^^^^^^^^^ # TypeError: Interval.__new__() got an unexpected keyword argument 'days'
#851
The text was updated successfully, but these errors were encountered:
Make sure Interval can be deepcopy-ed, fix python-pendulum#850
6cab5ff
ab5e95b
No branches or pull requests
Issue
As title describes.
Reproduce
Potential Fix
#851
The text was updated successfully, but these errors were encountered: