- 19 Oct, 2018 3 commits
-
-
Zackery Spytz authored
-
Cheryl Sabella authored
This allows *from_* to be successfully set to a non-default value when calling mbox.get_string.
-
Braden Groom authored
-
- 18 Oct, 2018 6 commits
-
-
Shivank98 authored
This is intended to help code explorers find out more about what's defined there.
-
Juliette Monsel authored
-
Vinay Sajip authored
-
stratakis authored
Update the outdated install-sh file to the latest revision from automake v1.16.1
-
Serhiy Storchaka authored
C implementation of xml.etree.ElementTree.Element.__setstate__() leaked references to children when called for already initialized element.
-
Gregory P. Smith authored
Restores the use of pyexpatns.h to isolate our embedded copy of the expat C library so that its symbols do not conflict at link or dynamic loading time with an embedding application or other extension modules with their own version of libexpat. https://github.com/python/cpython/commit/5dc3f23b5fb0b510926012cb3732dae63cddea60#diff-3afaf7274c90ce1b7405f75ad825f545 inadvertently removed it when upgrading expat.
-
- 17 Oct, 2018 4 commits
-
-
Stéphane Wirtel authored
On macOS, fix reading from and writing into a file with a size larger than 2 GiB.
-
Cheryl Sabella authored
-
Stéphane Wirtel authored
Verify the value for the parameter '-s' of the cProfile CLI. Patch by Robert Kuska. Co-authored-by: Robert Kuska <rkuska@gmail.com>
-
Julien Palard authored
-
- 16 Oct, 2018 4 commits
-
-
Cheryl Sabella authored
-
Cheryl Sabella authored
According to the versionchanged note, the `strict` argument was removed in 3.3 and `policy` was added, but the name of the argument in the paragraph wasn't updated.
-
Pablo Galindo authored
When runnint test_logging with --huntrleaks after commit 18fb1fb9, test_out_of_order fails to raise ValueError due to the fact that the new test test_out_of_order_with_dollar_style mutates the out_of_order dictionary. Even if the test copies the dictionary first, the mutation is done in a very deep level so the original one is also affected.
-
Vinay Sajip authored
-
- 15 Oct, 2018 6 commits
-
-
Victor Stinner authored
Fix test_cmd_line_script.test_nonexisting_script(): the test must not rely on sys.executable, since main.c uses config->program which can be different than sys.executable in many cases (for example, on macOS when using the framework).
-
Braden Groom authored
bpo-23554: Change echo server example class name from EchoServerClientProtocol to EchoServerProtocol (GH-9859)
-
Victor Stinner authored
python-gdb.py now handles errors on computing the line number of a Python frame. Changes: * PyFrameObjectPtr.current_line_num() now catchs any Exception on calling addr2line(), instead of failing with a surprising "<class 'TypeError'> 'FakeRepr' object is not subscriptable" error. * All callers of current_line_num() now handle current_line_num() returning None. * PyFrameObjectPtr.current_line() now also catchs IndexError on getting a line from the Python source file.
-
Pablo Galindo authored
-
Wolfgang Maier authored
* fix dangling mention of key=str.lower in heapq doc * Fix dangling mention of keyfunc example for sorted()
-
BNMetrics authored
bpo-34844: logging.Formatter enhancement - Ensure style and format string matches in logging.Formatter (GH-9703)
-
- 14 Oct, 2018 6 commits
-
-
Serhiy Storchaka authored
bytes and bytearray constructors converted unexpected exceptions (e.g. MemoryError and KeyboardInterrupt) to TypeError.
-
Pablo Galindo authored
Allow annotated global names in the module namespace after the symbol is declared as global. Previously, only symbols annotated before they are declared as global (i.e. inside a function) were allowed. This change allows symbols to be declared as global before the annotation happens in the global scope.
-
Pablo Galindo authored
* Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613.
-
Andrés Delfino authored
-
Serhiy Storchaka authored
Methods find(), findtext() and findall() of xml.etree.ElementTree.Element were not able to find chldren which are instances of Element subclasses.
-
Terry Jan Reedy authored
A Windows build with _tkinter, tkinter, and idlelib but without ctypes is unlikely but apparently possible.
-
- 13 Oct, 2018 7 commits
-
-
-
Serhiy Storchaka authored
Covered all special cases: bytes, tuple, list, differend kinds of iterables and iterators.
-
Steve Dower authored
-
Zackery Spytz authored
-
Zackery Spytz authored
bpo-22872: multiprocessing.Queue's put() and get() now raise ValueError if the queue is closed. (GH-9010) Previously, put() and get() would raise AssertionError and OSError, respectively.
-
Stéphane Wirtel authored
-
Ned Deily authored
With macOS framework builds, test case test_nonexisting_script in test_nonexisting_script fails because the test case assumes that the file name in sys.executable will appear in the error message. For macOS framework builds, sys.executable is the file name of the stub launcher and its file name bears no relationship to the file name of the actual python executable. For now, skip the test in this case.
-
- 12 Oct, 2018 4 commits
-
-
Julien Palard authored
-
Juliette Monsel authored
-
Serhiy Storchaka authored
-
Cheryl Sabella authored
Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
-