zExceptions


NamezExceptions JSON
Version 5.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zExceptions
SummaryzExceptions contains common exceptions used in Zope.
upload_time2023-06-28 06:04:52
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Overview
========

zExceptions contains common exceptions and helper functions related to
exceptions as used in Zope.

Changelog
=========

5.0 (2023-06-28)
----------------


- Drop support for Python 2.7, 3.5, 3.6.

4.3 (2022-12-18)
----------------

- Sort imports with isort.

- Add support for Python 3.11.


4.2 (2021-10-22)
----------------

- Add support for Python 3.8, 3.9 and 3.10.

- Drop support for Python 3.4.

- Add an exception for the HTTP status code 418.

- Don't override the `content-type` header if already set.
  (`#12 <https://github.com/zopefoundation/zExceptions/pull/12>`_)


4.1 (2018-10-05)
----------------

- Add support for Python 3.7.


4.0 (2018-01-27)
----------------

- Drop support for string exceptions.

3.6.1 (2017-05-17)
------------------

- Increase Python 3 compatibility

3.6 (2017-02-05)
----------------

- Add realm as an argument to unauthorized exceptions, its presence
  causing a `WWW-Authenticate` header to be emitted.

- Set `location` header during `__init__` of redirect exceptions.

3.5 (2017-02-05)
----------------

- Drop support for Python 3.3, add support for Python 3.6.

- Use `str(self)` as detail if it is not set.

- Add a `setHeader` method to add a response header to an HTTPException.

- `upgradeException` now also supports finding an HTTPException class
  with the same name as a non-HTTPException class.

3.4 (2016-09-08)
----------------

- Use `HTTPException.body_template` when title and detail are set.

- Add new title and detail attributes to HTTPException.

3.3 (2016-08-06)
----------------

- Add exception classes for all HTTP status codes.

3.2 (2016-07-22)
----------------

- Implement basic subset of Response features in HTTPException class.

3.1 (2016-07-22)
----------------

- Mark exceptions with appropriate zope.publisher interfaces.

- Add a new common base class `zExceptions.HTTPException` to all exceptions.

3.0 (2016-04-03)
----------------

- Add compatibility with PyPy and Python 3.

- Arguments to the Unauthorized exception are assumed to be utf8-encoded
  if they are bytes.

2.13.0 (2010-06-05)
-------------------

- Released as separate package.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/zExceptions",
    "name": "zExceptions",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/1f/4c/c766014d7f5d31dea4c78948c7471305e643f2787753041249c07751cb78/zExceptions-5.0.tar.gz",
    "platform": null,
    "description": "Overview\n========\n\nzExceptions contains common exceptions and helper functions related to\nexceptions as used in Zope.\n\nChangelog\n=========\n\n5.0 (2023-06-28)\n----------------\n\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n4.3 (2022-12-18)\n----------------\n\n- Sort imports with isort.\n\n- Add support for Python 3.11.\n\n\n4.2 (2021-10-22)\n----------------\n\n- Add support for Python 3.8, 3.9 and 3.10.\n\n- Drop support for Python 3.4.\n\n- Add an exception for the HTTP status code 418.\n\n- Don't override the `content-type` header if already set.\n  (`#12 <https://github.com/zopefoundation/zExceptions/pull/12>`_)\n\n\n4.1 (2018-10-05)\n----------------\n\n- Add support for Python 3.7.\n\n\n4.0 (2018-01-27)\n----------------\n\n- Drop support for string exceptions.\n\n3.6.1 (2017-05-17)\n------------------\n\n- Increase Python 3 compatibility\n\n3.6 (2017-02-05)\n----------------\n\n- Add realm as an argument to unauthorized exceptions, its presence\n  causing a `WWW-Authenticate` header to be emitted.\n\n- Set `location` header during `__init__` of redirect exceptions.\n\n3.5 (2017-02-05)\n----------------\n\n- Drop support for Python 3.3, add support for Python 3.6.\n\n- Use `str(self)` as detail if it is not set.\n\n- Add a `setHeader` method to add a response header to an HTTPException.\n\n- `upgradeException` now also supports finding an HTTPException class\n  with the same name as a non-HTTPException class.\n\n3.4 (2016-09-08)\n----------------\n\n- Use `HTTPException.body_template` when title and detail are set.\n\n- Add new title and detail attributes to HTTPException.\n\n3.3 (2016-08-06)\n----------------\n\n- Add exception classes for all HTTP status codes.\n\n3.2 (2016-07-22)\n----------------\n\n- Implement basic subset of Response features in HTTPException class.\n\n3.1 (2016-07-22)\n----------------\n\n- Mark exceptions with appropriate zope.publisher interfaces.\n\n- Add a new common base class `zExceptions.HTTPException` to all exceptions.\n\n3.0 (2016-04-03)\n----------------\n\n- Add compatibility with PyPy and Python 3.\n\n- Arguments to the Unauthorized exception are assumed to be utf8-encoded\n  if they are bytes.\n\n2.13.0 (2010-06-05)\n-------------------\n\n- Released as separate package.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "zExceptions contains common exceptions used in Zope.",
    "version": "5.0",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/zExceptions",
        "Issue Tracker": "https://github.com/zopefoundation/zExceptions/issues",
        "Sources": "https://github.com/zopefoundation/zExceptions"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6c4d8158d3f93c7eac8c94e0cff3ce5472335f46c5dc2f8c572742e9996e7aa1",
                "md5": "f1df1459679746f7ad453e6ed51cd71b",
                "sha256": "bbd11d5544f6611ae1045214f9fe5d0d95cd6c479a555de509fa1d41199491de"
            },
            "downloads": -1,
            "filename": "zExceptions-5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f1df1459679746f7ad453e6ed51cd71b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 17003,
            "upload_time": "2023-06-28T06:04:50",
            "upload_time_iso_8601": "2023-06-28T06:04:50.629083Z",
            "url": "https://files.pythonhosted.org/packages/6c/4d/8158d3f93c7eac8c94e0cff3ce5472335f46c5dc2f8c572742e9996e7aa1/zExceptions-5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f4cc766014d7f5d31dea4c78948c7471305e643f2787753041249c07751cb78",
                "md5": "9df32226b8eb68380545d5d6cb03e034",
                "sha256": "ec1e4003b0ec6b5e4ca150f64e3366a44978587afd84a38de8d4b64674e1a678"
            },
            "downloads": -1,
            "filename": "zExceptions-5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9df32226b8eb68380545d5d6cb03e034",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 15263,
            "upload_time": "2023-06-28T06:04:52",
            "upload_time_iso_8601": "2023-06-28T06:04:52.368059Z",
            "url": "https://files.pythonhosted.org/packages/1f/4c/c766014d7f5d31dea4c78948c7471305e643f2787753041249c07751cb78/zExceptions-5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-28 06:04:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zopefoundation",
    "github_project": "zExceptions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zexceptions"
}
        
Elapsed time: 0.22056s