[Python-Dev] PEP 461 Final? (original) (raw)

Ethan Furman ethan at stoneleaf.us
Mon Jan 20 01:01:30 CET 2014


On 01/19/2014 03:37 AM, Steven D'Aprano wrote:

On Fri, Jan 17, 2014 at 05:51:05PM -0800, Ethan Furman wrote:

On 01/17/2014 05:27 PM, Steven D'Aprano wrote:

Numeric Format Codes --------------------

To properly handle int and float subclasses, int(), index(), and float() will be called on the objects intended for (d, i, u), (b, o, x, X), and (e, E, f, F, g, G).

-1 on this idea.

I went to add examples to this section of the PEP, and realized I was just describing what Python does anyway. So it doesn't need to be in the PEP.

-- Ethan



More information about the Python-Dev mailing list