News for hackers. Stuff that matters.
Re:Making Python fast – Adventures with mypyc by peterashford on Wednesday September 28, 2022 @05:09PM (#33013304)
So that's an IDE feature rather than a language level feature
Re:Making Python fast – Adventures with mypyc by aprdm on Wednesday September 28, 2022 @08:47PM (#33015051)
Nope, that's a language level feature. Your code will also fail at runtime. The IDE is just turning it on.
Re:Making Python fast – Adventures with mypyc by meadsteve on Thursday September 29, 2022 @01:56AM (#33016956)
I don't think that's how it works. Unless you install a library like typeguard python doesn't do runtime type validation