[Python-ideas] Deprecate the round builtin

MRAB python at mrabarnett.plus.com
Thu Sep 27 04:11:06 CEST 2012

On 2012-09-27 01:32, Bill Janssen wrote:
> MRAB <python at mrabarnett.plus.com> wrote:
>> If we're going to move 'round' into 'math' because it sometimes gives
>> results which puzzle naive users, shouldn't we do the same to 'float'?
>> :-)
> Ah, but float is a type, not a function.
They are both (first-class) objects, aren't they? Why treat them
differently? Surely such discrimination is unPythonic? :-)

More information about the Python-ideas mailing list