python 3.6.1 package is compiled without socket AF_BLUETOOTH support
with installed package python and python-dev 3.6.1 (also with bluez, bluez-dev, bluez-libs installed)
$ python3
>>> import socket
>>> sock = socket.socket(socket.AF_BLUETOOTH,
socket.SOCK_RAW,
socket.BTPROTO_HCI)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'
tested in edge
(from redmine: issue id 7352, created on 2017-05-31)