From 1aeae3565e07b99e737e6572ac5ba1b1bbf42abb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 31 Aug 2011 01:53:17 -0400 Subject: - Support an ``onerror`` keyword argument to ``pyramid.config.Configurator.scan()``. This onerror keyword argument is passed to ``venusian.Scanner.scan()`` to influence error behavior when an exception is raised during scanning. - Pyramid now requires Venusian 1.0a1 or better to support the ``onerror`` keyword argument to ``pyramid.config.Configurator.scan``. - Move test fixtures around so test_config tests are not looking "up" for fixtures. --- docs/whatsnew-1.2.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index c5a71e1ce..1ecf1d746 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -149,6 +149,11 @@ Minor Feature Additions when the ``request.matchdict`` has a value inside it named ``action`` with a value of ``edit``. +- Support an ``onerror`` keyword argument to + :meth:`pyramid.config.Configurator.scan``. This argument is passed to + :meth:`venusian.Scanner.scan` to influence error behavior when an exception + is raised during scanning. + Deprecations ------------ @@ -254,3 +259,5 @@ Dependency Changes - Pyramid now relies on PasteScript >= 1.7.4. This version contains a feature important for allowing flexible logging configuration. +- Pyramid now requires Venusian 1.0a1 or better to support the ``onerror`` + keyword argument to :meth:`pyramid.config.Configurator.scan`. -- cgit v1.2.3