[Python-Dev] Revive the types sig?
Neil Schemenauer
nas@arctrix.com
Mon, 12 Mar 2001 16:13:04 -0800
On Mon, Mar 12, 2001 at 06:52:57PM -0500, Barry A. Warsaw wrote:
> I thought PTL definitely included a "template" declaration keyword, a
> la, def, so they must have some solution here. MEMs guys?
The correct term is "hack". We do a re.sub on the text of the
module. I considered building a new parsermodule with def
changed to template but haven't had time yet. I think the
dominate cost when importing a PTL module is due stat() calls
driven by hairy Python code.
Neil