News for hackers. Stuff that matters.
Re:What's New in Python 3.11? by toyg on Monday June 27, 2022 @09:02AM (#31893978)
> The new type system goes pretty much against the idea of duck typing

That's impossible, because it's not a type system at all.

It's type hinting, effectively a documentation feature, and sure, you can misdocument stuff. If people started building tools that rely on it to hack an actual type system on top of it, well, it's their problem. Duck typing is not affected by it in any way.

There are no comments on this comment yet.