[Python-Dev] Is static typing still optional? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jan 29 18:00:35 EST 2018


Raymond Hettinger wrote:

That list of features is mostly easy-to-use except for hash=None which has three possible values, only one of which is self-evident.

Maybe the value of the hash option should be an enum with three explicitly-named values.

Or maybe there could be a separate "unhashable" boolean flag for the third option.

-- Greg



More information about the Python-Dev mailing list