Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
After#24779 there are some speed regressions, which can besolved by using private attributes in magic methods.
Also, right now the fractions module code is using sometimes private attributes (_numerator and_denominator, e.g. in the__int__) and sometimes - public (numerator anddenominator, e.g. in the__floor__). This looks not very consistent, at least.