python-pendulum
pendulum
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Bump pymdown-extensions from 10.12 to 10.16.1 Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.12 to 10.16.1. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.12...10.16.1) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: 10.16.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/pip/pymdown-extensions-10.16.1
3 days ago
Don't eagerly load the Locale, nor pytest until it's needed. The main problem here was that importing pendulum.testing.traveller was importing time_machine, which was also importing pytest. And creating the DifferenceFormatter at import time was also loading the locale. Both of these are "optional" in the sense that there is lots you can do in Pendulum without ever using them, so we can relatively straightforwardly delay things until they are requested. Tested by running `uv run --with time_machine -p 3.12 python -Ximporttime -c 'import pendulum'`: - Before: ~50-64ms (a lot of noise) - After: 20-29ms Not a huge slow down, but I figured it was worth it anyway, especially not not load pytest.
lazyload-or-lazy-create
9 days ago
Don't eagerly load the Locale, nor pytest until it's needed. The main problem here was that importing pendulum.testing.traveller was importing time_machine, which was also importing pytest. And creating the DifferenceFormatter at import time was also loading the locale. Both of these are "optional" in the sense that there is lots you can do in Pendulum without ever using them, so we can relatively straightforwardly delay things until they are requested. Tested by running `uv run --with time_machine -p 3.12 python -Ximporttime -c 'import pendulum'`: - Before: ~50-64ms (a lot of noise) - After: 20-29ms Not a huge slow down, but I figured it was worth it anyway, especially not not load pytest.
lazyload-or-lazy-create
9 days ago
Don't eagerly load the Locale, nor pytest until it's needed. The main problem here was that importing pendulum.testing.traveller was importing time_machine, which was also importing pytest. And creating the DifferenceFormatter at import time was also loading the locale. Both of these are "optional" in the sense that there is lots you can do in Pendulum without ever using them, so we can relatively straightforwardly delay things until they are requested. Tested by running `uv run --with time_machine -p 3.12 python -Ximporttime -c 'import pendulum'`: - Before: ~50-64ms (a lot of noise) - After: 20-29ms Not a huge slow down, but I figured it was worth it anyway, especially not not load pytest.
lazyload-or-lazy-create
10 days ago
Don't eagerly load the Locale, nor pytest until it's needed. The main problem here was that importing pendulum.testing.traveller was importing time_machine, which was also importing pytest. And creating the DifferenceFormatter at import time was also loading the locale. Both of these are "optional" in the sense that there is lots you can do in Pendulum without ever using them, so we can relatively straightforwardly delay things until they are requested. Tested by running `uv run --with time_machine -p 3.12 python -Ximporttime -c 'import pendulum'`: - Before: ~50-64ms (a lot of noise) - After: 20-29ms Not a huge slow down, but I figured it was worth it anyway, especially not not load pytest.
lazyload-or-lazy-create
10 days ago
feat: add 3.14 to release and test matrix (#923)
master
2 months ago
feat: add 3.14 to release and test matrix
ollz272:3.14
2 months ago
Fix documentation example of fluent helpers The REPL output now matches the instructions. Extra info has been added to aid with the explanation as well for those who are not aware of DST.
oliverw1:docs/fix-fluent-helpers-example
2 months ago
Active Branches
Bump pymdown-extensions from 10.12 to 10.16.1
last run
3 days ago
#928
CodSpeed Performance Gauge
0%
Don't eagerly load the Locale, nor pytest until it's needed.
last run
9 days ago
#926
CodSpeed Performance Gauge
0%
Fix documentation example of fluent helpers
last run
2 months ago
#920
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs