News for hackers. Stuff that matters.
Re:PyCon US 2021 Recordings are Available by yuy910616 on Friday June 04, 2021 @07:34PM (#27400359)
In my experience, it was quite jarring to see a python function with a bunch of : -> Union[int,str], Optional, Any, etc.

Change is always hard.

Re:PyCon US 2021 Recordings are Available by takeda on Saturday June 05, 2021 @02:46AM (#27402802)
I actually don't understand Optional in that mix. "Optional" basically means the value can be "None". You typically use it like this "Optional[str]" which means the value is a string or "None".