News for hackers. Stuff that matters.
Re:Static Duck Typing in Python with Protocols by JackMcMack on Tuesday November 23, 2021 @04:03AM (#29315925)
PyCharm has some longstanding issues with type checking aliased and union types. My fix coming in 2021.3.1 [0]

[0] https://github.com/JetBrains/intellij-community/pull/1655

Re:Static Duck Typing in Python with Protocols by nitred on Tuesday November 23, 2021 @04:53AM (#29316158)
I face these issues on the daily. Pycharm's type checking is sufficient for my use case but the TypeVar and Union type checks are a bother and I always pay close attention to it. Really appreciate the fix(es)!