Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

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
Choose a base ref
...
head repository: python-pendulum/pendulum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 17 commits
  • 22 files changed
  • 12 contributors

Commits on Apr 23, 2025

  1. Configuration menu
    Copy the full SHA
    fa1a4f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91d0c1e View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. Configuration menu
    Copy the full SHA
    71e37f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1034b18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9826867 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fc386be View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2025

  1. 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
    gjaynir0508 authored Jun 22, 2025
    Configuration menu
    Copy the full SHA
    d40ab96 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2025

  1. Make sure Interval can be deepcopy-ed, fix #850

    aploium authored and ashb committed Jul 16, 2025
    Configuration menu
    Copy the full SHA
    c8068a7 View commit details
    Browse the repository at this point in the history
  2. 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.
    cjwatson authored and ashb committed Jul 16, 2025
    Configuration menu
    Copy the full SHA
    4de9ee8 View commit details
    Browse the repository at this point in the history
  3. fix parsing invalid interval string

    rchindris authored and ashb committed Jul 16, 2025
    Configuration menu
    Copy the full SHA
    b45e22d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2025

  1. Fixed pluralization in test

    Jesse Harwin authored and ashb committed Jul 17, 2025
    Configuration menu
    Copy the full SHA
    58b935d View commit details
    Browse the repository at this point in the history
  2. Added test for extra decimal places for subsecond strings

    Jesse Harwin authored and ashb committed Jul 17, 2025
    Configuration menu
    Copy the full SHA
    51b6761 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    063eea7 View commit details
    Browse the repository at this point in the history
  4. Update src/pendulum/duration.py

    Co-authored-by: Vasco Schiavo <[email protected]>
    2 people authored and ashb committed Jul 17, 2025
    Configuration menu
    Copy the full SHA
    95d75fc View commit details
    Browse the repository at this point in the history
  5. Apply suggestions from code review

    Separating out fix from adding seoncds_n_decimal
    ashb committed Jul 17, 2025
    Configuration menu
    Copy the full SHA
    ebe7e79 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2ab00f3 View commit details
    Browse the repository at this point in the history
  7. Update src/pendulum/duration.py

    ashb committed Jul 17, 2025
    Configuration menu
    Copy the full SHA
    2adcc02 View commit details
    Browse the repository at this point in the history
Loading