commit | d840e5174dc8d5407b56e377aa1e608ebe5cf535 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Thu Feb 04 20:20:18 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Thu Feb 04 20:20:18 2010 +0000 |
tree | e7e0e2bbe746be845867ea2a013544f4f2c75478 | |
parent | 98ce620068c7f164f5a1d95749c7a7d359cc5921 [diff] |
Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is specified, rather than fall through to AF_PACKET (in the `socket` module). Also, raise ValueError rather than TypeError when an unknown TIPC address type is specified. Patch by Brian Curtin.