There's no reason the "inherits" preamble couldn't be generated based on arguments passed to Template, if present, and not overridden by the template source itself. Would need a patch to do so.
It shouldn't be surprising that Template doesn't do this already.... it's fairly clear this is an unusual pattern that's not what Mako had in mind to start with. But the pattern should be achievable with minimal changes.
On Sep 27, 2012, at 8:08 AM, Aaron Gyes wrote: