summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-14 15:15:08 -0500
committerChris McDonough <chrism@plope.com>2011-01-14 15:15:08 -0500
commit38dddeab91707908e7ee5c18ef76c73338081fcc (patch)
tree6b95cf3cc560ffd340bf47060041a17cbae6f051
parentc0596e263447ad62bda4b394f635b0ef1dc69809 (diff)
downloadpyramid-38dddeab91707908e7ee5c18ef76c73338081fcc.tar.gz
pyramid-38dddeab91707908e7ee5c18ef76c73338081fcc.tar.bz2
pyramid-38dddeab91707908e7ee5c18ef76c73338081fcc.zip
garden
-rw-r--r--TODO.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/TODO.txt b/TODO.txt
index 55932362b..d055a8bd8 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -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
-----------