[Python-Dev] Symmetry arguments for API expansion

Guido van Rossum guido at python.org
Wed Mar 21 23:31:31 EDT 2018


On Wed, Mar 21, 2018 at 6:48 PM, Chris Barker <chris.barker at noaa.gov> wrote:

> On Wed, Mar 21, 2018 at 4:12 PM, Guido van Rossum <guido at python.org>
> wrote:
>
>> Thank you! As you may or may not have noticed in a different thread,
>> we're going through a small existential crisis regarding the usefulness of
>> is_integer() -- Serhiy believes it is not useful (and even an attractive
>> nuisance) and should be deprecated. OTOH the existence of
>> dec_mpd_isinteger() seems to validate to me that it actually exposes useful
>> functionality (and every Python feature can be abused, so that alone should
>> not be a strong argument for deprecation).
>>
>
> if not deprecated, then do we add it to all the other numeric types? Which
> was the original suggestion, yes?
>

Yes. That's a pronouncement, so we can end this thread (and more
importantly the other).

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180321/5711b0e5/attachment.html>


More information about the Python-Dev mailing list