Author tim.peters
Recipients Nofar Schnider, gvanrossum, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2018-03-13.22:24:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520979862.26.0.467229070634.issue33073@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, we already went down the path of implementing this as a method.   Of course `numbers.Rational` could define the method as `return (self.numerator, self.denominator)` for itself and its subclasses.  Unless I'm confused, that would "magically" define the method for (at least) ints and Fractions too - but I didn't try it.
History
Date User Action Args
2018-03-13 22:24:22tim.peterssetrecipients: + tim.peters, gvanrossum, rhettinger, mark.dickinson, serhiy.storchaka, Nofar Schnider
2018-03-13 22:24:22tim.peterssetmessageid: <1520979862.26.0.467229070634.issue33073@psf.upfronthosting.co.za>
2018-03-13 22:24:22tim.peterslinkissue33073 messages
2018-03-13 22:24:22tim.peterscreate