NODA, Kai
fe1d7f4fd4
ssl.SSLContext(protocol) >= 3.5 has a default value ( #2007 )
...
Fix #1947
As discussed, pretended all 3.5.* have the default value although it was actually 3.5.3 which introduced it
2018-04-09 12:58:15 -07:00
Jaen
87009939a5
ssl: Add missing constants & classes ( #1569 )
...
* ssl: Add missing PROTOCOL_TLS & OP_NO_TICKET constants
These were added in 3.5 and 3.6:
https://docs.python.org/3.5/library/ssl.html#ssl.PROTOCOL_TLS
https://docs.python.org/3.6/library/ssl.html#ssl.PROTOCOL_TLS_CLIENT
* ssl: Add missing SSLSession class
Reference:
5fe59f8e3a/Modules/_ssl.c (L4428)
2017-08-28 21:14:41 -07:00
Matthias Kramm
ac0b809bf5
tweak files to fix pytype parsing errors ( #1325 )
...
* Don't use "\" to join lines
2017-05-26 08:45:52 -07:00
Jelle Zijlstra
b6eec58d2c
remove checks against patch versions ( #987 )
...
Both mypy and pytype only use the major and minor version in type checking. Using
checks like "sys.version_info >= (3, 4, 4)" won't actually work properly for
people type checking their code using version 3.4, because (3, 4) >= (3, 4, 4) will
always be false (at least in mypy's approach; not sure if pytype is different).
2017-03-12 20:16:09 -07: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
Elazar Gershuni
252a772b67
fix self in ssl, unittest and multiprocessing/managers ( #644 )
2016-10-30 12:20:03 -07:00
paavoap
cac07d6dea
Add type hints for _create_default_https_context and _create_unverified_context. ( #583 )
2016-10-09 19:56:01 -07:00
Guido van Rossum
39325bf159
Mypy now supports sys.platform and sys.version_info checks ( #410 )
2016-07-27 13:25:29 -07:00
Valérian Rousset
d5938ee76c
Add cpython specific constants to ssl ( #291 )
...
* Revert "Revert "add types to ssl for py2 (#251 )""
This reverts commit 0b19fb471c (thus re-adding types to ssl).
* add some undocumented ssl constants
2016-07-17 19:27:29 -07:00
Valérian Rousset
7721505397
complete ssl ( #239 )
2016-06-02 10:08:07 -07:00
Matthias Kramm
94c9ce8fd0
Consistently use '= ...' for optional parameters.
2015-11-09 13:55:02 -08:00
Matthias Kramm
4fe8915d44
Add missing '-> None' to all __init__ methods.
2015-11-09 10:25:11 -08:00
Matthias Kramm
337abed05a
add (overwrite with) mypy stubs, if available
2015-09-30 09:59:44 -07:00