Chris McDonough
2011-06-11 99edc51a3b05309c7f5d98ff96289ec51b1d7660
refs
author Chris McDonough <chrism@plope.com>
Saturday, June 11, 2011 11:35 +0200
committer Chris McDonough <chrism@plope.com>
Saturday, June 11, 2011 11:35 +0200
commit99edc51a3b05309c7f5d98ff96289ec51b1d7660
tree c8ddaa62b21c54eb996f5e375abd5bf9f5198806 tree | zip | gz
parent df15ed98612e7962e3122da52d8d5f5b9d8882b2 view | diff
- Pyramid now expects Response objects to have a __call__
method which implements the WSGI application interface
instead of the three webob attrs status, headerlist
and app_iter. Backwards compatibility exists for
code which returns response objects that do not
have a __call__.

- pyramid.response.Response is no longer an exception
(and therefore cannot be raised in order to generate
a response).

- Changed my mind about moving stuff from pyramid.httpexceptions
to pyramid.response. The stuff I moved over has been moved
back to pyramid.httpexceptions.
39 files modified
3239 ■■■■ changed files
CHANGES.txt 77 ●●●● diff | view | raw | blame | history
TODO.txt 6 ●●●●● diff | view | raw | blame | history
docs/api/httpexceptions.rst 6 ●●●●● diff | view | raw | blame | history
docs/api/response.rst 1 ●●●● diff | view | raw | blame | history
docs/glossary.rst 4 ●●●● diff | view | raw | blame | history
docs/narr/hooks.rst 42 ●●●● diff | view | raw | blame | history
docs/narr/renderers.rst 81 ●●●● diff | view | raw | blame | history
docs/narr/router.rst 12 ●●●● diff | view | raw | blame | history
docs/narr/testing.rst 4 ●●●● diff | view | raw | blame | history
docs/narr/urldispatch.rst 4 ●●●● diff | view | raw | blame | history
docs/narr/views.rst 211 ●●●●● diff | view | raw | blame | history
docs/narr/webob.rst 23 ●●●● diff | view | raw | blame | history
docs/tutorials/wiki/authorization.rst 22 ●●●● diff | view | raw | blame | history
docs/tutorials/wiki/definingviews.rst 8 ●●●● diff | view | raw | blame | history
docs/tutorials/wiki/src/authorization/tutorial/login.py 4 ●●●● diff | view | raw | blame | history
docs/tutorials/wiki/src/authorization/tutorial/views.py 2 ●●● diff | view | raw | blame | history
docs/tutorials/wiki/src/views/tutorial/views.py 2 ●●● diff | view | raw | blame | history
docs/tutorials/wiki2/definingviews.rst 4 ●●●● diff | view | raw | blame | history
docs/tutorials/wiki2/src/authorization/tutorial/__init__.py 2 ●●● diff | view | raw | blame | history
docs/tutorials/wiki2/src/authorization/tutorial/login.py 2 ●●● diff | view | raw | blame | history
docs/tutorials/wiki2/src/authorization/tutorial/views.py 2 ●●● diff | view | raw | blame | history
docs/tutorials/wiki2/src/views/tutorial/views.py 2 ●●● diff | view | raw | blame | history
docs/whatsnew-1.1.rst 12 ●●●●● diff | view | raw | blame | history
pyramid/config.py 6 ●●●● diff | view | raw | blame | history
pyramid/exceptions.py 6 ●●●● diff | view | raw | blame | history
pyramid/httpexceptions.py 902 ●●●●● diff | view | raw | blame | history
pyramid/interfaces.py 16 ●●●● diff | view | raw | blame | history
pyramid/response.py 946 ●●●●● diff | view | raw | blame | history
pyramid/router.py 17 ●●●●● diff | view | raw | blame | history
pyramid/testing.py 2 ●●● diff | view | raw | blame | history
pyramid/tests/fixtureapp/views.py 2 ●●● diff | view | raw | blame | history
pyramid/tests/forbiddenapp/__init__.py 2 ●●● diff | view | raw | blame | history
pyramid/tests/test_config.py 46 ●●●● diff | view | raw | blame | history
pyramid/tests/test_exceptions.py 15 ●●●● diff | view | raw | blame | history
pyramid/tests/test_httpexceptions.py 278 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_response.py 305 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_router.py 117 ●●●● diff | view | raw | blame | history
pyramid/tests/test_testing.py 2 ●●● diff | view | raw | blame | history
pyramid/view.py 44 ●●●● diff | view | raw | blame | history