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 mark.dickinson
Recipients Ramchandra Apte, joncle, mark.dickinson
Date 2012-06-22.12:48:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340369313.06.0.307588108415.issue15136@psf.upfronthosting.co.za>
In-reply-to
Content
> would not a classmethod of .from_fraction be welcome?

That depends. :-)  Certainly a new classmethod seems better to me than extending the constructor to allow Fractions.  I'm not convinced that there's a real need for this feature, though, especially given how easy it is do directly.

So I'm -1 on extending the constructor, -0 on adding a .from_fraction method.

I'm adding other decimally people to the nosy for their opinions.
History
Date User Action Args
2012-06-22 12:48:33mark.dickinsonsetrecipients: + mark.dickinson, joncle, Ramchandra Apte
2012-06-22 12:48:33mark.dickinsonsetmessageid: <1340369313.06.0.307588108415.issue15136@psf.upfronthosting.co.za>
2012-06-22 12:48:32mark.dickinsonlinkissue15136 messages
2012-06-22 12:48:32mark.dickinsoncreate