Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: more-abc/errortools

Release 3.4.0

09 Jun 11:49
@aiwonderland aiwonderland

Choose a tag to compare

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 so default=None is correctly honored.
  • Add has(), clear(), and Registry.remove() to plugin system.
  • Improve test coverage for _errortools/plugins.py.
  • Set logger's floor level to Level.TRACE (the lowest level).
  • Fix #53 to import _check_methods from _collections_abc module in _errortools/classes/abc.py.
  • Fixed flake8 F401 error in errortools/__init__.py.
  • Improve compatibility in errortools/__init__.py to Python 3.11 (for ExceptionGroup compatibility).
Assets 2
Loading

Release 3.3.0

02 Jun 12:35
@aiwonderland aiwonderland

Choose a tag to compare

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.2 in _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.

v3.2.2 - 2026年05月30日

  • Add ErrortoolsDeprecationWarning warning 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).
Loading

Release 3.2.0

29 May 10:30
@aiwonderland aiwonderland

Choose a tag to compare

ChangeLog (3.1.0 ~ 3.2.0)

v3.1.12 - 2026年05月28日

  • Add __getattr__ to errortools/__init__.py for lazy-loading submodules (future, logging, partial).
  • Deprecated aliases (fast_ignore, InputError, AccessError, LookupError_, RuntimeError_) now emit DeprecationWarning on access.
  • Add __dir__ to errortools/__init__.py so dir(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-comprehensions and flake8-bugbear plugins in flake8.

v3.1.9 - 2026年05月28日

  • Add function _get_version_tuple to get the __version_tuple__ var in _errortools/version.py.

v3.1.8 - 2026年05月24日

  • Split CLI: python -m errortools (public) and python -m _errortools (debug).
  • Add --debug, --reset, --check, --list-features to private debug CLI.

v3.1.7 - 2026年05月24日

  • Move timeout decorator to _errortools/decorator/timeout.py.
  • Move retry decorator to _errortools/decorator/retry.py.
  • _errortools/ignore.py now re-exports from new locations for backwards compatibility.

v3.1.6 - 2026年05月24日

  • Add suppress and convert decorators in _errortools/decorator/handlers.py.
  • Add tests for suppress and convert in testing/test_decorator.py.

v3.1.5 - 2026年05月24日

  • Add fast_suppress_exit C function in _errortools/_speedup.c for optimized __exit__ calls.
  • Optimize super_fast_ignore to use fast_suppress_exit, removing cast overhead.
  • Optimize super_fast_catch.__exit__ with inline short-circuit check.
  • Remove cast call in ExceptionCollector.raise_all.
  • Add performance tests in testing/benchmark/test_future_perf.py.

v3.1.4 - 2026年05月24日

  • Add BaseDescriptor base class in _errortools/descriptor/base.py for shared descriptor logic.
  • Refactor ErrorMsg and NonBlankErrorMsg to inherit from BaseDescriptor.
  • Add tests for BaseDescriptor in testing/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: to except (ValueError, OSError): at _errortools/errno.py line 85.

v3.1.1 - 2026年05月23日

  • Changed except AttributeError, TypeError: to except (AttributeError, TypeError): at _errortools/errno.py line 52.
Loading

Release 3.1.0

21 May 23:54
@aiwonderland aiwonderland

Choose a tag to compare

Release 3.1.0

Loading

Release 3.0.0

03 May 11:20
@aiwonderland aiwonderland

Choose a tag to compare

Release 3.0.0, Release 3.0.0, Release 3.0.0, Release 3.0.0, Release 3.0.0!

Loading

Release 2.5.0

01 May 07:10
@aiwonderland aiwonderland

Choose a tag to compare

Release 2.5.0

Loading

Release 2.4.0

23 Apr 12:16
@aiwonderland aiwonderland

Choose a tag to compare

Release 2.4.0

Loading

Release 2.3.0

19 Apr 03:28
@aiwonderland aiwonderland

Choose a tag to compare

I forgot to add it before the first release.

Loading

AltStyle によって変換されたページ (->オリジナル) /