Overview
zExceptions contains common exceptions and helper functions related to exceptions as used in Zope.
Changelog
6.0 (2026-02-19)
Add support for Python 3.12, 3.13, and 3.14.
Drop support for Python 3.7, 3.8, and 3.9.
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)
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.
Release files for zExceptions 6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zexceptions-6.0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zexceptions-6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.3 kB
Release files / zexceptions-6.0.tar.gz
| Download URL | zexceptions-6.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2785efab97362e57fa9e394a15c31a2e481b08fa953417d34f09eb1edc201242
|
|
BLAKE2b-256 checksum How to use checksums |
562b66ad455cbf26e6486bfb00bfa9d854531e02b96402e59500d852693b1884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.12
|
Release files / zexceptions-6.0-py3-none-any.whl
| Download URL | zexceptions-6.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37a91f7efe5b585e6bc5ce8f649cfad8575ace44b2d352a9538153c305081ea8
|
|
BLAKE2b-256 checksum How to use checksums |
3114af60daea8dee4a65a2e380885813a726917c9b8295ab08ca86ad5f6ed13a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.12
|