[New-bugs-announce] [issue29088] Inconsistent use of underscore in names that start with "is"

Kodiologist report at bugs.python.org
Tue Dec 27 15:22:35 EST 2016


New submission from Kodiologist:

Compare ``isinstance``, ``issubclass``, and ``islower`` to ``is_integer``, ``is_fifo``, and ``is_enabled``. In Python 3.6, of all the names in the standard library starting with ``is``, I count 69 names with the underscore and 91 without. It seems better to pick one way or the other and stick with it. I would recommend using the underscore, for legibility.

----------
messages: 284133
nosy: Kodiologist
priority: normal
severity: normal
status: open
title: Inconsistent use of underscore in names that start with "is"
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29088>
_______________________________________


More information about the New-bugs-announce mailing list