- 08 Eyl, 2017 11 kayıt (commit)
-
-
Steve Dower yazdı
-
Benjamin Peterson yazdı
-
Serhiy Storchaka yazdı
-
Raymond Hettinger yazdı
-
Benjamin Peterson yazdı
-
Eric Snow yazdı
* 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 yazdı
-
Christian Heimes yazdı
* 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 yazdı
Remove redundant PyUnicode_Check call. Use a static table for checking chars.
-
Ned Deily yazdı
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 yazdı
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 Eyl, 2017 19 kayıt (commit)
-
-
Gregory P. Smith yazdı
To match the documentation updates already made. Also renames the local variable used within to match what it actually holds.
-
Christian Heimes yazdı
* 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 yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Raymond Hettinger yazdı
* bpo-31270: Simplify documentation of itertools.zip_longest * Use repeat(). Track num_active.
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Pablo Galindo yazdı
* Fix ZeroMQSocketListener and ZeroMQSocketHandler examples * Use send_json and recv_json to simplify pyzmq interfacing * Add News entry
-
Elena Oat yazdı
Also provide a solution if the user wants to keep multiple blank lines.
-
Steve Dower yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Antoine Pitrou yazdı
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
Steve Dower yazdı
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Devin Jeanpierre yazdı
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 yazdı
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 yazdı
Also enable building externals by default on Windows, use PCbuild\build.bat's -E option to disable it.
-
Łukasz Langa yazdı
For f-string ast nodes, fix the line and columns so that tools such as flake8 can identify them correctly.
-
Mariatta yazdı
Explain that backport PR should include branch name and the original PR number.
-
R. David Murray yazdı
This adds support for parsing a command line where options and positionals are intermixed as is common in many unix commands. This is paul.j3's patch with a few tweaks.
-
- 06 Eyl, 2017 10 kayıt (commit)
-
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Zachary Ware yazdı
It was mostly removed long ago.
-
caavery yazdı
* bpo-27584: New addition of vSockets to the python socket module Support for AF_VSOCK on Linux only * bpo-27584: Fixes for V2 Fixed syntax and naming problems. Fixed #ifdef AF_VSOCK checking Restored original aclocal.m4 * bpo-27584: Fixes for V3 Added checking for fcntl and thread modules. * bpo-27584: Fixes for V4 Fixed white space error * bpo-27584: Fixes for V5 Added back comma in (CID, port). * bpo-27584: Fixes for V6 Added news file. socket.rst now reflects first Linux introduction of AF_VSOCK. Fixed get_cid in test_socket.py. Replaced PyLong_FromLong with PyLong_FromUnsignedLong in socketmodule.c Got rid of extra AF_VSOCK #define. Added sockaddr_vm to sock_addr. * bpo-27584: Fixes for V7 Minor cleanup. * bpo-27584: Fixes for V8 Put back #undef AF_VSOCK as it is necessary when vm_sockets.h is not installed.
-
Steve Dower yazdı
-
Shlomi Fish yazdı
Various platforms have various methods of handling multiarch libffi which probably won't match the previously looked-for defines. Now we just make sure that ffi.h is available.
-
Devin Jeanpierre yazdı
Add basic fuzz tests for a few common builtin functions. This is an easy place to start, and these functions are probably safe. We'll want to add more fuzz tests later. Lets bootstrap using these. While the fuzz tests are included in CPython and compiled / tested on a very basic level inside CPython itself, the actual fuzzing happens as part of oss-fuzz (https://github.com/google/oss-fuzz). The reason to include the tests in CPython is to make sure that they're maintained as part of the CPython project, especially when (as some eventually will) they use internal implementation details in the test. (This will be necessary sometimes because e.g. the fuzz test should never enter Python's interpreter loop, whereas some APIs only expose themselves publicly as Python functions.) This particular set of changes is part of testing Python's builtins, tracked internally at Google by b/37562550. The _xxtestfuzz module that this change adds need not be shipped with binary distributions of Python.
-
Steve Dower yazdı
-
Antoine Pitrou yazdı
This reverts commit 83386061, as it broke Windows builds.
-
Ammar Askar yazdı
Avoid concatenating bytes with str in the typically rare subprocess error path (exec failed). Includes a mock based unittest to exercise the codepath.
-
Christian Heimes yazdı
SSLObject.version() now correctly returns None when handshake over BIO has not been performed yet. Signed-off-by: Christian Heimes <christian@python.org>
-