Ashley Hewson
Ashley Hewson
Have you considered using the builtin [`ast`](http://docs.python.org/3.2/library/ast.html) library?
I can think of 4 ways to do this, none of which are particularly easy or certain to be accurate: - Parsing the source code - Importing the class and...
By the way, the overview page says: > The most specific signature is selected at runtime at each call.
Yeah, I agree that first match is a better idea, just wanted to point out the discrepancy in the docs.
Could you give more details on the inheritance model? Some questions: If an interface can have method implementations, what is the difference from a(n abstract) class? No constructor or fields?...
That is exactly how scala implements traits :) On 24 January 2013 21:16, Jukka Lehtosalo [email protected] wrote: > On second thought, there may be a better way of supporting default...
@JukkaL: I can do this one.
I've started this here: https://github.com/ashleyh/mypy/tree/package-support
I wonder if it would be better to be able to specify additional stubs dirs as a command line argument or something...
I've started this on my `package-support` branch