I am aware this is clarified in the Python documentation for the typing module
but I and others have thought the naming of Optional is still quite confusing
by itself.
"Note that this is not the same concept as an optional argument, which is one
that has a default. An optional argument with a
Ah, to be honest, I completely forgot about deprecation for some reason :)
Yes, that would definitely be a much better idea to phase out Optional and
probably Union in the future actually. Thanks for bringing it up!
___
Python-Dev mailing list -- python