News for hackers. Stuff that matters.
Re:Codon: A high-performance Python-like compiler using LLVM by qwefsdf on Friday December 09, 2022 @05:52PM (#33927500)
That's an Optional[int]. It's not "mixed types", it's a union type.
Re:Codon: A high-performance Python-like compiler using LLVM by ris on Sunday December 11, 2022 @08:03AM (#33942802)
That is merely a detail of how the typing module has decided to set up convenient aliases. Treated by the language (and likely compilers) as different types.