-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Incorrect parsing of ISO 8601 durations strings in Timedelta constructor #51928
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
BUG: Incorrect parsing of ISO 8601 durations strings in Timedelta constructor #51928
Conversation
a7a4bb8
to
03533df
Compare
d4e29bb
to
c9c3b61
Compare
…duration-parsing-feature
c9c3b61
to
457c7df
Compare
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen. |
@mroeschke I would like to reopen this pull request, I have updated it to the main branch. Issues #51882 and #48122 are still not resolved. |
thanks for your PR I do feel a bit nervous about this (as I do about the original implementation, tbh...), and think this might be a good case for a parametric test would it be possible to add some reference implementation, such as isoduration, and then to use hypothesis to generate random tests in which you assert that the output matches that of the reference implementation? |
@MarcoGorelli I agree that is a good idea. |
thanks - maybe there's something else we can use then? will take a look |
Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen. |
Added type annotations to new arguments/methods/functions.doc/source/whatsnew/v2.1.0.rst
file if fixing a bug or adding a new feature.