-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improved narrowing of generics #745
Commits on Nov 20, 2024
-
use a generic's bound when narrowing with
isinstance
if it's covari……ant, or `Never` if it's contravariant
Configuration menu - View commit details
-
Copy full SHA for f697aa1 - Browse repository at this point
Copy the full SHA f697aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b53acf - Browse repository at this point
Copy the full SHA 8b53acfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc70e9 - Browse repository at this point
Copy the full SHA 9bc70e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for be80947 - Browse repository at this point
Copy the full SHA be80947View commit details -
workaround for fake typevars in
__init__
methods when determining w……hether to use variance to specialize type vars when narrowing
Configuration menu - View commit details
-
Copy full SHA for 875c90b - Browse repository at this point
Copy the full SHA 875c90bView commit details
Commits on Nov 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bce38d8 - Browse repository at this point
Copy the full SHA bce38d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a452ed - Browse repository at this point
Copy the full SHA 1a452edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e893da - Browse repository at this point
Copy the full SHA 4e893daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4931ced - Browse repository at this point
Copy the full SHA 4931cedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1695c7a - Browse repository at this point
Copy the full SHA 1695c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d334e3e - Browse repository at this point
Copy the full SHA d334e3eView commit details -
add
improvedGenericNarrowing
option to allow users to disable the n……ew functionality
Configuration menu - View commit details
-
Copy full SHA for 468c396 - Browse repository at this point
Copy the full SHA 468c396View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2265df - Browse repository at this point
Copy the full SHA a2265dfView commit details -
fix logic to determine whether to use generic bounds for narrowing wh…
…en the value being narrowed is a union
Configuration menu - View commit details
-
Copy full SHA for b190ca2 - Browse repository at this point
Copy the full SHA b190ca2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e71ae - Browse repository at this point
Copy the full SHA 04e71aeView commit details
Commits on Nov 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7936e67 - Browse repository at this point
Copy the full SHA 7936e67View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc175fb - Browse repository at this point
Copy the full SHA bc175fbView commit details