- 26 Mar, 2018 8 commits
-
-
Takuya Akiba authored
-
Oren Milman authored
-
Michael Seifert authored
-
cocoatomo authored
Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
-
Neeraj Badlani authored
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 authored
-
Garvit Khatri authored
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 authored
Also, re-enable a test for ClassVars with default_factory.
-
- 25 Mar, 2018 9 commits
-
-
Gregory P. Smith authored
Clarify the subprocess documentation.
-
Nick Coghlan authored
I noticed this had slipped into the original commit when resolving a merge conflict for the backport to 3.7.
-
Eric V. Smith authored
-
Nick Coghlan authored
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 authored
- 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 authored
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 authored
-
Eric V. Smith authored
-
Eric V. Smith authored
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 commits
-
-
Eric V. Smith authored
- 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 authored
-
Christian Heimes authored
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 authored
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 authored
-
- 23 Mar, 2018 6 commits
-
-
Himanshu Lakhara authored
-
Julien Palard authored
-
Berker Peksag authored
Reported by Maksym Nikulyak on docs.p.o.
-
Serhiy Storchaka authored
into/out of an except block.
-
Serhiy Storchaka authored
* Added new opcode END_ASYNC_FOR. * Setting global StopAsyncIteration no longer breaks "async for" loops. * Jumping into an "async for" loop is now disabled. * Jumping out of an "async for" loop no longer corrupts the stack. * Simplify the compiler.
-
INADA Naoki authored
-
- 22 Mar, 2018 4 commits
-
-
Eric V. Smith authored
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192) If a dataclass has a member variable that's of type Field, but it doesn't have a type annotation, raise TypeError.
-
INADA Naoki authored
bpo-33018 (GH-5944) fixed bpo-32999 too. So fc7df0e6 is not required anymore. Revert it except test case.
-
jab authored
This improves error message for situations when a non-class is checked w.r.t. an abstract base class.
-
Donald Stufft authored
-
- 21 Mar, 2018 7 commits
-
-
Eric V. Smith authored
- Add missing 'Field' to __all__. - Improve tests to catch this.
-
Thomas Moreau authored
-
Thomas Moreau authored
-
Zackery Spytz authored
-
Eric V. Smith authored
bpo-32896: Fix error when subclassing a dataclass with a field that uses a default_factory (GH-6170) Fix the way that new annotations in a class are detected.
-
Xiang Zhang authored
The result of host() was not empty when the network is constructed by a tuple containing an integer mask and only 1 bit left for addresses.
-
Cheryl Sabella authored
Original patch by Jon Foster and Berker Peksag.
-
- 20 Mar, 2018 1 commit
-
-
Cheryl Sabella authored
-