Verifiably better, validated Enum for Python
Gregory Ewing
greg.ewing at canterbury.ac.nz
Wed May 24 18:59:55 EDT 2017
bartc wrote:
> Yet the language will stop you assigning to 672, or "abc".
>
> Maybe the language could have been made even smaller if that was not
> checked; after all the developer ought to be trusted not to assign to them!
I'm told that some Fortran implementations experimented with
something akin to that, with "interesting" results.
--
Greg
More information about the Python-list
mailing list