-
Notifications
You must be signed in to change notification settings - Fork 2
Releases: more-abc/errortools
Releases · more-abc/errortools
Release 3.4.0
Release 3.4.0
Release date: 2026年06月09日
ChangeLog
- Optimize
_errortools/classes/protocol.py: fix__all__on Python < 3.11, remove dead code, and expand docstrings. - Fix
get()sentinel bug sodefault=Noneis correctly honored. - Add
has(),clear(), andRegistry.remove()to plugin system. - Improve test coverage for
_errortools/plugins.py. - Set
logger's floor level toLevel.TRACE(the lowest level). - Fix #53 to import
_check_methodsfrom_collections_abcmodule in_errortools/classes/abc.py. - Fixed flake8 F401 error in
errortools/__init__.py. - Improve compatibility in
errortools/__init__.pyto Python 3.11 (forExceptionGroupcompatibility).
Assets 2
Release 3.3.0
ChangeLog (3.2.0 ~ 3.3.0)
v3.2.6 - 2026年06月01日
- Deleted the 4 constants in
_errortools/const.py. - Deleted tests for
_errortools/const.py.
v3.2.5 - 2026年05月31日
- Add
.. versionadded:: 3.2in_errortools/plugin.py.
v3.2.4 - 2026年05月31日
- Add ultra-lightweight plugin system in
_errortools/plugins.py. - Expose plugin APIs to top-level errortools module.
- Add complete test suite for plugin system in
tests/test_plugins.py.
v3.2.3 - 2026年05月30日
-
- Fix max complexity error in
classes/protocol.py.
- Fix max complexity error in
v3.2.2 - 2026年05月30日
- Add
ErrortoolsDeprecationWarningwarning class. - Now the deprecated features will warn
ErrortoolsDeprecationWarning.
v3.2.1 - 2026年05月30日
- Add 14 protocol classes about exceptions (like
ExceptionLike,ImportErrorLike,ExceptionGroupLike). - Add tests for protocol classes (
test_protocols.py).
Assets 2
Release 3.2.0
ChangeLog (3.1.0 ~ 3.2.0)
v3.1.12 - 2026年05月28日
- Add
__getattr__toerrortools/__init__.pyfor lazy-loading submodules (future,logging,partial). - Deprecated aliases (
fast_ignore,InputError,AccessError,LookupError_,RuntimeError_) now emitDeprecationWarningon access. - Add
__dir__toerrortools/__init__.pysodir(errortools)includes all public names.
v3.1.11 - 2026年05月28日
- Use autoflake to fix errors in
_errortools/classes/abc.py.
v3.1.10 - 2026年05月28日
- Useing
flake8-comprehensionsandflake8-bugbearplugins in flake8.
v3.1.9 - 2026年05月28日
- Add function
_get_version_tupleto get the__version_tuple__var in_errortools/version.py.
v3.1.8 - 2026年05月24日
- Split CLI:
python -m errortools(public) andpython -m _errortools(debug). - Add
--debug,--reset,--check,--list-featuresto private debug CLI.
v3.1.7 - 2026年05月24日
- Move
timeoutdecorator to_errortools/decorator/timeout.py. - Move
retrydecorator to_errortools/decorator/retry.py. _errortools/ignore.pynow re-exports from new locations for backwards compatibility.
v3.1.6 - 2026年05月24日
- Add
suppressandconvertdecorators in_errortools/decorator/handlers.py. - Add tests for
suppressandconvertintesting/test_decorator.py.
v3.1.5 - 2026年05月24日
- Add
fast_suppress_exitC function in_errortools/_speedup.cfor optimized__exit__calls. - Optimize
super_fast_ignoreto usefast_suppress_exit, removingcastoverhead. - Optimize
super_fast_catch.__exit__with inline short-circuit check. - Remove
castcall inExceptionCollector.raise_all. - Add performance tests in
testing/benchmark/test_future_perf.py.
v3.1.4 - 2026年05月24日
- Add
BaseDescriptorbase class in_errortools/descriptor/base.pyfor shared descriptor logic. - Refactor
ErrorMsgandNonBlankErrorMsgto inherit fromBaseDescriptor. - Add tests for
BaseDescriptorintesting/test_descriptor.py.
v3.1.3 - 2026年05月23日
- Reduce cyclomatic complexity of
main()in_errortools/cli.py(C901). - Reduce cyclomatic complexity of
retry.__call__in_errortools/ignore.py(C901).
v3.1.2 - 2026年05月23日
- Changed
except ValueError, OSError:toexcept (ValueError, OSError):at_errortools/errno.pyline 85.
v3.1.1 - 2026年05月23日
- Changed
except AttributeError, TypeError:toexcept (AttributeError, TypeError):at_errortools/errno.pyline 52.
Assets 2
Release 3.1.0
Release 3.1.0
Assets 2
Release 3.0.0
Release 3.0.0, Release 3.0.0, Release 3.0.0, Release 3.0.0, Release 3.0.0!
Assets 2
Release 2.5.0
Release 2.5.0
Assets 2
Release 2.4.0
Release 2.4.0
Assets 2
Release 2.3.0
I forgot to add it before the first release.