- 10 Sep, 2017 2 commits
-
-
Stefan Krah authored
-
Zhiming Wang authored
getstate and setstate are instance methods, same as encode and reset.
-
- 09 Sep, 2017 4 commits
-
-
Stefan Krah authored
-
Sergey Fedoseev authored
-
Steve Dower authored
-
Gregory P. Smith authored
test.support.HOST should be "localhost" as it was in the past. See the bpo-29639. Tests that need the IP address should use HOSTv4 (added) or the existing HOSTv6 constant. This changes the definition and fixes tests that needed updating to deal with HOST being the hostname rather than the hardcoded IP address. This is only the first step in addressing https://bugs.python.org/issue29639.
-
- 08 Sep, 2017 17 commits
-
-
Han Lee authored
* Fix #26669 * Modify NaN check function and error message * Fix pytime.c when arg is nan * fix whitespace
-
Steve Dower authored
* bpo-31392: Improve SSL error handling on Windows * Remove unnecessary Windows mention in NEWS
-
Christian Heimes authored
b3ad0e51 broke backwards compatibility with OpenSSL < 1.0.2. Signed-off-by: Christian Heimes <christian@python.org>
-
Benjamin Peterson authored
-
octaviansoldea authored
Allow configure --with-lto to apply to all builds, not just profile-opt builds. Whether this is actually useful or not must be determined by the person building CPython using their own toolchain. My own quick test on x86_64 Debian 9 (gcc 6.3, binutils 2.28) seemed to suggest that it wasn't, but I expect better toolchains can or will exist at some point. The point is to allow it at all.
-
Christian Heimes authored
The SSL module now raises SSLCertVerificationError when OpenSSL fails to verify the peer's certificate. The exception contains more information about the error. Original patch by Chi Hsuan Yen Signed-off-by: Christian Heimes <christian@python.org>
-
Steve Dower authored
-
Benjamin Peterson authored
-
Serhiy Storchaka authored
-
Raymond Hettinger authored
-
Benjamin Peterson authored
-
Eric Snow authored
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
-
Steve Dower authored
-
Christian Heimes authored
* bpo-29136: Add TLS 1.3 support TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3 cipher suites don't overlap with cipher suites from TLS 1.2 and earlier. Since Python sets its own set of permitted ciphers, TLS 1.3 handshake will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common AES-GCM and ChaCha20 suites. Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3 now. Signed-off-by: Christian Heimes <christian@python.org>
-
Benjamin Peterson authored
Remove redundant PyUnicode_Check call. Use a static table for checking chars.
-
Ned Deily authored
Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target.
-
Nick Coghlan authored
f_trace_lines: enable/disable line trace events f_trace_opcodes: enable/disable opcode trace events These are intended primarily for testing of the interpreter itself, as they make it much easier to emulate signals arriving at unfortunate times.
-
- 07 Sep, 2017 17 commits
-
-
Gregory P. Smith authored
To match the documentation updates already made. Also renames the local variable used within to match what it actually holds.
-
Christian Heimes authored
* bpo-27340: Use memoryview in SSLSocket.sendall() SSLSocket.sendall() now uses memoryview to create slices of data. This fix support for all bytes-like object. It is also more efficient and avoids costly copies. Signed-off-by: Christian Heimes <christian@python.org> * Cast view to bytes, fix typo Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes authored
Signed-off-by: Christian Heimes <christian@python.org>
-
Raymond Hettinger authored
* bpo-31270: Simplify documentation of itertools.zip_longest * Use repeat(). Track num_active.
-
Christian Heimes authored
Signed-off-by: Christian Heimes <christian@python.org>
-
Pablo Galindo authored
* Fix ZeroMQSocketListener and ZeroMQSocketHandler examples * Use send_json and recv_json to simplify pyzmq interfacing * Add News entry
-
Elena Oat authored
Also provide a solution if the user wants to keep multiple blank lines.
-
Steve Dower authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Antoine Pitrou authored
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
Steve Dower authored
-
Christian Heimes authored
Signed-off-by: Christian Heimes <christian@python.org>
-
Devin Jeanpierre authored
This fixes the gcc "warning: this use of "defined" may not be portable [-Wexpansion-to-defined]" See discussion in http://bugs.python.org/issue29505
-
Gregory P. Smith authored
The `subprocess.getstatusoutput` API was inadvertently changed in Python 3.3.4. Document the change, it is too late to undo the API change now as it has shipped in many stable releases.
-
Zachary Ware authored
Also enable building externals by default on Windows, use PCbuild\build.bat's -E option to disable it.
-
Łukasz Langa authored
For f-string ast nodes, fix the line and columns so that tools such as flake8 can identify them correctly.
-