diff options
| author | Chris McDonough <chrism@plope.com> | 2011-04-10 14:58:42 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-04-10 14:58:42 -0400 |
| commit | 4d1602230db7b1274fd7fff43764c46a6e52b83b (patch) | |
| tree | 71087dacf485743520fa528c8e5d245683056bee | |
| parent | 5732173d6e5ff305aed27a7712cc2dff1c8a03af (diff) | |
| download | pyramid-4d1602230db7b1274fd7fff43764c46a6e52b83b.tar.gz pyramid-4d1602230db7b1274fd7fff43764c46a6e52b83b.tar.bz2 pyramid-4d1602230db7b1274fd7fff43764c46a6e52b83b.zip | |
garden
| -rw-r--r-- | TODO.txt | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -14,26 +14,6 @@ Should-Have - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). -- 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')") - - Fix misleading conflict error reports for static views ala http://cluebin.appspot.com/pasted/7242843 |
