eventlet
and gevent
exclusions for Python 3.13 when possible.Use ProxyException
instead of Exception
in one place.
Activate Pypy 3.10 and Python 3.13 on GitHub CI.
Add delayed pool parameter initialization with _set_pool
.
Improve documentation.
Add workaround against Flask --debug
initial reload, triggered by setting
environment variable PPP_WERKZEUG_WORKAROUND
.
Fix blocking conditions due to improper locking from Proxy
.
Improve debugging experience.
Improve error message and debugging code.
Do not forget to release semaphore token in unlucky borrowing.
Add id counter to help identify multiple pools.
Drop mypy
check.
Release semaphore while still under lock to reduce the hold time.
Improve doc and source comments.
Add shutdown
on Pool
.
Add ruff
check.
Fix detection of the debugging level status.
Add _has_obj
method to test if an error occured on get.
Add more configuration data to stats.
Add more guarded debugging traces.
Pass pyright
and enable it in CI.
Add and use ruff
instead of flake8
.
Collect and show more statistics.
Improve stats output for semaphore.
Improve collected stats. Clean-up code, reducing loc significantly.
Rework internals to minimize lock time. Show timestamp in ISO format.
Do not generate "None"
but None
on undefined semaphore stats.
Add delay
parameter for forcing house keeping round delays.
Add health check hook.
Rework and improve statistics.
Improve documentation.
Drop close
and max_delay
upward compatibility parameters.
Add running time to stats.
Add stats
parameter and stats
method to Pool
.
Add more stats. Improve housekeeping resilience.
Improved debugging information.
Show more pool data.
Improve overall resilience in case of various errors.
Improve Pool
documentation.
Add opener
, getter
, retter
and closer
pool hooks.
Fix log_level
handling.
Add tracer
parameter to help debugging on pool objects.
Add log_level
parameter.
Add pyright
(non yet working) check.
On second thought, allow both warning and killing long running objects.
Kill long running objects instead of just warning about them.
Add Python 3.12 tests.
Add support for more local
scopes: WERKZEUG
, EVENTLET
, GEVENT
.
Use pyproject.toml
only.
Require Python 3.10 for simpler code.
Add max_using_delay
for warnings.
Add with
support to both Pool
and Proxy
classes.
Add module-specific exceptions: PoolException
, ProxyException
.
Wait for available objects when max_size
is reached.
Add min_size
parameter to Proxy
.
Ensure that pool always hold min_size
objects.
Add min size and max delay feature to Pool
.
Minor fixes for mypy
.
Test with Python 3.12.
Improved documentation.
Add some documentation.
Initial release with code extracted from FlaskSimpleAuth
.