Chris McDonough
2012-09-09 ebcdc7cccc977e388426f581abaf16e39c49cdbd
refs
author Chris McDonough <chrism@plope.com>
Sunday, September 9, 2012 19:06 +0200
committer Chris McDonough <chrism@plope.com>
Sunday, September 9, 2012 19:06 +0200
commitebcdc7cccc977e388426f581abaf16e39c49cdbd
tree 788532a2312ab6a749cb4e20d83ae34afd7d622b tree | zip | gz
parent def68d60df00fbb432cfc97fe516bafa41fd2cbc view | diff
- It is no longer possible to pass an environ dictionary directly to
``pyramid.traversal.ResourceTreeTraverser.__call__`` (aka
``ModelGraphTraverser.__call__``). Instead, you must pass a request
object. Passing an environment instead of a request has generated a
deprecation warning since Pyramid 1.1.

- Pyramid will no longer work properly if you use the
``webob.request.LegacyRequest`` as a request factory. Instances of the
LegacyRequest class have a ``request.path_info`` which return a string.
This Pyramid release assumes that ``request.path_info`` will
unconditionally be Unicode.

- Pyramid now requires WebOb 1.2b3+ (the prior Pyramid release only relied on
1.2dev+). This is to ensure that we obtain a version of WebOb that returns
``request.path_info`` as text.
6 files modified
96 ■■■■ changed files
CHANGES.txt 29 ●●●●● diff | view | raw | blame | history
pyramid/request.py 9 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_request.py 12 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_traversal.py 30 ●●●● diff | view | raw | blame | history
pyramid/traversal.py 14 ●●●●● diff | view | raw | blame | history
setup.py 2 ●●● diff | view | raw | blame | history