> Currently, _q_getname() must return a callable Yup, I've run into that one more than once. My solution was: class SimplePage: _q_exports = [ ] def __init__ (self, page): self.page = page def _q_index (self, request): return self.page So _q_getname() can return SimplePage(my text). I didn't think of just using lambda. I've not looked in detail at the patch, but I'm in favor of what it does. I'd say apply it. jon Jonathan Corbet Executive editor, LWN.net corbet@lwn.net