[Python-ideas] Re: Confusing naming of Optional type should be changed

2022-07-01 Thread nverich07
> BTW, I disagree with your arguments that Optional and Union are > misleading names that can be easily misunderstood, especially in the > usual context of formal arguments in function definitions. The comment made by Jelle Zijlstra suggested to me suggested that the new syntax might have been a

[Python-ideas] Re: Confusing naming of Optional type should be changed

2022-06-30 Thread nverich07
I accidentally created another thread in python-dev as I mentioned above, but ideally Optional and Union should both be deprecated and phased out for the new syntax. ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email t

[Python-ideas] Confusing naming of Optional type should be changed

2022-06-30 Thread nverich07
(I apologize in advance if I've posted anything incorrectly before, I believe I might have sent this in python-dev instead but not sure as it's not appearing in the posts for my account). I am aware this is clarified in the Python documentation for the typing module but I and others have though