-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
make float not act like float | int (and complex act like complex | float) , and bytes not act like bytes | memoryview | bytearray
we can still infer float | int though:
a = 1
reveal_type(a) # float | intwill support configuration per module, to preserve compatibility:
from thirdparty import some_float
reveal_type(some_float) # float | intDetachHead and buster-blue