Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix infinite daterange issue when start and stop is identical #302

Merged
merged 2 commits into from
Dec 8, 2022

Conversation

mezbaul-h
Copy link
Contributor

Fixes #297.

@mahmoud
Copy link
Owner

mahmoud commented Dec 8, 2022

Good catch, and good fix. The test is much appreciated, as well. Thanks for this!

@mahmoud mahmoud merged commit 93185b2 into mahmoud:master Dec 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

daterange(start, stop, inclusive=True) returns an infinite iterator when start is same as stop
2 participants