python typing: NotImplemented is a bool? (intermediate) anthony explains #276

preview_player
Показать описание
NotImplemented acts kinda strangely with python's type system -- I show how it works and why you have to be careful with it!

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

I didn't even know about NotImplemented in the first place! Now I have to go back to all the comparison functions I wrote and fix them =)

unvergebeneid
Автор

Great as always. Idea for next video: discuss when (and if) returning exceptions instead of raising them is a good idea/recommended 😬

er
Автор

what was the wideo that explained how your terminal automatically activates the venv?

sadhlife
Автор

Can you install type info in typeshed to local? Like @types/node for typescript. It is hard to check typeshed repo every time. IDE support for types of JavaScript functions is great right now.

sexychicken