Avatar for the python-pendulum user
python-pendulum
pendulum
BlogDocsChangelog

Performance History

Latest Results

fix: allow None for exc_tb in Traveller.__exit__ annotations (#974) CPython calls __exit__(None, None, None) when a with block exits without an exception, so all three parameters must accept None. exc_type and exc_val were already optional on the travellers, but exc_tb was annotated TracebackType without | None, so a type checker infers the traveller is not a valid context manager and reports invalid-context-manager on with pendulum.travel_to(...). Annotate exc_tb as TracebackType | None in BaseTraveller.__exit__ and the time_machine-backed Traveller.__exit__ (the other Traveller subclasses inherit from BaseTraveller). Closes #973
master
14 hours ago
fix: raise ParserError for empty string in parse()
SAY-5:fix-parse-empty-string
2 months ago
fix: handle OverflowError in timestamp fallbacks
parinporecha:fix/from-timestamp-negative-values
2 months ago
fix: handle negative timestamps in DateTime constructors
parinporecha:fix/from-timestamp-negative-values
2 months ago

Latest Branches

CodSpeed Performance Gauge
0%
fix: allow None for exc_tb in Traveller.__exit__ type annotations#974
3 days ago
eda43e4
madhavcodez:fix/traveller-exit-type-973
CodSpeed Performance Gauge
0%
fix: preserve microsecond precision in Duration for large values#969
1 month ago
fa6a987
SAY-5:fix-duration-microsecond-precision
CodSpeed Performance Gauge
0%
2 months ago
4d6aa6a
SAY-5:fix-parse-empty-string
© 2026 CodSpeed Technology
Home Terms Privacy Docs