John Reese
8510adfe05
Add socket enum classes from py3.4+ ( #1121 )
...
* Add socket enum classes from py3.4+
Adds four IntEnum classes in the socket module that mirror the
AF_, AI_, MSG_, and SOCK_ sets of constants.
* Update socket AddressInfo/MsgFlag to use IntFlag type
* IntFlag, AddressInfo, and MsgFlag are py 3.6+
2017-04-04 23:49:01 -07:00
Jelle Zijlstra
48b1962951
drop union return type from getaddrinfo ( #1002 )
2017-03-14 11:45:09 -07:00
David Euresti
70e39d9ad2
Fix and unify type of socket.getaddrinfo
2017-02-22 20:24:47 -08:00
David Euresti
6eca1a04da
Some ssl fixes ( #919 )
...
Fix return of wrap_socket.
Add read, write, pending to SSLSocket
Fix argument to socket.setdefaulttimeout
2017-02-06 17:23:22 -08:00
Lukasz Langa
fe0e3744cc
Fixing flake8 E261 errors
2016-12-19 22:09:35 -08:00
David Euresti
5e5b3726f2
Add missing Optional to str.split and socket.socket. ( #504 )
...
* Add Optional to str.split and friends
* Python 3: Make fileno arg of socket.socket Optional
Python 2: Remove fileno arg of socket.socket
2016-08-27 19:09:55 -07:00
Valérian Rousset
cf5edec4de
add types to socket.socket.send{,all} ( #240 )
2016-06-02 10:04:15 -07:00
Vadim Chugunov
eabecf89d8
Fix setsockopt signature. ( #226 )
...
Closes #225
2016-05-26 15:23:31 -07:00
David Euresti
2bb026cd76
Fix type of getsockopt ( #213 )
2016-05-18 15:30:24 -07:00
Filip Hron
e7e50b6997
attempt to get rid of TODOS, should i edit tests too?
2016-03-03 16:55:33 +01:00
Filip Hron
0a11b5e898
putting @overload decorator back to getsockopt method
2016-03-03 10:07:57 +01:00
Filip Hron
2ae555c144
refractoring overload
2016-03-02 14:07:37 +01:00
Matthias Kramm
94c9ce8fd0
Consistently use '= ...' for optional parameters.
2015-11-09 13:55:02 -08:00
Matthias Kramm
337abed05a
add (overwrite with) mypy stubs, if available
2015-09-30 09:59:44 -07:00