-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cpython bdw nogc #1
base: main
Are you sure you want to change the base?
Commits on Jul 21, 2019
-
Fix typo found by Min ho Kim (pythonGH-14879)
(cherry picked from commit 8e3a738) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for a8cac57 - Browse repository at this point
Copy the full SHA a8cac57View commit details -
bpo-37627: Initialize IDLE Custom Run dialog with previous entries (p…
…ythonGH-14870) Repeat the command line arguments most recently entered before so the user can edit them. (cherry picked from commit 35b87e6) Co-authored-by: Ngalim Siregar <ngalim.siregar@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9325f40 - Browse repository at this point
Copy the full SHA 9325f40View commit details -
bpo-37627: Add acknowledgment (pythonGH-14883)
(cherry picked from commit 4214f1e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 52ee929 - Browse repository at this point
Copy the full SHA 52ee929View commit details -
Add examples to elucidate the formulas (pythonGH-14898) (pythonGH-14899)
(cherry picked from commit b530a44) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0104841 - Browse repository at this point
Copy the full SHA 0104841View commit details
Commits on Jul 22, 2019
-
[3.8] Fix typos in docs, comments and test assert messages (pythonGH-…
…14872). (python#14900) (cherry picked from commit 96e12d5) Co-authored-by: Min ho Kim <minho42@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 24b5b36 - Browse repository at this point
Copy the full SHA 24b5b36View commit details -
bpo-21478: Record calls to parent when autospecced objects are used a…
…s child with attach_mock (GH 14688) (pythonGH-14902) * 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. (cherry picked from commit 7397cda) Co-authored-by: Xtreak <tir.karthi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 22fd679 - Browse repository at this point
Copy the full SHA 22fd679View commit details -
Update logging cookbook to show multiple worker processes using the c…
…oncurrent.futures module. (pythonGH-14905) (pythonGH-14906) (cherry picked from commit d309352)
Configuration menu - View commit details
-
Copy full SHA for 5b39852 - Browse repository at this point
Copy the full SHA 5b39852View commit details -
bpo-36044: Reduce number of unit tests run for PGO build (pythonGH-14702
) 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. (cherry picked from commit 4e16a4a) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Configuration menu - View commit details
-
Copy full SHA for 2406672 - Browse repository at this point
Copy the full SHA 2406672View commit details
Commits on Jul 23, 2019
-
bpo-33610: validate non-negative integer inputs in IDLE's config (pyt…
…honGH-14822) (cherry picked from commit 1ebee37) Co-authored-by: Tal Einat <taleinat@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5dab5e7 - Browse repository at this point
Copy the full SHA 5dab5e7View commit details -
[3.8] bpo-36974: separate vectorcall functions for each calling conve…
…ntion (pythonGH-13781) (python#14782)
Configuration menu - View commit details
-
Copy full SHA for bf8e82f - Browse repository at this point
Copy the full SHA bf8e82fView commit details -
bpo-17535: IDLE editor line numbers (pythonGH-14030)
(cherry picked from commit 7123ea0) Co-authored-by: Tal Einat <taleinat@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1da6a31 - Browse repository at this point
Copy the full SHA 1da6a31View commit details -
bpo-29446: IDLE -- add explicit imports (pythonGH-14919) (pythonGH-14920
) Stop depending on tkinter import *. (cherry picked from commit c6fd6c8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for fc63d5a - Browse repository at this point
Copy the full SHA fc63d5aView commit details
Commits on Jul 24, 2019
-
Only setup PGO tests when --pgo is enabled. (pythonGH-14927)
(cherry picked from commit f0807ab) Co-authored-by: Gregory P. Smith <greg@krypto.org>
Configuration menu - View commit details
-
Copy full SHA for 9f77cfc - Browse repository at this point
Copy the full SHA 9f77cfcView commit details -
bpo-37667: Add regression test for regrtest. (pythonGH-14929)
Verify that it appears to find roughly the right number of tests in the stdlib's testsuite. (cherry picked from commit e95ac20) Co-authored-by: Gregory P. Smith <greg@krypto.org>
Configuration menu - View commit details
-
Copy full SHA for 9d54de1 - Browse repository at this point
Copy the full SHA 9d54de1View commit details -
[3.8] Touch up venv docs (pythonGH-14922) (pythonGH-14923)
(cherry picked from commit 2f224a0) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon
Configuration menu - View commit details
-
Copy full SHA for eb62274 - Browse repository at this point
Copy the full SHA eb62274View commit details -
[3.8] bpo-34160: explain how to deal with attribute order in ElementT…
…ree (pythonGH-14867) (pythonGH-14935) * 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. (cherry picked from commit a3697db) Co-authored-by: Stefan Behnel <stefan_ml@behnel.de>
Configuration menu - View commit details
-
Copy full SHA for 6367391 - Browse repository at this point
Copy the full SHA 6367391View commit details -
[3.8] bpo-37399: Correctly attach tail text to the last element/comme…
…nt/pi (pythonGH-14856) (pythonGH-14936) * 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.
Configuration menu - View commit details
-
Copy full SHA for bb69789 - Browse repository at this point
Copy the full SHA bb69789View commit details -
bpo-37664: Update bundled pip to 19.2.1 and setuptools to 41.0.1 (pyt…
…honGH-14934) (cherry picked from commit 5380def) Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0cdb21d - Browse repository at this point
Copy the full SHA 0cdb21dView commit details -
bpo-37672: Switch Windows Store package to use pip.ini for user mode (p…
…ythonGH-14939) (cherry picked from commit 123536f) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 4b7ce10 - Browse repository at this point
Copy the full SHA 4b7ce10View commit details
Commits on Jul 25, 2019
-
closes bpo-37675: Use pkgutil.iter_modules to find fixers in a packag…
…e rather than listdir. (14942) (cherry picked from commit 93e8aa6) Co-authored-by: Benjamin Peterson <benjamin@python.org>
Configuration menu - View commit details
-
Copy full SHA for 69802f6 - Browse repository at this point
Copy the full SHA 69802f6View commit details -
bpo-37502: handle default parameter for buffers argument of pickle.lo…
…ads correctly (pythonGH-14593) (cherry picked from commit 898318b) Co-authored-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Configuration menu - View commit details
-
Copy full SHA for 25cb4fd - Browse repository at this point
Copy the full SHA 25cb4fdView commit details -
Swap 'if' branches so content matches to condition in importlib examp…
…le (pythonGH-14947) Prior to this change the guard on an 'elif' used an assignment expression whose value was used in a later 'else' block, causing some confusion for people. (Discussion on Twitter: https://twitter.com/brettsky/status/1153861041068994566.) Automerge-Triggered-By: @brettcannon (cherry picked from commit 544fa15) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c594c27 - Browse repository at this point
Copy the full SHA c594c27View commit details -
bpo-37641 preserve relative file location in embeddable zip (pythonGH…
…-14884) Previously, pyc files in the embeddable distribution reported their location as <build path>/<file stem>.py. This causes a little confusion when interpreting stack traces as the file is in a (almost certainly) incorrect location, and lacks the full relative path to Lib (e.g. email/mime/image.py will only show image.py). This change preserves the Lib relative location of the source file as a path so that stack traces are (hopefully) less misleading and more informative. Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit c4cda43) Co-authored-by: Bill Collins <bilbocollins@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0f21197 - Browse repository at this point
Copy the full SHA 0f21197View commit details
Commits on Jul 26, 2019
-
bpo-37664: Update regex for ignoring cache warning on some buildbots (p…
…ythonGH-14960) (cherry picked from commit b1eb20e) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for c503390 - Browse repository at this point
Copy the full SHA c503390View commit details -
Configuration menu - View commit details
-
Copy full SHA for 886e66d - Browse repository at this point
Copy the full SHA 886e66dView commit details -
bpo-32910: Remove implementation detail in venv documentation. (pytho…
…nGH-14968) (cherry picked from commit 91e4957) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 06e8fc9 - Browse repository at this point
Copy the full SHA 06e8fc9View commit details
Commits on Jul 27, 2019
-
bpo-17535: Increase line number horizontal padding by 2 pixels (pytho…
…nGH-14959) (cherry picked from commit 46ebd4a) Co-authored-by: Tal Einat <taleinat@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f6ab188 - Browse repository at this point
Copy the full SHA f6ab188View commit details -
Configuration menu - View commit details
-
Copy full SHA for d38fa58 - Browse repository at this point
Copy the full SHA d38fa58View commit details -
bpo-37628: Fix IDLE config sample sizes (pythonGH-14958)
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box. (cherry picked from commit 3221a63) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1710193 - Browse repository at this point
Copy the full SHA 1710193View commit details -
bpo-37691: Let math.dist() accept sequences and iterables for coordin…
…ates (pythonGH-14975) (pythonGH-14984) (cherry picked from commit 6b5f1b4) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 76821ba - Browse repository at this point
Copy the full SHA 76821baView commit details
Commits on Jul 28, 2019
-
Remove trailing .0 from version changed note (pythonGH-14987)
(cherry picked from commit 17a058e) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69372ee - Browse repository at this point
Copy the full SHA 69372eeView commit details -
bpo-37692: Improve highlight config sample (pythonGH-14983)
Use an example shell interaction in the sample and better labels for shell elements. (cherry picked from commit b222955) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for c94386d - Browse repository at this point
Copy the full SHA c94386dView commit details -
bpo-37697: Sync with importlib_metadata 0.19 (pythonGH-14993) (python…
Configuration menu - View commit details
-
Copy full SHA for f96334c - Browse repository at this point
Copy the full SHA f96334cView commit details
Commits on Jul 29, 2019
-
bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and …
…sqlite coverage (pythonGH-14985) https://bugs.python.org/issue36044 Automerge-Triggered-By: @zooba (cherry picked from commit e1b9002) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 36fd7b6 - Browse repository at this point
Copy the full SHA 36fd7b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4336222 - Browse repository at this point
Copy the full SHA 4336222View commit details -
Fix
SyntaxError
indicator printing too many spaces for multi-line s……trings (pythonGH-14433) (cherry picked from commit 5b94f35) Co-authored-by: Anthony Sottile <asottile@umich.edu>
Configuration menu - View commit details
-
Copy full SHA for cf52bd0 - Browse repository at this point
Copy the full SHA cf52bd0View commit details -
bpo-37500: Make sure dead code does not generate bytecode but also de…
…tect syntax errors (pythonGH-14612) https://bugs.python.org/issue37500 Add a new field to the compiler structure that allows to be configured so no bytecode is emitted. In this way is possible to detect errors by walking the nodes while preserving optimizations. https://bugs.python.org/issue37500 (cherry picked from commit 18c5f9d) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9ea738e - Browse repository at this point
Copy the full SHA 9ea738eView commit details -
Add additional test for multi-line SyntaxError (pythonGH-15003)
(cherry picked from commit 44212ec) Co-authored-by: Anthony Sottile <asottile@umich.edu>
Configuration menu - View commit details
-
Copy full SHA for bf0b8a6 - Browse repository at this point
Copy the full SHA bf0b8a6View commit details -
Fix publishing of Windows release (pythonGH-15006)
(cherry picked from commit fe330fc) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 494ed69 - Browse repository at this point
Copy the full SHA 494ed69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f53a68 - Browse repository at this point
Copy the full SHA 6f53a68View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc0e31 - Browse repository at this point
Copy the full SHA adc0e31View commit details -
bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (pythonGH-15010)
They pass with tk 8.5.9 (Azure) but fail with the 8.6.x we install. (cherry picked from commit e8874b8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 8513b90 - Browse repository at this point
Copy the full SHA 8513b90View commit details -
bpo-34162: Update idlelib/news.txt. (pythonGH-15011)
(cherry picked from commit f35c51d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 8b50e3e - Browse repository at this point
Copy the full SHA 8b50e3eView commit details
Commits on Jul 30, 2019
-
bpo-37587: Make json.loads faster for long strings (pythonGH-14752)
When scanning the string, most characters are valid, so checking for invalid characters first means never needing to check the value of strict on valid strings, and only needing to check it on invalid characters when doing non-strict parsing of invalid strings. This provides a measurable reduction in per-character processing time (~11% in the pre-merge patch testing). (cherry picked from commit 8a758f5) Co-authored-by: Marco Paolini <mpaolini@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9265a87 - Browse repository at this point
Copy the full SHA 9265a87View commit details -
bpo-37707: Exclude expensive unit tests from PGO task (pythonGH-15009) (
python#15024) Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable. (cherry picked from commit 52a48e6) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Configuration menu - View commit details
-
Copy full SHA for 382cb85 - Browse repository at this point
Copy the full SHA 382cb85View commit details -
Don't skip pickle check_frame_opcodes() (pythonGH-15027)
This looks like the only place that proto 4 framing gets exercised so leave it as part of the PGO task. (cherry picked from commit eca7ffc) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Configuration menu - View commit details
-
Copy full SHA for 0f9efbc - Browse repository at this point
Copy the full SHA 0f9efbcView commit details -
bpo-36084: Add threading Native ID information to What's New document…
…ation (pythonGH-14845) (cherry picked from commit 84846b0) Co-authored-by: Jake Tesler <jake.tesler@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7026737 - Browse repository at this point
Copy the full SHA 7026737View commit details -
Fix idlelib typos discovered by min ho, pr 15018. (pythonGH-15029)
(cherry picked from commit 0acb646) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 01c62c9 - Browse repository at this point
Copy the full SHA 01c62c9View commit details
Commits on Jul 31, 2019
-
bpo-33822: Add IDLE section of What's New 3.8 (pythonGH-15035)
* bpo-33822: Add IDLE section of What's New 3.8 * Fix role. (cherry picked from commit a72ca90) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for c7236b4 - Browse repository at this point
Copy the full SHA c7236b4View commit details -
bpo-34162: Add missing items to idlelib/NEWS.txt. (pythonGH-15034)
(cherry picked from commit fff5cb2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 34de5dc - Browse repository at this point
Copy the full SHA 34de5dcView commit details -
bpo-33821: Update IDLE section of What's New 3.7 (pythonGH-15036)
* bpo-33821: Update IDLE section of What's New 3.7 * Fix roles. (cherry picked from commit 5982b72) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 9e044dd - Browse repository at this point
Copy the full SHA 9e044ddView commit details -
IDLE: changelog correction and addition (pythonGH-15042)
(cherry picked from commit d04f890) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 8194a20 - Browse repository at this point
Copy the full SHA 8194a20View commit details -
Refined Qt GUI example in the logging cookbook. (pythonGH-15045) (pyt…
…honGH-15046) (cherry picked from commit 472eced)
Configuration menu - View commit details
-
Copy full SHA for 9b9cac4 - Browse repository at this point
Copy the full SHA 9b9cac4View commit details -
bpo-37085: Expose SocketCAN bcm_msg_head flags (pythonGH-13646)
Expose the CAN_BCM SocketCAN constants used in the bcm_msg_head struct flags (provided by <linux/can/bcm.h>) under the socket library. This adds the following constants with a CAN_BCM prefix: * SETTIMER * STARTTIMER * TX_COUNTEVT * TX_ANNOUNCE * TX_CP_CAN_ID * RX_FILTER_ID * RX_CHECK_DLC * RX_NO_AUTOTIMER * RX_ANNOUNCE_RESUME * TX_RESET_MULTI_IDX * RX_RTR_FRAME * CAN_FD_FRAME The CAN_FD_FRAME flag was introduced in the 4.8 kernel, while the other ones were present since SocketCAN drivers were mainlined in 2.6.25. As such, it is probably unnecessary to guard against these constants being missing. (cherry picked from commit 31c4fd2) Co-authored-by: karl ding <karlding@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d8b914a - Browse repository at this point
Copy the full SHA d8b914aView commit details -
bpo-34101: Add doc of PyBuffer_GetPointer (pythonGH-14994)
(cherry picked from commit 1b29af8) Co-authored-by: Hai Shi <shihai1992@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 29a3a33 - Browse repository at this point
Copy the full SHA 29a3a33View commit details -
bpo-37723: Fix performance regression on regular expression parsing. (p…
…ythonGH-15030) Improve performance of sre_parse._uniq function. (cherry picked from commit 9f55551) Co-authored-by: yannvgn <hi@yannvgn.io>
Configuration menu - View commit details
-
Copy full SHA for 77fcccb - Browse repository at this point
Copy the full SHA 77fcccbView commit details -
bpo-37695: Correct unget_wch error message. (pythonGH-14986)
(cherry picked from commit c9345e3) Co-authored-by: Anthony Sottile <asottile@umich.edu>
Configuration menu - View commit details
-
Copy full SHA for 462f070 - Browse repository at this point
Copy the full SHA 462f070View commit details
Commits on Aug 1, 2019
-
bpo-37726: Prefer argparse over getopt in stdlib tutorial (pythonGH-1…
…5052) (python#15070) (cherry picked from commit 2491134) Co-authored-by: mental <m3nta1@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for dcc53eb - Browse repository at this point
Copy the full SHA dcc53ebView commit details -
bpo-18049: Sync thread stack size to main thread size on macOS (pytho…
…nGH-14748) This changeset increases the default size of the stack for threads on macOS to the size of the stack of the main thread and reenables the relevant recursion test. (cherry picked from commit 1a057ba) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Configuration menu - View commit details
-
Copy full SHA for 8399641 - Browse repository at this point
Copy the full SHA 8399641View commit details
Commits on Aug 2, 2019
-
bpo-16970: Adding error message for invalid args (pythonGH-14844)
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970 (cherry picked from commit 4b3e975) Co-authored-by: tmblweed <tmblweed@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1cc7032 - Browse repository at this point
Copy the full SHA 1cc7032View commit details -
bpo-36487: Make C-API docs clear about what the main interpreter is. (p…
…ythongh-15080) (cherry picked from commit 854d0a4) (pythongh-12666) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 375f35b - Browse repository at this point
Copy the full SHA 375f35bView commit details -
bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (pythonGH-11847
) Previously pdb checked the $HOME environmental variable to find the user .pdbrc. If $HOME is not set, the user .pdbrc would not be found. Change pdb to use `os.path.expanduser('~')` to determine the user's home directory. Thus, if $HOME is not set (as in tox or on Windows), os.path.expanduser('~') falls back on other techniques for locating the user's home directory. This follows pip's implementation for loading .piprc. Co-authored-by: Dan Lidral-Porter <dlp@aperiodic.org> (cherry picked from commit 7ea9a85) Co-authored-by: Timothy Hopper <tdhopper@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 79af3bd - Browse repository at this point
Copy the full SHA 79af3bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b83390 - Browse repository at this point
Copy the full SHA 6b83390View commit details
Commits on Aug 3, 2019
-
Correct description of HTTP status code 308. (pythonGH-15098)
Permanent redirect was explained as a temporary redirect. (cherry picked from commit 5c72bad) Co-authored-by: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e402d3 - Browse repository at this point
Copy the full SHA 4e402d3View commit details
Commits on Aug 4, 2019
-
bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timez…
…one. (pythonGH-14996) There was a discrepancy between the Python and C implementations. Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support to test mixed type comparison. (cherry picked from commit 17e5264) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dde944f - Browse repository at this point
Copy the full SHA dde944fView commit details -
bpo-37730: Fix usage of NotImplemented instead of NotImplementedError…
… in docs. (pythonGH-15062) (cherry picked from commit ed5e8e0) Co-authored-by: David H <dheiberg@mozilla.com>
Configuration menu - View commit details
-
Copy full SHA for dd5f8ab - Browse repository at this point
Copy the full SHA dd5f8abView commit details -
bpo-37706: IDLE - fix sidebar code bug and drag tests (pythonGH-15103)
Convert mouse y to line number in the sidebar rather than the text. (cherry picked from commit 86f1a18) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1d2b4db - Browse repository at this point
Copy the full SHA 1d2b4dbView commit details -
Try to get rid of some circular reference issues in finalizers by not
registering finalizers if they aren't necessary.
Configuration menu - View commit details
-
Copy full SHA for e25a822 - Browse repository at this point
Copy the full SHA e25a822View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f28bf - Browse repository at this point
Copy the full SHA e6f28bfView commit details -
bpo-36324: Update comments to include the target hash sums (pythonGH-…
…15110) (pythonGH-15112) (cherry picked from commit 8183bb8) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d7d607c - Browse repository at this point
Copy the full SHA d7d607cView commit details -
Try to get rid of even more finalization cycles by not registering a
finalizer unless it's *really* needed: tp_finalize or tp_del are set, or tp_weaklistoffset is set and there are actual weakrefs registered for the object.
Configuration menu - View commit details
-
Copy full SHA for f0cdfc4 - Browse repository at this point
Copy the full SHA f0cdfc4View commit details -
bpo-28292: Mark calendar.py helper functions as private. (pythonGH-15113
) (pythonGH-15116) (cherry picked from commit b1c8ec0) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0c16f6b - Browse repository at this point
Copy the full SHA 0c16f6bView commit details -
Update itertools docs (pythonGH-15114) (pythonGH-15118)
* Remove suggestion that is less relevant now that global lookups are much faster * Add link for installing the recipes (cherry picked from commit adf02b3) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fc6e3bc - Browse repository at this point
Copy the full SHA fc6e3bcView commit details -
bpo-37748: Re-order the Run menu. (pythonGH-15115)
Put the most common choice, Run Module, at the top. (cherry picked from commit 1407029) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 9c95fc7 - Browse repository at this point
Copy the full SHA 9c95fc7View commit details
Commits on Aug 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5349f8c - Browse repository at this point
Copy the full SHA 5349f8cView commit details -
bpo-37729: gc: write stats at once (pythonGH-15050)
gc used several PySys_WriteStderr() calls to write stats. It caused stats mixed up when stderr is shared by multiple processes like this: gc: collecting generation 2... gc: objects in each generation: 0 0gc: collecting generation 2... gc: objects in each generation: 0 0 126077 126077 gc: objects in permanent generation: 0 gc: objects in permanent generation: 0 gc: done, 112575 unreachable, 0 uncollectablegc: done, 112575 unreachable, 0 uncollectable, 0.2223s elapsed , 0.2344s elapsed (cherry picked from commit bf8162c) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e8ea348 - Browse repository at this point
Copy the full SHA e8ea348View commit details -
bpo-37759: First round of major edits to Whatsnew 3.8 (pythonGH-15127) (
pythonGH-15139) (cherry picked from commit 4f9ffc9) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 26f91db - Browse repository at this point
Copy the full SHA 26f91dbView commit details
Commits on Aug 6, 2019
-
Improve signal documentation (pythonGH-14274)
* add a missing ``.. availability::`` reST explicit markup; * more consistent "see man page" sentences. (cherry picked from commit cfebfef) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ef0b819 - Browse repository at this point
Copy the full SHA ef0b819View commit details
Commits on Aug 7, 2019
-
bpo-37646: Document that eval() cannot access nested scopes (pythonGH…
…-15117) (pythonGH-15155) (cherry picked from commit 610a482) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9341dcb - Browse repository at this point
Copy the full SHA 9341dcbView commit details -
Make importlib.metadata a simple module (pythonGH-15153) (pythonGH-15154
) (cherry picked from commit 3a5c433) Co-authored-by: Barry Warsaw <barry@python.org>
Configuration menu - View commit details
-
Copy full SHA for e780d2f - Browse repository at this point
Copy the full SHA e780d2fView commit details -
bpo-37004: Documented asymmetry of string arguments in difflib.Sequen…
…ceMatcher for ratio method (pythonGH-13482) (python#15157) https://bugs.python.org/issue37004 (cherry picked from commit e9cbcd0) Co-authored-by: sweeneyde <36520290+sweeneyde@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1a3a40c - Browse repository at this point
Copy the full SHA 1a3a40cView commit details -
bpo-37734: Fix use of registry values to launch Python from Microsoft…
… Store app (pythonGH-15146) (cherry picked from commit 1fab9cb) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for eab76c3 - Browse repository at this point
Copy the full SHA eab76c3View commit details -
bpo-37778: Fixes the icons used for file associations to the Microsof…
…t Store package (pythonGH-15150) (cherry picked from commit 87ce958) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for dc6653f - Browse repository at this point
Copy the full SHA dc6653fView commit details -
bpo-37734: Remove unnecessary brace escapes in PC/layout script (pyth…
…onGH-15165) (cherry picked from commit 0378d98) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 84d31bb - Browse repository at this point
Copy the full SHA 84d31bbView commit details
Commits on Aug 8, 2019
-
bpo-35892: Add usage note to mode() (pythonGH-15122) (pythonGH-15176)
(cherry picked from commit e43e7ed) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5925b7d - Browse repository at this point
Copy the full SHA 5925b7dView commit details
Commits on Aug 9, 2019
-
[3.8] bpo-37795: Capture DeprecationWarnings in the test suite (pytho…
…nGH-15184) (pythonGH-15188) (cherry picked from commit aa542c2) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 162d45c - Browse repository at this point
Copy the full SHA 162d45cView commit details -
bpo-34155: Dont parse domains containing @ (pythonGH-13079)
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 (cherry picked from commit 8cb65d1) Co-authored-by: jpic <jpic@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2170774 - Browse repository at this point
Copy the full SHA 2170774View commit details -
[3.8] bpo-32912: Revert SyntaxWarning on invalid escape sequences (py…
…thonGH-15142) * bpo-32912: Revert warnings for invalid escape sequences. DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals in 3.8 just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner.
Configuration menu - View commit details
-
Copy full SHA for 4c5b6ba - Browse repository at this point
Copy the full SHA 4c5b6baView commit details
Commits on Aug 10, 2019
-
Delete leftover clinic-generated file for C zipimport. (pythonGH-15174)
(cherry picked from commit 51aac15) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c61f9b5 - Browse repository at this point
Copy the full SHA c61f9b5View commit details
Commits on Aug 11, 2019
-
bpo-32178: Fix IndexError trying to parse 'To' header starting with '…
…:'. (pythonGH-15044) This should fix the IndexError trying to retrieve `DisplayName.display_name` and `DisplayName.value` when the `value` is basically an empty string. https://bugs.python.org/issue32178 (cherry picked from commit 09a1872) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9500bbe - Browse repository at this point
Copy the full SHA 9500bbeView commit details -
bpo-37819: Add Fraction.as_integer_ratio() (pythonGH-15212) (pythonGH…
Configuration menu - View commit details
-
Copy full SHA for 5ba1cb0 - Browse repository at this point
Copy the full SHA 5ba1cb0View commit details
Commits on Aug 12, 2019
-
Fix docs for assert_called and assert_called_once (pythonGH-15219)
(cherry picked from commit f9590ed) Co-authored-by: Ismail S <ismail-s@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2f087e2 - Browse repository at this point
Copy the full SHA 2f087e2View commit details -
[3.8] bpo-37354: Make Powershell Activate.ps1 script static to allow …
…for signing (pythonGH-14967) - Remove use of replacement text in the script - Make use of the pyvenv.cfg file for prompt value. - Add parameters to allow more flexibility - Make use of the current path, and assumptions about where env puts things, to compensate - Make the script a bit more 'idiomatic' Powershell - Add script documentation (Get-Help .\.venv\Scripts\Activate.ps1 shows PS help page now (cherry picked from commit 732775d) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0c64b57 - Browse repository at this point
Copy the full SHA 0c64b57View commit details -
bpo-37354: Sign Activate.ps1 for release (pythonGH-15235)
(cherry picked from commit 3e34a25) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 2b98d8e - Browse repository at this point
Copy the full SHA 2b98d8eView commit details -
Remove versioned executables from non-APPX packages (pythonGH-15237)
(cherry picked from commit c1aeb29) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for a150fee - Browse repository at this point
Copy the full SHA a150feeView commit details
Commits on Aug 13, 2019
-
bpo-37759: Second round of edits to Whatsnew 3.8 (pythonGH-15204) (py…
…thonGH-15240) (cherry picked from commit 66a34d3)
Configuration menu - View commit details
-
Copy full SHA for 9bedb8c - Browse repository at this point
Copy the full SHA 9bedb8cView commit details -
bpo-37760: Mark all generated Unicode data headers as generated. (pyt…
…honGH-15171) This causes them to be collapsed by default in diffs shown on GitHub. https://bugs.python.org/issue37760 Automerge-Triggered-By: @benjaminp (cherry picked from commit 4e3dfcc) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c2b9d9f - Browse repository at this point
Copy the full SHA c2b9d9fView commit details -
bpo-37760: Mark all generated Unicode data headers as generated. (pyt…
…honGH-15171) This causes them to be collapsed by default in diffs shown on GitHub. https://bugs.python.org/issue37760 Automerge-Triggered-By: @benjaminp (cherry picked from commit 4e3dfcc) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b02e148 - Browse repository at this point
Copy the full SHA b02e148View commit details -
bpo-37841: Remove python_uwp dependency on msvcp140.dll (pythonGH-15253)
(cherry picked from commit b0dace3) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 853eecc - Browse repository at this point
Copy the full SHA 853eeccView commit details -
bpo-37583: Add err 113 to support.get_socket_conn_refused_errs() (pyt…
…honGH-14729) Add error number 113 EHOSTUNREACH to get_socket_conn_refused_errs() of test.support. (cherry picked from commit 1ac2a83) Co-authored-by: Hai Shi <shihai1992@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ee98951 - Browse repository at this point
Copy the full SHA ee98951View commit details -
bpo-37814: Document the empty tuple type annotation syntax (pythonGH-…
…15208) https://bugs.python.org/issue37814: > The empty tuple syntax in type annotations, `Tuple[()]`, is not obvious from the examples given in the documentation (I naively expected `Tuple[]` to work); it has been documented in PEP 484 and in mypy, but not in the documentation for the typing module. https://bugs.python.org/issue37814 (cherry picked from commit 8a784af) Co-authored-by: Josh Holland <anowlcalledjosh@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6ad902a - Browse repository at this point
Copy the full SHA 6ad902aView commit details -
bpo-25172: Raise appropriate ImportError msg when crypt module used o…
…n Windows (pythonGH-15149) (cherry picked from commit f4e725f) Co-authored-by: shireenrao <shireenrao@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7f7f747 - Browse repository at this point
Copy the full SHA 7f7f747View commit details -
bpo-25172: Add test for crypt ImportError on Windows (pythonGH-15252)
(cherry picked from commit 243a73d) Co-authored-by: shireenrao <shireenrao@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e7ec9e0 - Browse repository at this point
Copy the full SHA e7ec9e0View commit details
Commits on Aug 14, 2019
-
bpo-37681: no_sanitize_thread support from GCC 5.1 (pythonGH-15096)
Fix the following warning with GCC 4.8.5: Objects/obmalloc.c: warning: ‘no_sanitize_thread’ attribute directive ignored (cherry picked from commit 7e479c8) Co-authored-by: Hai Shi <shihai1992@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 364a1d3 - Browse repository at this point
Copy the full SHA 364a1d3View commit details -
bpo-37738: Fix curses addch(str, color_pair) (pythonGH-15071)
Fix the implementation of curses addch(str, color_pair): pass the color pair to setcchar(), instead of always passing 0 as the color pair. (cherry picked from commit 077af8c) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 9842269 - Browse repository at this point
Copy the full SHA 9842269View commit details -
[3.8] bpo-37531: Fix regrtest timeout for subprocesses (pythonGH-15072)…
… (pythonGH-15279) * bpo-37531: Fix regrtest timeout for subprocesses (pythonGH-15072) Co-Authored-By: Joannah Nanjekye <joannah.nanjekye@ibm.com> (cherry picked from commit b0c8369) * bpo-36511: Fix failures in Windows ARM32 buildbot (pythonGH-15181) (cherry picked from commit ed70a34) Backport also minor fixes from master (fix typo, remove importlib import).
Configuration menu - View commit details
-
Copy full SHA for d85c567 - Browse repository at this point
Copy the full SHA d85c567View commit details -
bpo-37849: IDLE: fix completion window positioning above line (python…
Configuration menu - View commit details
-
Copy full SHA for 557802d - Browse repository at this point
Copy the full SHA 557802dView commit details -
bpo-37811: FreeBSD, OSX: fix poll(2) usage in sockets module (pythonG…
…H-15202) FreeBSD implementation of poll(2) restricts the timeout argument to be either zero, or positive, or equal to INFTIM (-1). Unless otherwise overridden, socket timeout defaults to -1. This value is then converted to milliseconds (-1000) and used as argument to the poll syscall. poll returns EINVAL (22), and the connection fails. This bug was discovered during the EINTR handling testing, and the reproduction code can be found in https://bugs.python.org/issue23618 (see connect_eintr.py, attached). On GNU/Linux, the example runs as expected. This change is trivial: If the supplied timeout value is negative, truncate it to -1. (cherry picked from commit 2814620) Co-authored-by: Artem Khramov <akhramov@pm.me>
Configuration menu - View commit details
-
Copy full SHA for 123f6c4 - Browse repository at this point
Copy the full SHA 123f6c4View commit details -
bpo-21131: Fix faulthandler.register(chain=True) stack (pythonGH-15276)
faulthandler now allocates a dedicated stack of SIGSTKSZ*2 bytes, instead of just SIGSTKSZ bytes. Calling the previous signal handler in faulthandler signal handler uses more than SIGSTKSZ bytes of stack memory on some platforms. (cherry picked from commit ac827ed) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for b8e6824 - Browse repository at this point
Copy the full SHA b8e6824View commit details -
bpo-37775: Update compileall doc for invalidation_mode parameter (pyt…
…honGH-15148) (cherry picked from commit 68e495d) Co-authored-by: Hai Shi <shihai1992@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dbe4c28 - Browse repository at this point
Copy the full SHA dbe4c28View commit details
Commits on Aug 15, 2019
-
[3.8] Replace usage of the obscure PEM_read_bio_X509_AUX with the mor…
…e standard PEM_read_bio_X509 (pythonGH-15303) (pythonGH-15304) X509_AUX is an odd, note widely used, OpenSSL extension to the X509 file format. This function doesn't actually use any of the extra metadata that it parses, so just use the standard API. Automerge-Triggered-By: @tiran (cherry picked from commit 40dad95) Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> Automerge-Triggered-By: @tiran
Configuration menu - View commit details
-
Copy full SHA for f781283 - Browse repository at this point
Copy the full SHA f781283View commit details -
Indent code inside if block. (pythonGH-15284)
Without indendation, seems like strcpy line is parallel to `if` condition. (cherry picked from commit 69f37bc) Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 64db5aa - Browse repository at this point
Copy the full SHA 64db5aaView commit details -
bpo-37642: Update acceptable offsets in timezone (pythonGH-14878) (py…
…thon#15227) This fixes an inconsistency between the Python and C implementations of the datetime module. The pure python version of the code was not accepting offsets greater than 23:59 but less than 24:00. This is an accidental legacy of the original implementation, which was put in place before tzinfo allowed sub-minute time zone offsets. pythonGH-14878 (cherry picked from commit 92c7e30)
Configuration menu - View commit details
-
Copy full SHA for 27b38b9 - Browse repository at this point
Copy the full SHA 27b38b9View commit details
Commits on Aug 16, 2019
-
bpo-37256: Wording in Request class docs (pythonGH-14792)
* bpo-37256: Wording in Request class docs * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Documentation/2019-07-16-14-48-12.bpo-37256.qJTrBb.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 38c7199) Co-authored-by: Ngalim Siregar <ngalim.siregar@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f991912 - Browse repository at this point
Copy the full SHA f991912View commit details
Commits on Aug 17, 2019
-
[3.8] fix link to time function from time_ns doc (pythonGH-15285) (py…
…thonGH-15321) Because mod, func, class, etc all share one namespace, :func:time creates a link to the time module doc page rather than the time.time function. (cherry picked from commit 1b1d051) Co-authored-by: Éric Araujo <merwok@netwok.org> Automerge-Triggered-By: @merwok
Configuration menu - View commit details
-
Copy full SHA for 7309cca - Browse repository at this point
Copy the full SHA 7309ccaView commit details -
bpo-36266: Add module name in ImportError when DLL not found on Windo…
…ws (pythonGH-15180) (cherry picked from commit 24fe460) Co-authored-by: shireenrao <shireenrao@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 786a4e1 - Browse repository at this point
Copy the full SHA 786a4e1View commit details
Commits on Aug 19, 2019
-
bpo-36502: Correct documentation of str.isspace() (pythonGH-15019) (p…
…ythonGH-15296) The documented definition was much broader than the real one: there are tons of characters with general category "Other", and we don't (and shouldn't) treat most of them as whitespace. Rewrite the definition to agree with the comment on _PyUnicode_IsWhitespace, and with the logic in makeunicodedata.py, which is what generates that function and so ultimately governs. Add suitable breadcrumbs so that a reader who wants to pin down exactly what this definition means (what's a "bidirectional class" of "B"?) can do so. The `unicodedata` module documentation is an appropriate central place for our references to Unicode's own copious documentation, so point there. Also add to the isspace() test a thorough check that the implementation agrees with the intended definition.
Configuration menu - View commit details
-
Copy full SHA for 8c1c426 - Browse repository at this point
Copy the full SHA 8c1c426View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aa0ab1 - Browse repository at this point
Copy the full SHA 9aa0ab1View commit details
Commits on Aug 20, 2019
-
bpo-37868: Improve is_dataclass for instances. (pythonGH-15325)
(cherry picked from commit b0f4dab) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1271ee8 - Browse repository at this point
Copy the full SHA 1271ee8View commit details -
bpo-37732: Fix GCC warning in _PyObject_Malloc() (pythonGH-15333) (py…
…thonGH-15342) pymalloc_alloc() now returns directly the pointer, return NULL on memory allocation error. allocate_from_new_pool() already uses NULL as marker for "allocation failed". (cherry picked from commit 18f8dcf)
Configuration menu - View commit details
-
Copy full SHA for 30e5aff - Browse repository at this point
Copy the full SHA 30e5affView commit details
Commits on Aug 21, 2019
-
bpo-35518: Skip test that relies on a deceased network service. (pyth…
…onGH-15349) If this service had thoroughly vanished, we could just ignore the test until someone gets around to either recreating such a service or redesigning the test to somehow work locally. The `support.transient_internet` mechanism catches the failure to resolve the domain name, and skips the test. But in fact the domain snakebite.net does still exist, as do its nameservers -- and they can be quite slow to reply. As a result this test can easily take 20-30s before it gets auto-skipped. So, skip the test explicitly up front. (cherry picked from commit 5b95a15) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 44f2c09 - Browse repository at this point
Copy the full SHA 44f2c09View commit details -
bpo-37823: Fix open() link in telnetlib doc (pythonGH-15281)
Fixed wrong link to Telnet.open() method in telnetlib documentation. (cherry picked from commit e0b6117) Co-authored-by: Michael Anckaert <michael.anckaert@sinax.be>
Configuration menu - View commit details
-
Copy full SHA for c777dec - Browse repository at this point
Copy the full SHA c777decView commit details -
Update asyncio.ensure_future() documentation (pythonGH-15347) (python…
Configuration menu - View commit details
-
Copy full SHA for 349d897 - Browse repository at this point
Copy the full SHA 349d897View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e293f5 - Browse repository at this point
Copy the full SHA 7e293f5View commit details -
bpo-9949: Enable symlink traversal for ntpath.realpath (pythonGH-15287)
(cherry picked from commit 75e0649) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for c30c869 - Browse repository at this point
Copy the full SHA c30c869View commit details -
bpo-37834: Normalise handling of reparse points on Windows (pythonGH-…
…15370) bpo-37834: Normalise handling of reparse points on Windows * ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed) * nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point) * nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour) * nt.readlink() will read destinations for symlinks and junction points only bpo-1311: os.path.exists('nul') now returns True on Windows * nt.stat('nul').st_mode is now S_IFCHR (previously was an error)
Configuration menu - View commit details
-
Copy full SHA for 9eb3d54 - Browse repository at this point
Copy the full SHA 9eb3d54View commit details -
bpo-36311: Fixes decoding multibyte characters around chunk boundarie…
…s and improves decoding performance (pythonGH-15083) (cherry picked from commit 7ebdda0) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for f93c15a - Browse repository at this point
Copy the full SHA f93c15aView commit details
Commits on Aug 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a50d2f7 - Browse repository at this point
Copy the full SHA a50d2f7View commit details -
bpo-37834: Fix test on Windows 7 (pythonGH-15377)
(cherry picked from commit 374be59) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 967d625 - Browse repository at this point
Copy the full SHA 967d625View commit details -
Add missing space to warning message (pythonGH-14915) (pythonGH-15379)
This typo was introduced in pythonGH-13409 when changing the message text. (cherry picked from commit c4106af) Co-authored-by: Florian Bruhin <me@the-compiler.org>
Configuration menu - View commit details
-
Copy full SHA for 8ede967 - Browse repository at this point
Copy the full SHA 8ede967View commit details -
bpo-27961: Remove leftovers from the times when long long wasn't requ…
…ired (pythonGH-15388) (cherry picked from commit a38e9d1) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2878f37 - Browse repository at this point
Copy the full SHA 2878f37View commit details -
bpo-14050: Note that not all data can be sorted (pythonGH-15381) (pyt…
…honGH-15395) (cherry picked from commit 4109263) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cb8de91 - Browse repository at this point
Copy the full SHA cb8de91View commit details -
bpo-28556: Add a regression test to typing (pythonGH-15396)
This adds a regression test for the issue found in the Python 2 backport, see python/typing#656 https://bugs.python.org/issue28556 (cherry picked from commit 8889627) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5fda09c - Browse repository at this point
Copy the full SHA 5fda09cView commit details -
bpo-30550: Clarify JSON ordering guarantees (pythonGH-15397) (pythonG…
Configuration menu - View commit details
-
Copy full SHA for 4a40498 - Browse repository at this point
Copy the full SHA 4a40498View commit details
Commits on Aug 23, 2019
-
bpo-12634: Clarify an awkward section of the tutorial (pythonGH-15406) (
pythonGH-15409) (cherry picked from commit 483ae0c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f6a7f5b - Browse repository at this point
Copy the full SHA f6a7f5bView commit details -
bpo-30826: Improve control flow examples (pythonGH-15407) (pythonGH-1…
Configuration menu - View commit details
-
Copy full SHA for b6341e6 - Browse repository at this point
Copy the full SHA b6341e6View commit details -
bpo-37915: Fix comparison between tzinfo objects and timezone objects (…
…pythonGH-15390) https://bugs.python.org/issue37915 Automerge-Triggered-By: @pablogsal (cherry picked from commit 4be11c0) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5c77730 - Browse repository at this point
Copy the full SHA 5c77730View commit details -
Correct minor grammar mistake (pythonGH-15404)
(cherry picked from commit d288b29) Co-authored-by: Andre Delfino <adelfino@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 994925b - Browse repository at this point
Copy the full SHA 994925bView commit details -
bpo-37926: Fix PySys_SetArgvEx(0, NULL, 0) crash (pythonGH-15415) (py…
…thonGH-15420) empty_argv is no longer static in Python 3.8, but it is declared in a temporary scope, whereas argv keeps a reference to it. empty_argv memory (allocated on the stack) is reused by make_sys_argv() code which is inlined when using gcc -O3. Define empty_argv in PySys_SetArgvEx() body, to ensure that it remains valid for the whole lifetime of the PySys_SetArgvEx() call. (cherry picked from commit c486825)
Configuration menu - View commit details
-
Copy full SHA for ca9ae94 - Browse repository at this point
Copy the full SHA ca9ae94View commit details -
Fix _PyTime_MIN/MAX values (pythonGH-15384) (pythonGH-15426)
_PyTime_t type is defined as int64_t, and so min/max are INT64_MIN/INT64_MAX, not PY_LLONG_MIN/PY_LLONG_MAX. (cherry picked from commit 8e76c45)
Configuration menu - View commit details
-
Copy full SHA for 944aa01 - Browse repository at this point
Copy the full SHA 944aa01View commit details -
[3.8] Fix typo (inifite -> infinite) (pythonGH-15429)
The same typo exists in the changelogs of 3.6 and 3.7. Automerge-Triggered-By: @Mariatta
Configuration menu - View commit details
-
Copy full SHA for fe64ba6 - Browse repository at this point
Copy the full SHA fe64ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6427cb - Browse repository at this point
Copy the full SHA a6427cbView commit details -
bpo-36763, doc: Add links in the new C API init doc (pythonGH-15433)
(cherry picked from commit 1beb7c3) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 9cbdce3 - Browse repository at this point
Copy the full SHA 9cbdce3View commit details -
bpo-26589: Add http status code 451 (pythonGH-15413) (pythonGH-15436)
(cherry picked from commit 8f080b0) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 761e5a7 - Browse repository at this point
Copy the full SHA 761e5a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3921d12 - Browse repository at this point
Copy the full SHA 3921d12View commit details -
bpo-36763: PyConfig_Read() handles PySys_AddXOption() (pythonGH-15431) (
pythonGH-15435) PyConfig_Read() is now responsible to handle early calls to PySys_AddXOption() and PySys_AddWarnOption(). Options added by PySys_AddXOption() are now handled the same way than PyConfig.xoptions and command line -X options. For example, PySys_AddXOption(L"faulthandler") enables faulthandler as expected. (cherry picked from commit 120b707)
Configuration menu - View commit details
-
Copy full SHA for af84a88 - Browse repository at this point
Copy the full SHA af84a88View commit details -
bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (python…
…GH-15266) (pythonGH-15441) (cherry picked from commit 0a18ee4) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5779c53 - Browse repository at this point
Copy the full SHA 5779c53View commit details
Commits on Aug 24, 2019
-
Fix funny typo in Doc/bugs. (pythonGH-15412)
Fix typo in description of link to mozilla bug report writing guidelines. Though the URL is misleading, we're indeed trying to write bug _reports_, not to add bugs. Automerge-Triggered-By: @ned-deily (cherry picked from commit e17f201) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7784d4b - Browse repository at this point
Copy the full SHA 7784d4bView commit details -
bpo-19119: Remove invalid test and rename a misnamed test (pythonGH-1…
…5442) (pythonGH-15447) (cherry picked from commit 4101181) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ef3ccd7 - Browse repository at this point
Copy the full SHA ef3ccd7View commit details -
bpo-29535: Remove promize about hash randomization of datetime object…
…s. (pythonGH-15269) (cherry picked from commit e9c90aa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 076d0b9 - Browse repository at this point
Copy the full SHA 076d0b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 920ec4b - Browse repository at this point
Copy the full SHA 920ec4bView commit details -
[3.8] bpo-37830: Fix compilation of break and continue in finally. (p…
…ythonGH-15320) (pythonGH-15456) Fix compilation of "break" and "continue" in the "finally" block when the corresponding "try" block contains "return" with a non-constant value. (cherry picked from commit ef61c52)
Configuration menu - View commit details
-
Copy full SHA for ed146b5 - Browse repository at this point
Copy the full SHA ed146b5View commit details -
bpo-37772: fix zipfile.Path.iterdir() outputs (pythonGH-15170) (pytho…
…n#15461) * fix Path._add_implied_dirs to include all implied directories * fix Path._add_implied_dirs to include all implied directories * Optimize code by using sets instead of lists * 📜🤖 Added by blurb_it. * fix Path._add_implied_dirs to include all implied directories * Optimize code by using sets instead of lists * 📜🤖 Added by blurb_it. * Add tests to zipfile.Path.iterdir() fix * Update test for zipfile.Path.iterdir() * remove whitespace from test file * Rewrite NEWS blurb to describe the user-facing impact and avoid implementation details. * remove redundant [] within set comprehension * Update to use unique_everseen to maintain order and other suggestions in review * remove whitespace and add back add_dirs in tests * Add new standalone function parents using posixpath to get parents of a directory * removing whitespace (sorry) * Remove import pathlib from zipfile.py * Rewrite _parents as a slice on a generator of the ancestry of a path. * Remove check for '.' and '/', now that parents no longer returns those. * Separate calculation of implied dirs from adding those * Re-use _implied_dirs in tests for generating zipfile with dir entries. * Replace three fixtures (abcde, abcdef, abde) with one representative example alpharep. * Simplify implementation of _implied_dirs by collapsing the generation of parent directories for each name. (cherry picked from commit a4e2991) Co-authored-by: shireenrao <shireenrao@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c410f38 - Browse repository at this point
Copy the full SHA c410f38View commit details -
bpo-32118: Simplify docs for sequence comparison (pythonGH-15450) (py…
…thon#15466) (cherry picked from commit edd2112) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0ad8568 - Browse repository at this point
Copy the full SHA 0ad8568View commit details -
bpo-37798: Test both Python and C versions in test_statistics.py (pyt…
…honGH-15453) (pythonGH-15467) (cherry picked from commit 8ad22a4) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d5a66bc - Browse repository at this point
Copy the full SHA d5a66bcView commit details -
bpo-14112: Allow beginners to explore shallowness in greater depth ;-) (
pythonGH-15465) (pythonGH-15469) (cherry picked from commit 69ee87e) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a842494 - Browse repository at this point
Copy the full SHA a842494View commit details -
[3.8] Clarify argument types in datetime docs. (pythonGH-15459) (pyth…
…onGH-15472) "Arguments may be integers... " could be misunderstand as they also could be strings. New wording makes it clear that arguments have to be integers. modified: Doc/library/datetime.rst Automerge-Triggered-By: @pganssle (cherry picked from commit c5218fc) Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> Automerge-Triggered-By: @pganssle
Configuration menu - View commit details
-
Copy full SHA for ffe43b2 - Browse repository at this point
Copy the full SHA ffe43b2View commit details -
Fix typo and rearrange words in IDLE news item (pythonGH-15471)
Redo of pythonGH-15402 by GeeTransit and Kyle Stanley. (cherry picked from commit 0dfc025) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for bf99801 - Browse repository at this point
Copy the full SHA bf99801View commit details
Commits on Aug 25, 2019
-
[3.8] bpo-37942: Improve argument clinic float converter (pythonGH-15470
) (pythonGH-15480) (cherry picked from commit aef9ad8)
Configuration menu - View commit details
-
Copy full SHA for 21161d7 - Browse repository at this point
Copy the full SHA 21161d7View commit details -
bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (python…
…GH-15452) These were caused by keeping around a reference to the Squeezer instance and calling it's load_font() upon config changes, which sometimes happened even if the shell window no longer existed. This change completely removes that mechanism, instead having the editor window properly update its width attribute, which can then be used by Squeezer. (cherry picked from commit d4b4c00) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e266d06 - Browse repository at this point
Copy the full SHA e266d06View commit details -
bpo-37905: Improve docs for NormalDist (pythonGH-15486) (pythonGH-15487)
(cherry picked from commit 8371799) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 970548c - Browse repository at this point
Copy the full SHA 970548cView commit details -
[3.8] bpo-37757: Disallow PEP 572 cases that expose implementation de…
…tails (pythonGH-15491) - drop TargetScopeError in favour of raising SyntaxError directly as per the updated PEP 572 - comprehension iteration variables are explicitly local, but named expression targets in comprehensions are nonlocal or global. Raise SyntaxError as specified in PEP 572 - named expression targets in the outermost iterable of a comprehension have an ambiguous target scope. Avoid resolving that question now by raising SyntaxError. PEP 572 originally required this only for cases where the bound name conflicts with the iteration variable in the comprehension, but CPython can't easily restrict the exception to that case (as it doesn't know the target variable names when visiting the outermost iterator expression) (cherry picked from commit 5dbe0f5)
Configuration menu - View commit details
-
Copy full SHA for 6ca0307 - Browse repository at this point
Copy the full SHA 6ca0307View commit details
Commits on Aug 26, 2019
-
Doc: Keep the venv/* exclude pattern. (pythonGH-15229)
In case it has been previously created. (cherry picked from commit 73e0549) Co-authored-by: Julien Palard <julien@palard.fr>
Configuration menu - View commit details
-
Copy full SHA for 352a123 - Browse repository at this point
Copy the full SHA 352a123View commit details -
bpo-37824: Properly handle user input warnings in IDLE shell. (python…
Configuration menu - View commit details
-
Copy full SHA for 0778870 - Browse repository at this point
Copy the full SHA 0778870View commit details -
bpo-15542: Documentation incorrectly suggests __init__ called after d…
…irect __new__ call (pythonGH-15478) (pythonGH-15506) (cherry picked from commit 6b16d93) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c841fb9 - Browse repository at this point
Copy the full SHA c841fb9View commit details -
bpo-37805: Add tests for json.dump(..., skipkeys=True) (pythonGH-15489)
https://bugs.python.org/issue37805 Automerge-Triggered-By: @methane (cherry picked from commit 44cd86b) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a387517 - Browse repository at this point
Copy the full SHA a387517View commit details -
[3.8] bpo-36917: Add default implementation of ast.NodeVisitor.visit_…
…Constant(). (pythonGH-15490) (pythonGH-15509) It emits a deprecation warning and calls corresponding method visit_Num(), visit_Str(), etc. (cherry picked from commit c3ea41e)
Configuration menu - View commit details
-
Copy full SHA for 522a394 - Browse repository at this point
Copy the full SHA 522a394View commit details -
bpo-34679: Restore instantiation Windows IOCP event loop from non-mai…
…n thread (pythonGH-15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 1c06009) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69d22b8 - Browse repository at this point
Copy the full SHA 69d22b8View commit details -
[3.8] bpo-37947: Adjust correctly the recursion level in symtable for…
… named expressions (pythonGH-15499) (pythonGH-15515) (cherry picked from commit 0e4ea16) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3769425 - Browse repository at this point
Copy the full SHA 3769425View commit details -
Remove leftovers from the times when long long wasn't required (pytho…
…nGH-15501) In a38e9d1 pyconfig.h.in was manually edited and that edit was overwritten when running autoreconf. (cherry picked from commit 52c1a6a) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 82f4bfd - Browse repository at this point
Copy the full SHA 82f4bfdView commit details -
bpo-37954: Fix reference leak in the symtable (pythonGH-15514)
(cherry picked from commit 4901dc4) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ed8af33 - Browse repository at this point
Copy the full SHA ed8af33View commit details -
Fix typo: Pyssize_t => Py_ssize_t (pythonGH-15411)
(cherry picked from commit b3b9619) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 54449da - Browse repository at this point
Copy the full SHA 54449daView commit details -
bpo-37055: fix warnings in _blake2 module (pythonGH-14646)
https://bugs.python.org/issue37055 Automerge-Triggered-By: @tiran (cherry picked from commit b27cbec) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2bb4fc3 - Browse repository at this point
Copy the full SHA 2bb4fc3View commit details -
bpo-37798: Minor code formatting and comment clean-ups. (pythonGH-15526…
…) (pythonGH-15527) (cherry picked from commit 6fee0f8) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 56c4d2d - Browse repository at this point
Copy the full SHA 56c4d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04b7507 - Browse repository at this point
Copy the full SHA 04b7507View commit details -
bpo-37925: Mention --embed in python-config usage (pythonGH-15458)
(cherry picked from commit d3cc189) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b8a22ac - Browse repository at this point
Copy the full SHA b8a22acView commit details -
Fix an invalid assertEqual() call in test_descr.py (pythonGH-15318)
(cherry picked from commit 6b2e325) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c75f0e5 - Browse repository at this point
Copy the full SHA c75f0e5View commit details -
bpo-36763: Make Py_BytesMain() public (pythonGH-15532)
Declare Py_BytesMain() in Include/pylifecycle.h, rather in Include/internal/pycore_pylifecycle.h. (cherry picked from commit 9a943b4) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 1d4285a - Browse repository at this point
Copy the full SHA 1d4285aView commit details
Commits on Aug 27, 2019
-
bpo-36205: Fix the rusage implementation of time.process_time() (pyth…
…onGH-15538) (cherry picked from commit 8bf5fef) Co-authored-by: vrajivk <3413293+vrajivk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 91020fa - Browse repository at this point
Copy the full SHA 91020faView commit details -
Fix unused variable and signed/unsigned warnings (pythonGH-15537) (py…
…thonGH-15551) (cherry picked from commit 0138c4c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d5ba8bb - Browse repository at this point
Copy the full SHA d5ba8bbView commit details -
bpo-37936: Remove some .gitignore rules that were intended locally. (p…
…ythonGH-15542) These appeared in commit c5ae169. The comment on them, as well as the presence among them of a rule for the .gitignore file itself, indicate that the author intended these lines to remain only in their own local working tree -- not to get committed even to their own repo, let alone merged upstream. They did nevertheless get committed, because it turns out that Git takes no notice of what .gitignore says about files that it's already tracking... for example, this .gitignore file itself. Give effect to these lines' original intention, by deleting them. :-) Git tip, for reference: the `.git/info/exclude` file is a handy way to do exactly what these lines were originally intended to do. A related handy file is `~/.config/git/ignore`. See gitignore(5), aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware (cherry picked from commit 8c9e9b0) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for caf7a30 - Browse repository at this point
Copy the full SHA caf7a30View commit details -
bpo-37951: Lift subprocess's fork() restriction (pythonGH-15544)
(cherry picked from commit 98d90f7) Co-authored-by: Christian Heimes <christian@python.org>
Configuration menu - View commit details
-
Copy full SHA for 03c52f2 - Browse repository at this point
Copy the full SHA 03c52f2View commit details
Commits on Aug 28, 2019
-
bpo-36582: Make collections.UserString.encode() return bytes, not str (…
…pythonGH-13138) (pythonGH-15557) (cherry picked from commit 2a16eea) Co-authored-by: Daniel Fortunov <asqui@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2cb82d2 - Browse repository at this point
Copy the full SHA 2cb82d2View commit details -
closes bpo-37965: Fix compiler warning of distutils CCompiler.test_fu…
…nction. (pythonGH-15561) https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp (cherry picked from commit 55aabee) Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 23985c6 - Browse repository at this point
Copy the full SHA 23985c6View commit details
Commits on Aug 29, 2019
-
[3.8] bpo-37482: Fix email address name with encoded words and specia…
…l chars (pythonGH-14561) (pythonGH-15380) Special characters in email address header display names are normally put within double quotes. However, encoded words (=?charset?x?...?=) are not allowed withing double quotes. When the header contains a word with special characters and another word that must be encoded, the first one must also be encoded. In the next example, the display name in the From header is quoted and therefore the comma is allowed; in the To header, the comma is not within quotes and not encoded, which is not allowed and therefore rejected by some mail servers. From: "Foo Bar, France" <foo@example.com> To: Foo Bar, =?utf-8?q?Espa=C3=B1a?= <foo@example.com> https://bugs.python.org/issue37482 (cherry picked from commit df0c21f) Co-authored-by: bsiem <52461103+bsiem@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bd127b1 - Browse repository at this point
Copy the full SHA bd127b1View commit details -
bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localen…
…ame (pythonGH-14736) (cherry picked from commit b0caf32) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Configuration menu - View commit details
-
Copy full SHA for e471a54 - Browse repository at this point
Copy the full SHA e471a54View commit details -
bpo-34775: Return NotImplemented in PurePath division. (pythonGH-9509) (
pythonGH-15172) (cherry picked from commit 4c69be2) Co-authored-by: aiudirog <aiudirog@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4adcaf8 - Browse repository at this point
Copy the full SHA 4adcaf8View commit details -
bpo-36511: Fix failures in Windows ARM32 buildbot (pythonGH-15181)
(cherry picked from commit ed70a34) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ed00fee - Browse repository at this point
Copy the full SHA ed00feeView commit details -
bpo-18049: Define THREAD_STACK_SIZE for AIX to pass default recursion…
… limit test (pythonGH-15081) * Define THREAD_STACK_SIZE for AIX to pass default recursion limit test (cherry picked from commit 9670ce7) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f92bb6e - Browse repository at this point
Copy the full SHA f92bb6eView commit details -
bpo-36167: fix an incorrect capitalization (pythonGH-14482)
(cherry picked from commit 3aa48b8) Co-authored-by: avinassh <avinassh@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e009a91 - Browse repository at this point
Copy the full SHA e009a91View commit details -
bpo-25777: Wording describes a lookup, not a call (pythonGH-15573) (p…
…ythonGH-15576) (cherry picked from commit 03acba6) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f3dca6a - Browse repository at this point
Copy the full SHA f3dca6aView commit details -
bpo-35946: Improve assert_called_with documentation (pythonGH-11796)
(cherry picked from commit f5896a0) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Configuration menu - View commit details
-
Copy full SHA for 612d393 - Browse repository at this point
Copy the full SHA 612d393View commit details -
bpo-36871: Ensure method signature is used when asserting mock calls …
…to a method (GH15578) * Fix call_matcher for mock when using methods * Add NEWS entry * Use None check and convert doctest to unittest * Use better name for mock in tests. Handle _SpecState when the attribute was not accessed and add tests. * Use reset_mock instead of reinitialization. Change inner class constructor signature for check * Reword comment regarding call object lookup logic (cherry picked from commit c961278) Co-authored-by: Xtreak <tir.karthi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 38d311d - Browse repository at this point
Copy the full SHA 38d311dView commit details -
[3.8] bpo-37950: Fix ast.dump() when call with incompletely initializ…
…ed node. (pythonGH-15510) (pythonGH-15582) (cherry picked from commit e64f948)
Configuration menu - View commit details
-
Copy full SHA for 097eae5 - Browse repository at this point
Copy the full SHA 097eae5View commit details -
bpo-37372: Fix error unpickling datetime.time objects from Python 2 w…
…ith seconds>=24. (pythonGH-14307) (cherry picked from commit 122376d) Co-authored-by: Justin Blanchard <UncombedCoconut@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d1d42bf - Browse repository at this point
Copy the full SHA d1d42bfView commit details -
bpo-23674: Clarify ambiguities in super() docs (pythonGH-15564) (pyth…
…onGH-15586) (cherry picked from commit cd81f05) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 43b7ed7 - Browse repository at this point
Copy the full SHA 43b7ed7View commit details -
bpo-37960: Silence only necessary errors in repr() of buffered and te…
…xt streams. (pythonGH-15543) (cherry picked from commit b235a1b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 102130a - Browse repository at this point
Copy the full SHA 102130aView commit details -
bpo-16468: Clarify which objects can be passed to "choices" in argpar…
…se (pythonGH-15566) (pythonGH-15587) (cherry picked from commit 84125fe) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0d45d50 - Browse repository at this point
Copy the full SHA 0d45d50View commit details -
bpo-36743: __get__ is sometimes called without the owner argument (py…
…thonGH-12992) (pythonGH-15589) (cherry picked from commit 0dac68f) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c71ae1a - Browse repository at this point
Copy the full SHA c71ae1aView commit details -
bpo-37947: Avoid double-decrement in symtable recursion counting (pyt…
…honGH-15593) With `symtable_visit_expr` now correctly adjusting the recursion depth for named expressions, `symtable_handle_namedexpr` should be leaving it alone. Also adds a new check to `PySymtable_BuildObject` that raises `SystemError` if a successful first symbol analysis pass fails to keep the stack depth accounting clean. (cherry picked from commit 0614523) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 384c6d7 - Browse repository at this point
Copy the full SHA 384c6d7View commit details -
bpo-37979: Add alternative to fromisoformat in documentation (pythonG…
…H-15596) Adds a link to `dateutil.parser.isoparse` in the documentation. It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR. CC: @pitrou [bpo-37979](https://bugs.python.org/issue37979) https://bugs.python.org/issue37979 Automerge-Triggered-By: @pitrou (cherry picked from commit 59725f3) Co-authored-by: Paul Ganssle <paul@ganssle.io>
Configuration menu - View commit details
-
Copy full SHA for 9db66a2 - Browse repository at this point
Copy the full SHA 9db66a2View commit details -
[3.8] bpo-37034: Display argument name on errors with keyword argumen…
…ts with Argument Clinic. (pythonGH-13593). (pythonGH-15599) (cherry picked from commit 4901fe2) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Configuration menu - View commit details
-
Copy full SHA for 96631dc - Browse repository at this point
Copy the full SHA 96631dcView commit details -
[3.8] bpo-37834: Prevent shutil.rmtree exception (pythonGH-15602) (py…
…thon#15603) when built on non-Windows system without fd system call support, like older versions of macOS. (cherry picked from commit 7fcc208) Co-authored-by: Ned Deily <nad@python.org>
Configuration menu - View commit details
-
Copy full SHA for 25a044e - Browse repository at this point
Copy the full SHA 25a044eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d93605d - Browse repository at this point
Copy the full SHA d93605dView commit details
Commits on Aug 30, 2019
-
Steven Bethard designated a new maintainer for argparse (pythonGH-15605…
…) (pythonGH-15606) (cherry picked from commit 496058f) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c19d6bc - Browse repository at this point
Copy the full SHA c19d6bcView commit details -
bpo-37976: Prevent shadowing of TypeError in zip() (pythonGH-15592) (p…
…ythonGH-15608) (cherry picked from commit 6a650aa) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 27f4186 - Browse repository at this point
Copy the full SHA 27f4186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23d532a - Browse repository at this point
Copy the full SHA 23d532aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1553e3b - Browse repository at this point
Copy the full SHA 1553e3bView commit details -
bpo-37140: Fix StructUnionType_paramfunc() (pythonGH-15612)
Fix a ctypes regression of Python 3.8. When a ctypes.Structure is passed by copy to a function, ctypes internals created a temporary object which had the side effect of calling the structure finalizer (__del__) twice. The Python semantics requires a finalizer to be called exactly once. Fix ctypes internals to no longer call the finalizer twice. Create a new internal StructParam_Type which is only used by _ctypes_callproc() to call PyMem_Free(ptr) on Py_DECREF(argument). StructUnionType_paramfunc() creates such object. (cherry picked from commit 96b4087) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 17f61ed - Browse repository at this point
Copy the full SHA 17f61edView commit details -
IDLE: Fix 2 typos found by Min ho Kim. (pythonGH-15617)
(cherry picked from commit 15119bc) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 3d75857 - Browse repository at this point
Copy the full SHA 3d75857View commit details -
Fix typos mostly in comments, docs and test names (pythonGH-15209)
(cherry picked from commit 39d87b5) Co-authored-by: Min ho Kim <minho42@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4bd1d05 - Browse repository at this point
Copy the full SHA 4bd1d05View commit details -
[3.8] bpo-29553: Fix ArgumentParser.format_usage() for mutually exclu…
…sive groups (pythonGH-14976) (pythonGH-15494) (pythonGH-15624)
Configuration menu - View commit details
-
Copy full SHA for bd8ca9a - Browse repository at this point
Copy the full SHA bd8ca9aView commit details
Commits on Aug 31, 2019
-
[3.8] bpo-37990: fix gc stats (pythonGH-15626)
(cherry picked from commit 013e52f)
Configuration menu - View commit details
-
Copy full SHA for 97a31c7 - Browse repository at this point
Copy the full SHA 97a31c7View commit details -
bpo-37977: Warn more strongly and clearly about pickle security (pyth…
…onGH-15595) (pythonGH-15629) (cherry picked from commit daa82d0) Co-authored-by: Daniel Pope <lordmauve@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6922b9e - Browse repository at this point
Copy the full SHA 6922b9eView commit details
Commits on Sep 1, 2019
-
[3.8] bpo-37994: Fix silencing all errors if an attribute lookup fail…
…s. (pythonGH-15630) (pythonGH-15635) Only AttributeError should be silenced. (cherry picked from commit 41c57b3)
Configuration menu - View commit details
-
Copy full SHA for 353053d - Browse repository at this point
Copy the full SHA 353053dView commit details
Commits on Sep 2, 2019
-
bpo-38010 Sync importlib.metadata with importlib_metadata 0.20. (pyth…
…onGH-15646) (pythonGH-15648) Sync importlib.metadata with importlib_metadata 0.20. (cherry picked from commit 102e9b4) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Configuration menu - View commit details
-
Copy full SHA for bf69e16 - Browse repository at this point
Copy the full SHA bf69e16View commit details -
bpo-36853: Fix suspicious.py to actually print the unused rules (pyth…
…onGH-13579) (pythonGH-15649) * Fix suspicious.py to actually print the unused rules * Fix the other `self.warn` calls (cherry picked from commit e1786b5) Co-authored-by: Anthony Sottile <asottile@umich.edu>
Configuration menu - View commit details
-
Copy full SHA for b365cfa - Browse repository at this point
Copy the full SHA b365cfaView commit details
Commits on Sep 3, 2019
-
bpo-35771: IDLE: Fix flaky tool-tip hover delay tests (pythonGH-15634)
Extending the hover delay in test_tooltip should avoid spurious test_idle failures. One longer delay instead of two shorter delays results in a net speedup. (cherry picked from commit 132acab) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1c18aec - Browse repository at this point
Copy the full SHA 1c18aecView commit details -
bpo-37798: Fix _statistics module doc (pythonGH-15546)
(cherry picked from commit 0cf832a) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 58067d2 - Browse repository at this point
Copy the full SHA 58067d2View commit details -
[3.8] bpo-21315: Fix parsing of encoded words with missing leading ws (…
…pythonGH-13425) (pythonGH-15655) * [bpo-21315](https://bugs.python.org/issue21315): Fix parsing of encoded words with missing leading ws. Because of missing leading whitespace, encoded word would get parsed as unstructured token. This patch fixes that by looking for encoded words when splitting tokens with whitespace. Missing trailing whitespace around encoded word now register a defect instead. Original patch suggestion by David R. Murray on [bpo-21315](https://bugs.python.org/issue21315). (cherry picked from commit 66c4f3f) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com> (cherry picked from commit dc20fc4) Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> https://bugs.python.org/issue21315
Configuration menu - View commit details
-
Copy full SHA for 59e8fba - Browse repository at this point
Copy the full SHA 59e8fbaView commit details -
bpo-38020: Fixes crash in os.readlink() on Windows (pythonGH-15663)
(cherry picked from commit 993ac92) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for 54dac6c - Browse repository at this point
Copy the full SHA 54dac6cView commit details -
bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (python…
…GH-15664) The HTML5 output from Sphinx 2.x adds '<p>' tags within list elements. Using a new prevtag attribute, ignore these instead of emitting unwanted '\n\n'. Also stop looking for 'first' classes on tags (no longer present) and fix the bug of double-spacing instead of single spacing after <pre> blocks. (cherry picked from commit 580bdb0) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 952ea67 - Browse repository at this point
Copy the full SHA 952ea67View commit details
Commits on Sep 4, 2019
-
closes bpo-37966: Fully implement the UAX GH-15 quick-check algorithm. (
pythonGH-15558) The purpose of the `unicodedata.is_normalized` function is to answer the question `str == unicodedata.normalized(form, str)` more efficiently than writing just that, by using the "quick check" optimization described in the Unicode standard in UAX GH-15. However, it turns out the code doesn't implement the full algorithm from the standard, and as a result we often miss the optimization and end up having to compute the whole normalized string after all. Implement the standard's algorithm. This greatly speeds up `unicodedata.is_normalized` in many cases where our partial variant of quick-check had been returning MAYBE and the standard algorithm returns NO. At a quick test on my desktop, the existing code takes about 4.4 ms/MB (so 4.4 ns per byte) when the partial quick-check returns MAYBE and it has to do the slow normalize-and-compare: $ build.base/python -m timeit -s 'import unicodedata; s = "\uf900"*500000' \ -- 'unicodedata.is_normalized("NFD", s)' 50 loops, best of 5: 4.39 msec per loop With this patch, it gets the answer instantly (58 ns) on the same 1 MB string: $ build.dev/python -m timeit -s 'import unicodedata; s = "\uf900"*500000' \ -- 'unicodedata.is_normalized("NFD", s)' 5000000 loops, best of 5: 58.2 nsec per loop This restores a small optimization that the original version of this code had for the `unicodedata.normalize` use case. With this, that case is actually faster than in master! $ build.base/python -m timeit -s 'import unicodedata; s = "\u0338"*500000' \ -- 'unicodedata.normalize("NFD", s)' 500 loops, best of 5: 561 usec per loop $ build.dev/python -m timeit -s 'import unicodedata; s = "\u0338"*500000' \ -- 'unicodedata.normalize("NFD", s)' 500 loops, best of 5: 512 usec per loop (cherry picked from commit 2f09413) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4dd1c9d - Browse repository at this point
Copy the full SHA 4dd1c9dView commit details -
Fix grammar in asyncio-dev.rst (pythonGH-15672)
Automerge-Triggered-By: @ned-deily (cherry picked from commit 675d17c) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com>
Configuration menu - View commit details
-
Copy full SHA for 5e194f5 - Browse repository at this point
Copy the full SHA 5e194f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cad7abf - Browse repository at this point
Copy the full SHA cad7abfView commit details
Commits on Sep 5, 2019
-
Fix idlelib.help comments (pythonGH-15669)
(cherry picked from commit 6cd9666) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 29825a3 - Browse repository at this point
Copy the full SHA 29825a3View commit details -
bpo-22347: Update mimetypes.guess_type to allow proper parsing of URLs (
pythonGH-15522) https://bugs.python.org/issue22347 (cherry picked from commit 87bd207) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6d7a786 - Browse repository at this point
Copy the full SHA 6d7a786View commit details -
[3.8] bpo-37764: Fix infinite loop when parsing unstructured email he…
…aders. (pythonGH-15239) (pythonGH-15686) Fixes a case in which email._header_value_parser.get_unstructured hangs the system for some invalid headers. This covers the cases in which the header contains either: - a case without trailing whitespace - an invalid encoded word https://bugs.python.org/issue37764 This fix should also be backported to 3.7 and 3.8 https://bugs.python.org/issue37764 (cherry picked from commit c5b242f) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6ad0a2c - Browse repository at this point
Copy the full SHA 6ad0a2cView commit details -
bpo-37902: IDLE: Add scrolling for IDLE browsers. (pythonGH-15368)
Modify the wheel event handler so it can also be used for module, path, and stack browsers. Patch by George Zhang. (cherry picked from commit 2cd9025) Co-authored-by: GeeTransit <geetransit@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9c2654d - Browse repository at this point
Copy the full SHA 9c2654dView commit details -
bpo-38026: fix inspect.getattr_static (pythonGH-15676)
It should avoid dynamic lookup including `isinstance`. This is a regression caused by pythonGH-5351. (cherry picked from commit 8f9cc87) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bdcbb83 - Browse repository at this point
Copy the full SHA bdcbb83View commit details -
bpo-36324: Apply review comments from Allen Downey (pythonGH-15693) (p…
…ythonGH-15694) (cherry picked from commit e4810b2) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dafbe32 - Browse repository at this point
Copy the full SHA dafbe32View commit details -
bpo-36324: Apply review comment from Jake Vanderplas (pythonGH-15695) (…
…pythonGH-15696) (cherry picked from commit 9b51570) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f5649bf - Browse repository at this point
Copy the full SHA f5649bfView commit details -
Correct minor gramatical mistake in sys.settrace doc (pythonGH-15637)
(cherry picked from commit 3038e87) Co-authored-by: Andre Delfino <adelfino@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7eaedda - Browse repository at this point
Copy the full SHA 7eaeddaView commit details
Commits on Sep 6, 2019
-
More refinements to the statistics docs (pythonGH-15713) (pythonGH-15715
) (cherry picked from commit d8c93aa) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b8c6677 - Browse repository at this point
Copy the full SHA b8c6677View commit details -
bpo-37380: subprocess: don't use _active on win (pythonGH-14360) (pyt…
…honGH-15707) As noted by @eryksun in [1] and [2], using _cleanup and _active(in __del__) is not necessary on Windows, since: > Unlike Unix, a process in Windows doesn't have to be waited on by > its parent to avoid a zombie. Keeping the handle open will actually > create a zombie until the next _cleanup() call, which may be never > if Popen() isn't called again. This patch simply defines `subprocess._active` as `None`, for which we already have the proper logic in place in `subprocess.Popen.__del__`, that prevents it from trying to append the process to the `_active`. This patch also defines `subprocess._cleanup` as a noop for Windows. [1] https://bugs.python.org/issue37380GH-msg346333 [2] https://bugs.python.org/issue36067GH-msg336262 Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai> (cherry picked from commit 042821a) Co-authored-by: Ruslan Kuprieiev <kupruser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4d1abed - Browse repository at this point
Copy the full SHA 4d1abedView commit details -
bpo-38041: Refine IDLE Shell restart lines. (pythonGH-15709)
Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user. (cherry picked from commit 38da805) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 4009a85 - Browse repository at this point
Copy the full SHA 4009a85View commit details
Commits on Sep 7, 2019
-
bpo-20806: Reference both times(2) and times(3) and link to MSDN. (py…
…thonGH-15479) (cherry picked from commit 3ccdbc3) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cc51a6d - Browse repository at this point
Copy the full SHA cc51a6dView commit details
Commits on Sep 8, 2019
-
[3.8] Correct Roman-numeral example in Unicode HOWTO. (pythonGH-15541)…
…. (pythonGH-15728) (cherry picked from commit 32a960f) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3be4b10 - Browse repository at this point
Copy the full SHA 3be4b10View commit details
Commits on Sep 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cc1bdf9 - Browse repository at this point
Copy the full SHA cc1bdf9View commit details -
bpo-34410: Fix a crash in the tee iterator when re-enter it. (pythonG…
Configuration menu - View commit details
-
Copy full SHA for 6e3809c - Browse repository at this point
Copy the full SHA 6e3809cView commit details -
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() …
…calls (pythonGH-14462) If FormatMessageW() is passed the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS, it will fail if there are insert sequences in the message definition. (cherry picked from commit a656365) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e103732 - Browse repository at this point
Copy the full SHA e103732View commit details -
[3.8] bpo-15817: gdbinit: Document commands after defining them (pyth…
…onGH-15021) (python#15744) The gdb manual[1] says the following for "document": The command commandname must already be defined. [1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html And indeed when trying to use the gdbinit file with gdb 8.3, I get: .../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help". Fix this by moving all documentation blocks after the define blocks. This was introduced in pythonGH-6384. (cherry picked from commit 1f86fdc) Authored-by: Florian Bruhin <me@the-compiler.org>
Configuration menu - View commit details
-
Copy full SHA for 14f7de7 - Browse repository at this point
Copy the full SHA 14f7de7View commit details -
bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (pyth…
…onGH-13239) * bpo-32587: Make winreg.REG_MULTI_SZ support PendingFileRenameOperations * Address review comments. (cherry picked from commit e223ba1) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ebca7eb - Browse repository at this point
Copy the full SHA ebca7ebView commit details -
bpo-37936: Avoid ignoring files that we actually do track. (pythonGH-…
…15451) There were about 14 files that are actually in the repo but that are covered by the rules in .gitignore. Git itself takes no notice of what .gitignore says about files that it's already tracking... but the discrepancy can be confusing to a human that adds a new file unexpectedly covered by these rules, as well as to non-Git software that looks at .gitignore but doesn't implement this wrinkle in its semantics. (E.g., `rg`.) Several of these are from rules that apply more broadly than intended: for example, `Makefile` applies to `Doc/Makefile` and `Tools/freeze/test/Makefile`, whereas `/Makefile` means only the `Makefile` at the repo's root. And the `Modules/Setup` rule simply wasn't updated after 961d54c. https://bugs.python.org/issue37936 (cherry picked from commit 5e5e951) Co-authored-by: Greg Price <gnprice@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c837ad4 - Browse repository at this point
Copy the full SHA c837ad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb02196 - Browse repository at this point
Copy the full SHA eb02196View commit details -
bpo-37705: Improve the implementation of winerror_to_errno() (pythonG…
Configuration menu - View commit details
-
Copy full SHA for 68e401f - Browse repository at this point
Copy the full SHA 68e401fView commit details -
bpo-36250: ignore ValueError from signal in non-main thread (pythonGH…
Configuration menu - View commit details
-
Copy full SHA for 87a5a33 - Browse repository at this point
Copy the full SHA 87a5a33View commit details -
[3.8] Doc: Fix PDF build (NoUri). (pythonGH-15739) (pythonGH-15754)
(cherry picked from commit 63c98ed) Co-authored-by: Julien Palard <julien@palard.fr> Automerge-Triggered-By: @JulienPalard
Configuration menu - View commit details
-
Copy full SHA for 2522679 - Browse repository at this point
Copy the full SHA 2522679View commit details -
bpo-37212: Preserve keyword argument order in unittest.mock.call and …
…error messages (pythonGH-14310) (cherry picked from commit 9d60706) Co-authored-by: Xtreak <tir.karthi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bee8bfe - Browse repository at this point
Copy the full SHA bee8bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ee2b20 - Browse repository at this point
Copy the full SHA 6ee2b20View commit details