[Python-Dev] Is static typing still optional?

Yury Selivanov yselivanov.ml at gmail.com
Mon Jan 29 01:55:06 EST 2018


On Mon, Jan 29, 2018 at 1:36 AM Nick Coghlan <ncoghlan at gmail.com> wrote:

> [...]
> Currently the answers are:
>
> - A: not hashable
> - B: hashable (by identity) # Wat?
> - C: hashable (by field hash)
> - D: hashable (by identity) # Wat?
> - E: hashable (by field hash)
> - F: hashable (by field hash)
> - G: hashable (by field hash)
> - H: hashable (by field hash)


This is very convoluted.

+1 to make hashability an explicit opt-in.

Yury
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180129/6c27931b/attachment.html>


More information about the Python-Dev mailing list