You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression - Module "_typeshed" has no attribute "SupportsLessThan" #12355
We got rid of SupportsLessThan from _typeshed in python/typeshed#6583, because it wasn't doing a great job at describing the various types at runtime it was trying to describe. We replaced it with a new SupportsRichComparison type, which is a little more complicated, but does a much better job at describing the types at runtime.
Activity
Correct example in `runtime_troubles.rst`
AlexWaygood commentedon Mar 15, 2022
We got rid of
SupportsLessThanfrom_typeshedin python/typeshed#6583, because it wasn't doing a great job at describing the various types at runtime it was trying to describe. We replaced it with a newSupportsRichComparisontype, which is a little more complicated, but does a much better job at describing the types at runtime.Correct example in `runtime_troubles.rst` (#12356)