[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
- Previous message (by thread): [Python-Dev] Is static typing still optional?
- Next message (by thread): [Python-Dev] Is static typing still optional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] Is static typing still optional?
- Next message (by thread): [Python-Dev] Is static typing still optional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]