durusmail: quixote-users: Proposed change to _q_getname() interface
Proposed change to _q_getname() interface
2002-05-23
2002-05-23
2002-05-23
2002-05-23
2002-05-23
2002-05-23
Proposed change to _q_getname() interface
Patrick K. O'Brien
2002-05-23
> It's a major change to the way the publishing loop works (not limited to
> _q_getname).  Right now Quixote traverses namespaces and expects to end
> up at a callable object.  Your change make it so it can end up with a
> callable or a string object.
>
> Actually, that's pretty neat.  You could publish static pages by
> embedding them as literal strings.  For example:
>
>     _q_exports = ['mypage']
>     mypage = 'Hello world from Quixote'

+1

---
Patrick K. O'Brien
Orbtech


reply