[Python-Dev] Is static typing still optional?
Stephen J. Turnbull
turnbull.stephen.fw at u.tsukuba.ac.jp
Fri Dec 29 09:10:17 EST 2017
Brett Cannon writes:
> I wouldn't characterize it as "big questions". For some people there's a
> question as to how to make them work without type hints, but otherwise how
> they function is settled.
Recently a question has been raised about the decorator overriding
methods defined in the class (especially __repr__). People feel that
if the class defines a method, the decorator should not override it.
The current API requires passing "repr=false" to the decorator.
More information about the Python-Dev
mailing list