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 gvanrossum
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, ncoghlan, rhettinger
Date 2008-06-27.18:51:08
SpamBayes Score 0.009000002
Marked as misclassified No
Message-id <1214592669.33.0.763786794991.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
I think it's okay to accept Fraction('1.23', 1) -- if only because
rejecting it means changing the default for the 2nd arg to None and that
would slow it down again.

I agree that if the type of the 2nd arg isn't int or long it should be
rejected. That should not slow down the common path (two ints).
History
Date User Action Args
2008-06-27 18:51:09gvanrossumsetspambayes_score: 0.009 -> 0.009000002
recipients: + gvanrossum, rhettinger, facundobatista, mark.dickinson, ncoghlan, jyasskin
2008-06-27 18:51:09gvanrossumsetspambayes_score: 0.009 -> 0.009
messageid: <1214592669.33.0.763786794991.issue1682@psf.upfronthosting.co.za>
2008-06-27 18:51:08gvanrossumlinkissue1682 messages
2008-06-27 18:51:08gvanrossumcreate