-
-
Notifications
You must be signed in to change notification settings - Fork 400
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: python-pendulum/pendulum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: python-pendulum/pendulum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 17 commits
- 22 files changed
- 12 contributors
Commits on Apr 23, 2025
-
Configuration menu - View commit details
-
Copy full SHA for fa1a4f2 - Browse repository at this point
Copy the full SHA fa1a4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91d0c1e - Browse repository at this point
Copy the full SHA 91d0c1eView commit details
Commits on Apr 24, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 71e37f6 - Browse repository at this point
Copy the full SHA 71e37f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1034b18 - Browse repository at this point
Copy the full SHA 1034b18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9826867 - Browse repository at this point
Copy the full SHA 9826867View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc386be - Browse repository at this point
Copy the full SHA fc386beView commit details
Commits on Jun 22, 2025
-
feat: add Hindi (hi) localization support (#902)
* feat: add Hindi (hi) localization support * fix: formatting of tests/localization/test_hi.py to use double quote strings
Configuration menu - View commit details
-
Copy full SHA for d40ab96 - Browse repository at this point
Copy the full SHA d40ab96View commit details
Commits on Jul 16, 2025
-
Configuration menu - View commit details
-
Copy full SHA for c8068a7 - Browse repository at this point
Copy the full SHA c8068a7View commit details -
Make empty durations an error in pure-Python parser
Some of Debian's test runners noticed that the pydantic-extra-types tests are failing on 32-bit architectures: ______________________ test_invalid_zero_duration_string _______________________ def test_invalid_zero_duration_string(): """'P' is not a valid ISO 8601 duration and should raise a validation error.""" > with pytest.raises(ValidationError): E Failed: DID NOT RAISE <class 'pydantic_core._pydantic_core.ValidationError'> tests/test_pendulum_dt.py:447: Failed Debian currently has pendulum 3.0.0, which disabled the Rust extensions if `struct.calcsize("P") == 4`, and the Rust and Python parsers disagree about how to handle an empty duration: the Rust parser reports an error, while the Python parser returns `Duration()`. 3.1.0 removes that particular limitation on using Rust extensions on 32-bit architectures, but the parser discrepancy still seems to be present. I don't have access to the full text of the standard, but Wikipedia's summary says 'However, at least one element must be present, thus "P" is not a valid representation for a duration of 0 seconds', so I think the Rust parser is correct. Adjust the Python parser to match.
Configuration menu - View commit details
-
Copy full SHA for 4de9ee8 - Browse repository at this point
Copy the full SHA 4de9ee8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b45e22d - Browse repository at this point
Copy the full SHA b45e22dView commit details
Commits on Jul 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 58b935d - Browse repository at this point
Copy the full SHA 58b935dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b6761 - Browse repository at this point
Copy the full SHA 51b6761View commit details -
Configuration menu - View commit details
-
Copy full SHA for 063eea7 - Browse repository at this point
Copy the full SHA 063eea7View commit details -
Update src/pendulum/duration.py
Co-authored-by: Vasco Schiavo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95d75fc - Browse repository at this point
Copy the full SHA 95d75fcView commit details -
Apply suggestions from code review
Separating out fix from adding seoncds_n_decimal
Configuration menu - View commit details
-
Copy full SHA for ebe7e79 - Browse repository at this point
Copy the full SHA ebe7e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ab00f3 - Browse repository at this point
Copy the full SHA 2ab00f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2adcc02 - Browse repository at this point
Copy the full SHA 2adcc02View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.1.0...master