Skip to main content

Overview

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

Changelog

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.

Metadata

Release files for zExceptions 4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zExceptions 4.1
File Size Uploaded Provenance Actions
zExceptions-4.1.tar.gz 15.2 kB Without provenance Details for zExceptions-4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zExceptions 4.1
File Interpreter ABI Platform Actions
zExceptions-4.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for zExceptions-4.1-py2.py3-none-any.whl

Total release size: 32.8 kB

Release files / zExceptions-4.1.tar.gz

Download URL zExceptions-4.1.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
de786add37232c5d57936d7aad88a5fb0da06ab269b2fb031e0f0aced941f2d1
BLAKE2b-256 checksum
How to use checksums
571a8db52d977451a642f6a82896d959a4dc151f6171aea564675168021e6a64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/2.7.15

Release files / zExceptions-4.1-py2.py3-none-any.whl

Download URL zExceptions-4.1-py2.py3-none-any.whl
Size 17.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b827f701976342debec56f67e200e6e6203e765cf13e7e7a6bec120fda93f9cf
BLAKE2b-256 checksum
How to use checksums
e2c29af73d27364af53acb18b03640f920962ca85ab5d5f62cf1daaa110546ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/2.7.15

Security for zExceptions 4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page