Skip to content

Conversation

@Abdu11ahBilal
Copy link
Contributor

Fix the error of Duration deepcopy not including weeks.

Fixes: #870

Pull Request Check List

  • Added tests for changed code.

@Abdu11ahBilal
Copy link
Contributor Author

Abdu11ahBilal commented Jan 13, 2026

@Secrus @sdispater @ashb this pull request is ready for review. Kindly review it, thanks!

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 14, 2026

Merging this PR will not alter performance

✅ 1 untouched benchmark


Comparing Abdu11ahBilal:duration-deepcopy-fix (751720f) with master (e00608b)

Open in CodSpeed

@ashb ashb changed the title Duration deepcopy fix Fix missing weeks on Duration when deepcopying Jan 15, 2026
@ashb ashb merged commit 754ed58 into python-pendulum:master Jan 15, 2026
21 checks passed
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.

deepcopy of Duration does not include weeks

2 participants