Re:Python 3.11.0 final is now available
by matsemann on Wednesday October 26, 2022 @02:18AM
(#33340397)
Only since 3.10, though, before that it was actually impossible to type the decorators correctly.
[ Parent
| on HN ]
Re:Python 3.11.0 final is now available
by dragonwriter on Wednesday October 26, 2022 @12:10PM
(#33345810)
> Only since 3.10, though, before that it was actually impossible to type the decorators correctly.
There were type gymnastics you could do using overloads to reach any arbitrary level of coverage, but it was ugly and always short of fully general.