This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients jdemeyer, mark.dickinson, rhettinger, serhiy.storchaka, stutzbach
Date 2019-08-12.08:33:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Aren't you worried about using the non-special non-reserved attributes like "as_integer_ratio"? That's the reason why I proposed a dunder name "__ratio__" instead of "as_integer_ratio".

In my opinion, it was a mistake in PEP 3141 to use non-reserved names like "numerator" and "denominator" because they might already be used by existing classes with a different meaning (this is precisely what happened with SageMath).

It's an honest question. If you say, "we thought about it and think it's just fine to use as_integer_ratio()", just say so and that's fine for me.
Date User Action Args
2019-08-12 08:33:31jdemeyersetrecipients: + jdemeyer, rhettinger, mark.dickinson, stutzbach, serhiy.storchaka
2019-08-12 08:33:31jdemeyersetmessageid: <>
2019-08-12 08:33:31jdemeyerlinkissue37822 messages
2019-08-12 08:33:31jdemeyercreate