]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Add compatibility with BlockingIOError for Python3 158/head
authorNathan Henrie <nate@n8henrie.com>
Sat, 14 May 2016 21:10:52 +0000 (15:10 -0600)
committerNathan Henrie <nate@n8henrie.com>
Sat, 14 May 2016 21:10:52 +0000 (15:10 -0600)
commit49e2af09695445bef4b57601372df64f9b93f9a5
tree3108480537e442483e134a90cea4833c32a22859
parentf99a01bf3028bd460db50ac57e040176f7ddf295
Add compatibility with BlockingIOError for Python3

Fixes rthalley/dnspython#156

At least in Python3.5, BlockingIOError is not subscriptable. Its
`.errno` attribute seems to be able to provide the necessary
information.
dns/query.py