Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
Requested by@mdickinson in#100268 (comment)
The case for:
- Improves duck type compatibility between Fraction and float (and now int)
- Simple to implement; hopefully low maintenance cost
The case against:
- Not aware of much demand for it from users
- The case for int.is_integer is much stronger, since the PEP 484 type system conflates
float
andint | float