=================
zope.exceptions
=================
.. image:: https://img.shields.io/pypi/v/zope.exceptions.svg
:target: https://pypi.python.org/pypi/zope.exceptions/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/zope.exceptions.svg
:target: https://pypi.org/project/zope.exceptions/
:alt: Supported Python versions
.. image:: https://github.com/zopefoundation/zope.exceptions/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.exceptions/actions/workflows/tests.yml
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.exceptions/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.exceptions?branch=master
.. image:: https://readthedocs.org/projects/zopeexceptions/badge/?version=latest
:target: https://zopeexceptions.readthedocs.io/en/latest/
:alt: Documentation Status
This package contains exception exceptions and implementations which are so
general purpose that they don't belong in Zope application-specific packages.
Please see https://zopeexceptions.readthedocs.io/ for the documentation.
===========================
zope.exceptions Changelog
===========================
5.2 (2024-10-30)
================
- Drop support for Python 3.7.
- Add support for Python 3.13.
5.1 (2024-06-07)
================
- Add support for Python 3.12.
- Include code from PEP302 loaders in tracebacks.
5.0.1 (2023-07-11)
==================
- Fix issue introduced in the last release which is breaking
``HTMLExceptionFormatter`` when using non-str ``__traceback_info__``.
5.0 (2023-06-29)
================
- Drop support for Python 2.7, 3.5, 3.6.
4.6 (2022-11-10)
================
- Catch exceptions in ``formatExceptionOnly``.
Getting an exception when reporting about a different exception is not helpful.
On Python 3.11 this is needed for some HTTPErrors.
- Add official support for Python 3.11.
4.5 (2022-02-11)
================
- Add official support for Python 3.9 and 3.10.
- Undo dropping support for Python 3.5.
- Drop support for running the tests using ``python setup.py test``.
4.4 (2020-07-16)
================
- Add support for Python 3.8 and preliminary support for 3.9b4.
- Drop support for Python 3.4 and 3.5.
4.3 (2018-10-04)
================
- Add support for Python 3.7.
4.2.0 (2017-09-12)
==================
- Add support for Python 3.6.
- Drop support for Python 3.3.
- Fix handling of unicode supplemental traceback information on
Python 2. Now such values are always encoded to UTF-8; previously
the results were undefined and depended on system encodings and the
values themselves. See `issue 1 <https://github.com/zopefoundation/zope.exceptions/issues/1>`_.
4.1.0 (2017-04-12)
==================
- Drop support for Python 2.6 and 3.2.
- Make ``exceptionformatter.extract_stack`` signature comply with
``traceback.extract_stack``
- Add support for Python 3.5.
4.0.8 (2015-08-13)
==================
- Fixes around ``TextExceptionFormatter`` ``limit``: ``formatException``
and ``extractStack`` was cutting the traceback at the bottom,
at the most interesting point. Now it will cut from the middle.
Some text about the missing entries will be inserted.
- Maybe fix for ``extractStack``, it did not detect recursions in the frames.
4.0.7 (2014-03-19)
==================
- Added explicit support for Python 3.4.
- Updated ``boostrap.py`` to version 2.2.
4.0.6 (2013-02-28)
==================
- Make sure that ``setup.py`` finds all tests. Now tox runs them all as well.
- Fix failing test under Python 3.
- Made buildout work under Python 3 and Buildout 2.
4.0.5 (2012-12-31)
==================
- Fleshed out PyPI Trove classifiers.
- Fixed a test failure under Python 2.6.
4.0.4 (2012-12-13)
==================
- Release with a fixed MANIFEST.in (without ``docs/``)
4.0.3 (2012-12-10)
==================
- Fixed format_exception(..., as_html=True) not to HTML-escape the '<br />'
it adds to the exception value.
4.0.2 (2012-11-21)
==================
- Test Python 3.3 support under tox.
4.0.1 (2012-08-20)
==================
- Fixed optional dependency code for `'zope.security`` to work under Python 3.3.
4.0.0.1 (2012-05-16)
====================
- Fixed rendering of package docs on PyPI.
4.0.0 (2012-05-16)
==================
- Automated build of Sphinx HTML docs and running doctest snippets via tox.
- Added Sphinx documentation.
- Added support for continuous integration using ``tox`` and ``jenkins``.
- Removed use of '2to3' and associated fixers when installing under Py3k.
The code is now in a "compatible subset" which supports Python 2.6, 2.7,
and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language
spec).
- 100% unit test coverage.
- Dropped explicit support for Python 2.4 / 2.5 / 3.1.
- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
``nose`` and ``coverage``).
- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
3.7.1 (2012-03-28)
==================
- Fix: missed to reverse extractStack entries
3.7.0 (2012-03-28)
==================
- Added TextExceptionFormatter.extractStack and extract_stack
3.6.2 (2012-03-28)
==================
- Fallback to traceback.format_tb when the formatter is called recursively.
i.e. Don't let errors in the formatter pass silently.
- Fix deprecated unittest functions: ``assert_`` and ``assertEquals``.
3.6.1 (2010-07-06)
==================
- Fixed tests to work under Python 2.7.
- PEP8 cleanup and removed obsolete build infrastructure files.
3.6.0 (2010-05-02)
==================
- Added support to bootstrap on Jython.
- Added Python 3 support.
- The dependency on zope.testing seemed spurious, possibly a rest of a real
dependency that is gone now. I removed it.
3.5.2 (2008-04-30)
==================
- Updated CHANGES.txt.
3.5.1 (2008-04-28)
==================
- Reverted changes in 3.5.0.
3.5.0
=====
- Added the capability for exceptions to be formatted line-by-line.
Unfortunately, also introduced a bug cause each line of the exception to be
its own log message.
3.4.0 (2007-10-02)
==================
- Updated package meta-data.
3.4.0b2 (2007-08-14)
====================
- Removed superfluous dependency on ``zope.deprecation``.
3.4.0b1 (2007-07-09)
====================
- Corresponds to the version of the ``zope.exceptions`` package shipped as
part of the Zope 3.4.0b1 release.
3.2.0 (2006-01-05)
==================
- Corresponds to the version of the ``zope.exceptions`` package shipped as part of
the Zope 3.2.0 release.
- Deprecated the ``INotFoundError`` interface and the corresponding
``NotFoundError`` exception class, in favor of "standard" exceptions
``AttributeError``, ``KeyError``). The deprecated items will be removed in
Zope 3.3.
3.0.0 (2004-11-07)
==================
- Corresponds to the version of the zope.exceptions package shipped as part of
the Zope X3.0.0 release.
Raw data
{
"_id": null,
"home_page": "https://github.com/zopefoundation/zope.exceptions",
"name": "zope.exceptions",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "zope exceptions",
"author": "Zope Foundation and Contributors",
"author_email": "zope-dev@zope.dev",
"download_url": "https://files.pythonhosted.org/packages/94/85/b4947d4c04b8e49ee53e60cd834304e7d6a0392c4b587ab658f13389d500/zope.exceptions-5.2.tar.gz",
"platform": null,
"description": "=================\n zope.exceptions\n=================\n\n.. image:: https://img.shields.io/pypi/v/zope.exceptions.svg\n :target: https://pypi.python.org/pypi/zope.exceptions/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.exceptions.svg\n :target: https://pypi.org/project/zope.exceptions/\n :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.exceptions/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/zopefoundation/zope.exceptions/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.exceptions/badge.svg?branch=master\n :target: https://coveralls.io/github/zopefoundation/zope.exceptions?branch=master\n\n.. image:: https://readthedocs.org/projects/zopeexceptions/badge/?version=latest\n :target: https://zopeexceptions.readthedocs.io/en/latest/\n :alt: Documentation Status\n\nThis package contains exception exceptions and implementations which are so\ngeneral purpose that they don't belong in Zope application-specific packages.\n\nPlease see https://zopeexceptions.readthedocs.io/ for the documentation.\n\n\n===========================\n zope.exceptions Changelog\n===========================\n\n5.2 (2024-10-30)\n================\n\n- Drop support for Python 3.7.\n\n- Add support for Python 3.13.\n\n\n5.1 (2024-06-07)\n================\n\n- Add support for Python 3.12.\n\n- Include code from PEP302 loaders in tracebacks.\n\n\n5.0.1 (2023-07-11)\n==================\n\n- Fix issue introduced in the last release which is breaking\n ``HTMLExceptionFormatter`` when using non-str ``__traceback_info__``.\n\n\n5.0 (2023-06-29)\n================\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n4.6 (2022-11-10)\n================\n\n- Catch exceptions in ``formatExceptionOnly``.\n Getting an exception when reporting about a different exception is not helpful.\n On Python 3.11 this is needed for some HTTPErrors.\n\n- Add official support for Python 3.11.\n\n\n4.5 (2022-02-11)\n================\n\n- Add official support for Python 3.9 and 3.10.\n\n- Undo dropping support for Python 3.5.\n\n- Drop support for running the tests using ``python setup.py test``.\n\n\n4.4 (2020-07-16)\n================\n\n- Add support for Python 3.8 and preliminary support for 3.9b4.\n\n- Drop support for Python 3.4 and 3.5.\n\n\n4.3 (2018-10-04)\n================\n\n- Add support for Python 3.7.\n\n\n4.2.0 (2017-09-12)\n==================\n\n- Add support for Python 3.6.\n\n- Drop support for Python 3.3.\n\n- Fix handling of unicode supplemental traceback information on\n Python 2. Now such values are always encoded to UTF-8; previously\n the results were undefined and depended on system encodings and the\n values themselves. See `issue 1 <https://github.com/zopefoundation/zope.exceptions/issues/1>`_.\n\n4.1.0 (2017-04-12)\n==================\n\n- Drop support for Python 2.6 and 3.2.\n\n- Make ``exceptionformatter.extract_stack`` signature comply with\n ``traceback.extract_stack``\n\n- Add support for Python 3.5.\n\n4.0.8 (2015-08-13)\n==================\n\n- Fixes around ``TextExceptionFormatter`` ``limit``: ``formatException``\n and ``extractStack`` was cutting the traceback at the bottom,\n at the most interesting point. Now it will cut from the middle.\n Some text about the missing entries will be inserted.\n\n- Maybe fix for ``extractStack``, it did not detect recursions in the frames.\n\n4.0.7 (2014-03-19)\n==================\n\n- Added explicit support for Python 3.4.\n\n- Updated ``boostrap.py`` to version 2.2.\n\n\n4.0.6 (2013-02-28)\n==================\n\n- Make sure that ``setup.py`` finds all tests. Now tox runs them all as well.\n\n- Fix failing test under Python 3.\n\n- Made buildout work under Python 3 and Buildout 2.\n\n\n4.0.5 (2012-12-31)\n==================\n\n- Fleshed out PyPI Trove classifiers.\n\n- Fixed a test failure under Python 2.6.\n\n\n4.0.4 (2012-12-13)\n==================\n\n- Release with a fixed MANIFEST.in (without ``docs/``)\n\n\n4.0.3 (2012-12-10)\n==================\n\n- Fixed format_exception(..., as_html=True) not to HTML-escape the '<br />'\n it adds to the exception value.\n\n\n4.0.2 (2012-11-21)\n==================\n\n- Test Python 3.3 support under tox.\n\n\n4.0.1 (2012-08-20)\n==================\n\n- Fixed optional dependency code for `'zope.security`` to work under Python 3.3.\n\n\n4.0.0.1 (2012-05-16)\n====================\n\n- Fixed rendering of package docs on PyPI.\n\n\n4.0.0 (2012-05-16)\n==================\n\n- Automated build of Sphinx HTML docs and running doctest snippets via tox.\n\n- Added Sphinx documentation.\n\n- Added support for continuous integration using ``tox`` and ``jenkins``.\n\n- Removed use of '2to3' and associated fixers when installing under Py3k.\n The code is now in a \"compatible subset\" which supports Python 2.6, 2.7,\n and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language\n spec).\n\n- 100% unit test coverage.\n\n- Dropped explicit support for Python 2.4 / 2.5 / 3.1.\n\n- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs\n ``nose`` and ``coverage``).\n\n- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).\n\n\n3.7.1 (2012-03-28)\n==================\n\n- Fix: missed to reverse extractStack entries\n\n\n3.7.0 (2012-03-28)\n==================\n\n- Added TextExceptionFormatter.extractStack and extract_stack\n\n\n3.6.2 (2012-03-28)\n==================\n\n- Fallback to traceback.format_tb when the formatter is called recursively.\n i.e. Don't let errors in the formatter pass silently.\n\n- Fix deprecated unittest functions: ``assert_`` and ``assertEquals``.\n\n3.6.1 (2010-07-06)\n==================\n\n- Fixed tests to work under Python 2.7.\n\n- PEP8 cleanup and removed obsolete build infrastructure files.\n\n\n3.6.0 (2010-05-02)\n==================\n\n- Added support to bootstrap on Jython.\n\n- Added Python 3 support.\n\n- The dependency on zope.testing seemed spurious, possibly a rest of a real\n dependency that is gone now. I removed it.\n\n\n3.5.2 (2008-04-30)\n==================\n\n- Updated CHANGES.txt.\n\n\n3.5.1 (2008-04-28)\n==================\n\n- Reverted changes in 3.5.0.\n\n\n3.5.0\n=====\n\n- Added the capability for exceptions to be formatted line-by-line.\n Unfortunately, also introduced a bug cause each line of the exception to be\n its own log message.\n\n\n3.4.0 (2007-10-02)\n==================\n\n- Updated package meta-data.\n\n\n3.4.0b2 (2007-08-14)\n====================\n\n- Removed superfluous dependency on ``zope.deprecation``.\n\n\n3.4.0b1 (2007-07-09)\n====================\n\n- Corresponds to the version of the ``zope.exceptions`` package shipped as\n part of the Zope 3.4.0b1 release.\n\n\n3.2.0 (2006-01-05)\n==================\n\n- Corresponds to the version of the ``zope.exceptions`` package shipped as part of\n the Zope 3.2.0 release.\n\n- Deprecated the ``INotFoundError`` interface and the corresponding\n ``NotFoundError`` exception class, in favor of \"standard\" exceptions\n ``AttributeError``, ``KeyError``). The deprecated items will be removed in\n Zope 3.3.\n\n\n3.0.0 (2004-11-07)\n==================\n\n- Corresponds to the version of the zope.exceptions package shipped as part of\n the Zope X3.0.0 release.\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "Zope Exceptions",
"version": "5.2",
"project_urls": {
"Homepage": "https://github.com/zopefoundation/zope.exceptions",
"Issue Tracker": "https://github.com/zopefoundation/zope.exceptions/issues",
"Sources": "https://github.com/zopefoundation/zope.exceptions"
},
"split_keywords": [
"zope",
"exceptions"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dd31a54159a96776b55e7460e22fb77fb31b48b83a8c4f5a7f720adc4476c45c",
"md5": "a7efbc35e0526da7b8df93008d4a161d",
"sha256": "5c1182ad31ce5db2419cc4b6581a221f20582cb3bc8468568342661897974874"
},
"downloads": -1,
"filename": "zope.exceptions-5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a7efbc35e0526da7b8df93008d4a161d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 20002,
"upload_time": "2024-10-30T07:28:38",
"upload_time_iso_8601": "2024-10-30T07:28:38.628824Z",
"url": "https://files.pythonhosted.org/packages/dd/31/a54159a96776b55e7460e22fb77fb31b48b83a8c4f5a7f720adc4476c45c/zope.exceptions-5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9485b4947d4c04b8e49ee53e60cd834304e7d6a0392c4b587ab658f13389d500",
"md5": "26167cb6f437f39a8299fcf2c6af0021",
"sha256": "4cba3248678773bbac6faa3ae3537df09a843881b89fb9e81aca282f3b92b2f3"
},
"downloads": -1,
"filename": "zope.exceptions-5.2.tar.gz",
"has_sig": false,
"md5_digest": "26167cb6f437f39a8299fcf2c6af0021",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 31520,
"upload_time": "2024-10-30T07:28:40",
"upload_time_iso_8601": "2024-10-30T07:28:40.767273Z",
"url": "https://files.pythonhosted.org/packages/94/85/b4947d4c04b8e49ee53e60cd834304e7d6a0392c4b587ab658f13389d500/zope.exceptions-5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-30 07:28:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zopefoundation",
"github_project": "zope.exceptions",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "zope.exceptions"
}