- 24 Jul, 2019 9 commits
-
-
Benjamin Peterson authored
-
Steve Dower authored
-
Hansraj Das authored
-
Pradyun Gedam authored
-
Stefan Behnel authored
* Fix the formatting in the documentation of the tostring() functions. * bpo-34160: Document that the tostring() and tostringlist() functions also preserve the attribute order now. * bpo-34160: Add an explanation of how users should deal with the attribute order.
-
Stefan Behnel authored
* bpo-37399: Correctly attach tail text to the last element/comment/pi, even when comments or pis are discarded. Also fixes the insertion of PIs when "insert_pis=True" is configured for a TreeBuilder.
-
Jeroen Demeyer authored
-
Gregory P. Smith authored
Verify that it appears to find roughly the right number of tests in the stdlib's testsuite.
-
Gregory P. Smith authored
-
- 23 Jul, 2019 5 commits
-
-
Brett Cannon authored
-
Terry Jan Reedy authored
Stop depending on tkinter import *.
-
Erlend Egeberg Aasland authored
-
Tal Einat authored
-
Tal Einat authored
-
- 22 Jul, 2019 3 commits
-
-
Neil Schemenauer authored
Reduce the number of unit tests run for the PGO generation task. This speeds up the task by a factor of about 15x. Running the full unit test suite is slow. This change may result in a slightly less optimized build since not as many code branches will be executed. If you are willing to wait for the much slower build, the old behavior can be restored using './configure [..] PROFILE_TASK="-m test --pgo-extended"'. We make no guarantees as to which PGO task set produces a faster build. Users who care should run their own relevant benchmarks as results can depend on the environment, workload, and compiler tool chain.
-
Vinay Sajip authored
Update logging cookbook to show multiple worker processes using the concurrent.futures module. (#14905)
-
Xtreak authored
bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688) * Clear name and parent of mock in autospecced objects used with attach_mock * Add NEWS entry * Fix reversed order of comparison * Test child and standalone function calls * Use a helper function extracting mock to avoid code duplication and refactor tests.
-
- 21 Jul, 2019 8 commits
-
-
Raymond Hettinger authored
-
Terry Jan Reedy authored
-
Min ho Kim authored
-
Terry Jan Reedy authored
-
Raymond Hettinger authored
Minor whitespace, indentation, and quoting changes to improve internal consistency and appease linters (GH-14888)
-
Ned Deily authored
-
Ngalim Siregar authored
Repeat the command line arguments most recently entered before so the user can edit them.
-
Raymond Hettinger authored
* Make internals private * Finish making mu and sigma private * Add missing __hash__() method * Add blurb
-
- 20 Jul, 2019 1 commit
-
-
Hai Shi authored
-
- 19 Jul, 2019 4 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Zackery Spytz authored
The compiler warning was introduced in 59ad110d.
-
aldwinaldwin authored
Move the Editors and IDE section out of the Unix section, to its own section. https://bugs.python.org/issue37610
-
- 18 Jul, 2019 5 commits
-
-
Tal Einat authored
Eliminate delay of up to 100ms and accompanying visual artifact. Fix bug of never showing context when hide and show.
-
Walter Dörwald authored
* Use __qualname__ instead of __name__ in enum exception messages.
-
Sergey Fedoseev authored
-
Paul Monson authored
A bug in MSVC UCRT version 17763.615 (which has been fixed in newer versions) is causing test failures in some strptime/strftime tests when the default code page is c65001. This change selectively skips the tests affected by this.
-
Terry Jan Reedy authored
Add two indent spec methods from editor and Rstrip to existing file. Tests are not added for indent methods because they need change in lights of 3.x's prohibition on mixing tabs and spaces.
-
- 17 Jul, 2019 5 commits
-
-
jpic authored
Before: >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses (Address(display_name='', username='a', domain='malicious.org'),) >>> parseaddr('a@malicious.org@important.com') ('', 'a@malicious.org') After: >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses (Address(display_name='', username='', domain=''),) >>> parseaddr('a@malicious.org@important.com') ('', 'a@') https://bugs.python.org/issue34155
-
Abhilash Raj authored
This exception was caused because the input ended unexpectedly with only one single quote instead of a pair with some value inside it.
-
Abhilash Raj authored
* bpo-37461: Fix infinite loop in parsing of specially crafted email headers. Some crafted email header would cause the get_parameter method to run in an infinite loop causing a DoS attack surface when parsing those headers. This patch fixes that by making sure the DQUOTE character is handled to prevent going into an infinite loop.
-
Cheryl Sabella authored
Rename paragraph.py to format.py and add region formatting methods from editor.py. Add tests for the latter.
-
Inada Naoki authored
PyObject_Malloc() and PyObject_Free() inlines pymalloc_alloc and pymalloc_free partially. But when PGO is not used, compiler don't know where is the hot part in pymalloc_alloc and pymalloc_free.
-