Chris McDonough
2012-02-16 f9bcf47164a151587244deb3ce5334ba447e3b99
update whatsnew
1 files modified
26 ■■■■■ changed files
docs/whatsnew-1.3.rst 26 ●●●●● patch | view | raw | blame | history
docs/whatsnew-1.3.rst
@@ -259,6 +259,30 @@
  http://readthedocs.org/docs/venusian/en/latest/#ignore-scan-argument for
  more information about how to use the ``ignore`` argument to ``scan``.
- Add :meth:`pyramid.config.Configurator.set_traverser` API method.  See
  :ref:`changing_the_traverser` for more information.  This is not a new
  feature, it just provides an API for adding a traverser without needing to
  use the ZCA API.
- The :meth:`pyramid.config.Configurator.scan` method can now be passed an
  ``ignore`` argument, which can be a string, a callable, or a list
  consisting of strings and/or callables.  This feature allows submodules,
  subpackages, and global objects from being scanned.  See
  http://readthedocs.org/docs/venusian/en/latest/#ignore-scan-argument for
  more information about how to use the ``ignore`` argument to ``scan``.
- Better error messages when a view callable returns a value that cannot be
  converted to a response (for example, when a view callable returns a
  dictionary without a renderer defined, or doesn't return any value at all).
  The error message now contains information about the view callable itself
  as well as the result of calling it.
- Better error message when a .pyc-only module is ``config.include`` -ed.
  This is not permitted due to error reporting requirements, and a better
  error message is shown when it is attempted.  Previously it would fail with
  something like "AttributeError: 'NoneType' object has no attribute
  'rfind'".
Backwards Incompatibilities
---------------------------
@@ -375,6 +399,8 @@
- Pyramid no longer depends on the ``Paste`` or ``PasteScript`` packages.
  These packages are not Python 3 compatible.
- Depend on ``venusian`` >= 1.0a3 to provide scan ``ignore`` support.
Scaffolding Changes
-------------------