118
118
# XXX This should be done ONCE per Python process, not per request.
120
120
# XXX No authentication is done here
123
123
if matchdict is not None:
124
124
viewcls = matchdict['view']
125
125
# Get the remaining arguments, less 'view', 'action' and 'controller'
126
126
# (The latter two seem to be built-in, and we don't want them).
127
127
kwargs = matchdict.copy()
131
129
# Instantiate the view, which should be a BaseView class
132
130
view = viewcls(req, **kwargs)