1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
|
Metadata-Version: 2.1
Name: zope.exceptions
Version: 5.2
Summary: Zope Exceptions
Home-page: https://github.com/zopefoundation/zope.exceptions
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.dev
License: ZPL 2.1
Project-URL: Issue Tracker, https://github.com/zopefoundation/zope.exceptions/issues
Project-URL: Sources, https://github.com/zopefoundation/zope.exceptions
Keywords: zope exceptions
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope :: 3
Requires-Python: >=3.8
License-File: LICENSE.txt
Requires-Dist: setuptools
Requires-Dist: zope.interface
Provides-Extra: docs
Requires-Dist: Sphinx; extra == "docs"
Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
Provides-Extra: test
Requires-Dist: zope.testrunner; extra == "test"
=================
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.
|