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 pitrou
Recipients Arfrever, eric.smith, ethan.furman, gvanrossum, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2013-12-16.21:26:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387229184.2303.3.camel@fsol>
In-reply-to <1387228475.76.0.486748687513.issue19995@psf.upfronthosting.co.za>
Content
> In other words
> 
>   - if %d or %u is specified, try __int__, then __index__
>     (according to the docs, u is obsolete and identical to d)

Again, I don't think trying __index__ is useful.

>   - if %i, %o, %x, %X, or %c is specified, try only __index__

I think everything yielding a decimal output should work with floats
(i.e. %i too).
History
Date User Action Args
2013-12-16 21:26:27pitrousetrecipients: + pitrou, gvanrossum, rhettinger, mark.dickinson, vstinner, eric.smith, Arfrever, skrah, ethan.furman, serhiy.storchaka
2013-12-16 21:26:27pitroulinkissue19995 messages
2013-12-16 21:26:26pitroucreate