diff options
| author | Chris McDonough <chrism@plope.com> | 2011-01-14 15:15:08 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-01-14 15:15:08 -0500 |
| commit | 38dddeab91707908e7ee5c18ef76c73338081fcc (patch) | |
| tree | 6b95cf3cc560ffd340bf47060041a17cbae6f051 | |
| parent | c0596e263447ad62bda4b394f635b0ef1dc69809 (diff) | |
| download | pyramid-38dddeab91707908e7ee5c18ef76c73338081fcc.tar.gz pyramid-38dddeab91707908e7ee5c18ef76c73338081fcc.tar.bz2 pyramid-38dddeab91707908e7ee5c18ef76c73338081fcc.zip | |
garden
| -rw-r--r-- | TODO.txt | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -40,6 +40,28 @@ Must-Have (before 1.0) - Add docs for ``route_path`` and ``route_url``, etc to Request API docs (see also https://github.com/Pylons/pyramid/issues#issue/19). +- Deprecate ``@bfg_view``. + +- Reversing (context, request) in function view callable arglist produces + incomprehensible traceback:: + + def aview(request, context): + return {} + + if __name__ == '__main__': + from pyramid.config import Configurator + from paste.httpserver import serve + c = Configurator() + c.add_view(aview, renderer='__main__:foo.pt') + serve(c.make_wsgi_app()) + + File "/home/chrism/projects/pyramid/pyramid/config.py", line 2981, in map_nonclass + ronly = requestonly(view, self.attr) + File "/home/chrism/projects/pyramid/pyramid/config.py", line 3071, in requestonly + if len(args) - len(defaults) == 1: + zope.configuration.config.ConfigurationExecutionError: <type 'exceptions.TypeError'>: object of type 'NoneType' has no len() in: + ('reversed.py', 14, '<module>', "c.add_view(aview, renderer='__main__:foo.pt')") + Should-Have ----------- |
