[issue25043] document socket constants for Bluetooth

Martin Panter report at bugs.python.org
Fri Sep 11 01:27:10 CEST 2015


Martin Panter added the comment:

Well if the constant is not very useful then maybe we shouldn’t add it :)

For testing, nothing complicated. Maybe check the module attributes exist, and are strings. In the past, people have converted module-level constants to enums, and introduced a typo in a name along the way. Even the simplest test case would pick up this sort of typo.

----------

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


More information about the Python-bugs-list mailing list