Re: [Python-Dev] Is static typing still optional?

2017年12月29日 06:13:22 -0800

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.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to