- 29 Mar, 2018 1 kayıt (commit)
-
-
Ned Deily yazdı
Build and link with private copy of Tcl/Tk 8.6 for the macOS 10.6+ installer. The 10.9+ installer variant already does this. This means that the Python 3.7 provided by the python.org macOS installers no longer need or use any external versions of Tcl/Tk, either system-provided or user- installed, such as ActiveTcl.
-
- 28 Mar, 2018 9 kayıt (commit)
-
-
Julien Palard yazdı
-
Julien Palard yazdı
-
Serhiy Storchaka yazdı
Most of them have been added in 3.7.
-
Antoine Pitrou yazdı
-
INADA Naoki yazdı
-
Ned Deily yazdı
-
Ned Deily yazdı
Forcing the macOS IDLE.app gui process to launch in 32-mode was a necessary hack for old versions of Tk (Aqua Carbon as in Tk 8.4 and early versions of 8.5); it is not needed for current versions of Tk. Since 32-bit launching will no longer be supported on future releases of macOS, allow IDLE.app to launch in 64-bit mode.
-
Ned Deily yazdı
-
Sam Dunster yazdı
* Also in docs
-
- 27 Mar, 2018 3 kayıt (commit)
-
-
Ned Deily yazdı
test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()` using the KqueueSelector. Closing `proto.transport` (as is done in `write_pty_output()`) seems to fix it. (cherry picked from commit 12f74d86) Co-authored-by: Nathan Henrie <n8henrie@users.noreply.github.com> Also, re-enable test_read_pty_output on macOS.
-
Barry Warsaw yazdı
-
Cheryl Sabella yazdı
-
- 26 Mar, 2018 11 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
This also fixes python/typing#512 This also fixes python/typing#511 As was discussed in both issues, some typing forms deserve to be treated as immutable by copy and pickle modules, so that: * copy(X) is X * deepcopy(X) is X * loads(dumps(X)) is X # pickled by reference This PR adds such behaviour to: * Type variables * Special forms like Union, Any, ClassVar * Unsubscripted generic aliases to containers like List, Mapping, Iterable This not only resolves inconsistencies mentioned in the issues, but also improves backwards compatibility with previous versions of Python (including 3.6). Note that this requires some dances with __module__ for type variables (similar to NamedTuple) because the class TypeVar itself is define in typing, while type variables should get module where they were defined. https://bugs.python.org/issue32873
-
Alexey Izbyshev yazdı
bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr. When redirecting, subprocess attempts to achieve the following state: each fd to be redirected to is less than or equal to the fd it is redirected from, which is necessary because redirection occurs in the ascending order of destination descriptors. It fails to do so in a couple of corner cases, for example, if 1 is redirected to 2 and 0 is closed in the parent.
-
Eric V. Smith yazdı
This is part of PEP 487 and the descriptor protocol.
-
Takuya Akiba yazdı
-
Oren Milman yazdı
-
Michael Seifert yazdı
-
cocoatomo yazdı
Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
-
Neeraj Badlani yazdı
gmon.out is generated when profiling turned on Full Configuration: ./configure --prefix=$PWD/install --enable-profiling --enable-big-digits=30 --with-pydebug --with-assertions --with-valgrind
-
Stefano Taschini yazdı
-
Garvit Khatri yazdı
Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same.
-
Eric V. Smith yazdı
Also, re-enable a test for ClassVars with default_factory.
-
- 25 Mar, 2018 9 kayıt (commit)
-
-
Gregory P. Smith yazdı
Clarify the subprocess documentation.
-
Nick Coghlan yazdı
I noticed this had slipped into the original commit when resolving a merge conflict for the backport to 3.7.
-
Eric V. Smith yazdı
-
Nick Coghlan yazdı
Historically, -m added the empty string as sys.path zero, meaning it resolved imports against the current working directory, the same way -c and the interactive prompt do. This changes the sys.path initialisation to add the *starting* working directory as sys.path[0] instead, such that changes to the working directory while the program is running will have no effect on imports when using the -m switch.
-
Nick Coghlan yazdı
- new test case for pre-initialization of sys.warnoptions and sys._xoptions - restored ability to call these APIs prior to Py_Initialize - updated the docs for the affected APIs to make it clear they can be called before Py_Initialize - also enhanced the existing embedding test cases to check for expected settings in the sys module
-
Christian Heimes yazdı
Harden ssl module against LibreSSL CVE-2018-8970. X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test ensures that NULL bytes are not allowed. Signed-off-by: Christian Heimes <christian@python.org>
-
Xiang Zhang yazdı
-
Eric V. Smith yazdı
-
Eric V. Smith yazdı
bpo-33134: dataclasses: use function dispatch table for hash, instead of a string lookup which then is tested with if tests. (GH-6222) * Change _hash_action to be a function table lookup, instead of a list of strings which is then tested with if statements.
-
- 24 Mar, 2018 5 kayıt (commit)
-
-
Eric V. Smith yazdı
- When adding a single element to a list, use .append() instead of += and creating a new list. - For consistency, import the copy module, instead of just deepcopy. This leaves only a module at the class level, instead of a function. - Improve some comments. - Improve some whitespace. - Use tuples instead of lists. - Simplify a test.
-
Serhiy Storchaka yazdı
-
Christian Heimes yazdı
LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7. Documentation updates and fixes for failing tests will be provided in another patch set. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
Commit 141c5e8c re-added match_hostname() call. The resurrection of the function call was never intended and was solely a merge mistake. Signed-off-by: Christian Heimes <christian@python.org>
-
Xiang Zhang yazdı
-
- 23 Mar, 2018 2 kayıt (commit)
-
-
Himanshu Lakhara yazdı
-
Julien Palard yazdı
-