On 4/15/05, mso@oz.netwrote: > > Do Quixote objects that are published inherit from a single class? If > > not, then the publisher probably has to wrap the published object just > > before passing off control to that object, and the wrapper would create > > the request and response objects and make sure they get flushed properly > > and whatnot. > > Directories usually inherit from Directory, although they may be any > object with a compatible ._q_traverse method/function. That would be true, were it not for the following, in Directory._q_traverse: if path: if not isinstance(obj, Directory): raise TraversalError('%r is not a Directory instance' % obj) return obj._q_traverse(path) I've been away from quixote for a while and missed recent changes, so I don't know if there's a rationale for the above. And this is 2.0a4... maybe 2.0 has removed the check.