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 facundobatista, jjconti, mark.dickinson, rhettinger, skrah
Date 2010-01-29.20:25:16
SpamBayes Score 0.0010633899
Marked as misclassified No
Message-id <1264796718.55.0.137797652497.issue7633@psf.upfronthosting.co.za>
In-reply-to
Content
Re: canonical.  Yes, this made me pause for a second, too.  But I don't see the harm in allowing it to accept ints and longs.  Actually, it then provides a nice public version of _convert_other.

I'd probably also allow is_canonical and number_class to accept ints and longs, just on the basis that that gives fewer special cases.
History
Date User Action Args
2010-01-29 20:25:18mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, facundobatista, jjconti, skrah
2010-01-29 20:25:18mark.dickinsonsetmessageid: <1264796718.55.0.137797652497.issue7633@psf.upfronthosting.co.za>
2010-01-29 20:25:16mark.dickinsonlinkissue7633 messages
2010-01-29 20:25:16mark.dickinsoncreate