Re:Python's “Disappointing” Superpowers
by fasttriggerfish on Wednesday February 01, 2023 @03:47PM
(#34617457)
I think type hints have mostly changed Python for the better but I still get frustrated by the number of half baked features and inconsistencies in the language.
You end up fighting quirks ( like isinstance not working properly with generics ) all the time and it can get pretty tedious.
[ Parent
| on HN ]
Re:Python's “Disappointing” Superpowers
by packetlost on Wednesday February 01, 2023 @05:53PM
(#34619230)
... what? You're not supposed to use isinstance with generics??? It's a type-hinting only feature afaik