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 skrah
Recipients facundobatista, jjconti, mark.dickinson, rhettinger, skrah
Date 2010-01-29.21:47:08
SpamBayes Score 0.00719335
Marked as misclassified No
Message-id <>
Yes, indeed 'canonical' can be justified to take an integer, if we interpret the spec as:

'canonical' takes an operand and returns the preferred _decimal_
encoding of that operand.

But then 'is_canonical' should return false for an integer, and
this would create another special case: Accept an operand and
return something meaningful _without_ converting it first.

I think this is why I have problems with those two. 'number_class'
is less of a problem.
Date User Action Args
2010-01-29 21:47:10skrahsetrecipients: + skrah, rhettinger, facundobatista, mark.dickinson, jjconti
2010-01-29 21:47:10skrahsetmessageid: <>
2010-01-29 21:47:09skrahlinkissue7633 messages
2010-01-29 21:47:08skrahcreate