On Wed, Aug 20, 2014 at 7:25 AM, Donald Stufft <donald(a)stufft.io> wrote:
> mypy does have a codec that will ignore annotations on 2.x.
Note that all codec hacks and decorator hacks have a down side other than
being hacks: They significantly slow down program import and start time. At
least the results of the codec hack are cached when a .pyc is generated.
Decorator executions are not.
hmm.. could a flavor of decorator that is cacheable in .pyc's be created so
the cost is only paid once rather than for each time the module is imported?