Chris McDonough
2012-10-01 d6fb00161a4d482dcfff856ce59b9dc34f78c2b1
refs
author Chris McDonough <chrism@plope.com>
Monday, October 1, 2012 00:49 +0200
committer Chris McDonough <chrism@plope.com>
Monday, October 1, 2012 00:49 +0200
commitd6fb00161a4d482dcfff856ce59b9dc34f78c2b1
tree dd34ee9d70c072ccac8872ce7f3252d53bf7efaf tree | zip | gz
parent 7ef7fc7f786eb40c2b7f50065df6274b69051afc view | diff
- 1.4a ``pyramid.scripting.prepare`` behaved differently than 1.3 series
function of same name. In particular, if passed a request, it would not
set the ``registry`` attribute of the request like 1.3 did. A symptom
would be that passing a request to ``pyramid.paster.bootstrap`` (which uses
the function) that did not have a ``registry`` attribute could assume that
the registry would be attached to the request by Pyramid. This assumption
could be made in 1.3, but not in 1.4. The assumption can now be made in
1.4 too (a registry is attached to a request passed to bootstrap or
prepare).
3 files modified
33 ■■■■■ changed files
CHANGES.txt 16 ●●●●● diff | view | raw | blame | history
pyramid/scripting.py 4 ●●●● diff | view | raw | blame | history
pyramid/tests/test_scripting.py 13 ●●●●● diff | view | raw | blame | history