[issue29222] Python3 interactive shell hangs on

2017-01-09 Thread Vex Woo
New submission from Vex Woo: I'v tested the following steps against python3.5 and python3.6. Python shell hangs on. $ python3.6 Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", &

[issue31870] add timeout parameter for get_server_certificate in ssl.py

2017-10-25 Thread Vex Woo
New submission from Vex Woo <hap.d...@gmail.com>: The original get_server_certificate in ssl.py does not support socket timeout, def get_server_certificate(addr, ssl_version=PROTOCOL_TLS, ca_certs=None): """Retrieve the certificate from the server at the specified ad

[issue33292] Fix secrets.randbelow docstring

2018-04-17 Thread Vex Woo
Vex Woo <hap.d...@gmail.com> added the comment: Please use () or [] -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33292> ___

[issue33292] Fix secrets.randbelow docstring

2018-04-18 Thread Vex Woo
Vex Woo <hap.d...@gmail.com> added the comment: It looks simple and good. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33292] Fix secrets.randbelow docstring

2018-04-16 Thread Vex Woo
New submission from Vex Woo <hap.d...@gmail.com>: - https://github.com/python/cpython/blob/master/Lib/secrets.py#L28 Please fix """Return a random int in the range [0, n).""" to """Return a random int in the range(0, n).""