https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
d7c567b 3.7.7 10 March 2020, 06:11:12 UTC
e7ca2d3 fix typo: add space (GH-18853) Fix typo in cmdline.rst Add space between the `-m` option and the module name (`timeit`). (cherry picked from commit c580981ba01c4d9f721dbdd88208ba37704e0217) Co-authored-by: Julin S <48789920+ju-sh@users.noreply.github.com> 10 March 2020, 05:49:00 UTC
b092892 bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) (cherry picked from commit 31350f9af09dcff7cf6ff4b0a0a7ea595942372e) Co-authored-by: Steve Dower <steve.dower@python.org> 10 March 2020, 05:48:25 UTC
2244814 bpo-17422: slightly more precise language (GH-18682) (cherry picked from commit e59334ebc9308b0f3ad048ef293c6b49e6456d1a) Co-authored-by: Caleb Donovick <cdonovick@users.noreply.github.com> 10 March 2020, 05:48:00 UTC
1e85e1a IDLE doc: improve Startup failure subsection. (GH-18771) Eliminate repeat of 'Options', reported by Jules Lasne, and improve wording elsewhere. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ce305d641074931e4e790f7a83e28f74910644e5) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com> 10 March 2020, 05:47:21 UTC
7058d2d bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) `list(sys.modules.items())` was apparently not immune to "dictionary changed size during iteration" errors. Tested internally using an integration test that has run into this a couple of times in the past two years. With this patch applied, the test is no longer flaky. (cherry picked from commit 85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20) Co-authored-by: Gregory P. Smith <gps@google.com> 10 March 2020, 05:46:59 UTC
c157edb [3.7] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18782) (cherry picked from commit 67152d0ed670227b61b5df683655b196ab04ca1a) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon 10 March 2020, 05:46:27 UTC
1ecdc9b Allow python_uwp.vcxproj to build with toolset v142 if present (GH-18777) 10 March 2020, 05:46:07 UTC
8b9f713 Update macOS installer ReadMe for 3.7.7. (GH-18775) 10 March 2020, 05:45:48 UTC
ba8c09b Post release updates 10 March 2020, 05:40:00 UTC
93b7677 3.7.7rc1 04 March 2020, 07:37:27 UTC
12c45ef [3.7] bpo-39389: gzip: fix compression level metadata (GH-18077) (GH-18101) * bpo-39389: gzip: fix compression level metadata (GH-18077) As described in RFC 1952, section 2.3.1, the XFL (eXtra FLags) byte of a gzip member header should indicate whether the DEFLATE algorithm was tuned for speed or compression ratio. Prior to this patch, archives emitted by the `gzip` module always indicated maximum compression. (cherry picked from commit eab3b3f1c60afecfb4db3c3619109684cb04bd60) Co-authored-by: William Chargin <wchargin@gmail.com> 04 March 2020, 07:06:19 UTC
3eff46f bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) (GH-18751) Ideally if we stick a ForwardRef in a dictionary we would like to reliably be able to get it out again. https://bugs.python.org/issue37953 (cherry picked from commit e082e7c) Co-authored-by: plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com> 03 March 2020, 22:29:40 UTC
f8f163c Fix misleading statement about mixed-type numeric comparisons (GH-18615) (GH-18737) (cherry picked from commit 9f1cb1bb49476246de5d9ed5fe680301cf7f7571) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 03 March 2020, 16:22:56 UTC
852aee6 bpo-39776: Lock ++interp->tstate_next_unique_id (GH-18746) - Threads created by PyGILState_Ensure() could have a duplicate tstate->id. (cherry picked from commit b3b9ade4a3d3fe00d933bcd8fc5c5c755d1024f9) 03 March 2020, 08:19:58 UTC
72fff60 bpo-39778: Add clarification about tp_traverse and ownership (GH-18754) Automerge-Triggered-By: @pablogsal (cherry picked from commit 6df421fe87a9418d6c59f89dbc5d5573b6826855) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 03 March 2020, 03:03:56 UTC
499c926 [3.7] bpo-39831: Fix a reference leak in PyErr_WarnEx(). (GH-18750). (GH-18760) (cherry picked from commit 2d2f85517f8216146a2f888d1ad4d765b3be2339) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 March 2020, 01:13:24 UTC
8a5f7ad [3.7] bpo-38597: Never statically link extension initialization code on Windows (GH-18724) (GH-18759) Automerge-Triggered-By: @zooba 03 March 2020, 00:26:26 UTC
69ded39 bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) Objects do not own weak references to them directly through the __weakref__ list so these do not need to be traversed by the GC. (cherry picked from commit 0c2b509f9d1d3a9065bc62c2407e1dc2ed70e9c2) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 02 March 2020, 23:53:03 UTC
7ca251b bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678) Automerge-Triggered-By: @zooba (cherry picked from commit 1382c3289bcfd34ac6811fdf9aa5bc09ca8c320e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 02 March 2020, 15:02:08 UTC
f4d709f bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666) Open issue in the BPO indicated a desire to make the implementation of codecs.open() at parity with io.open(), which implements a try/except to assure file stream gets closed before an exception is raised. (cherry picked from commit 2565edec2c974b2acca03b4cc5025e83f903ddd7) Co-authored-by: Chris A <christopher.aporta@gmail.com> 02 March 2020, 08:02:16 UTC
d3c2435 bpo-39378: partial of PickleState struct should be traversed. (GH-18046) (cherry picked from commit 1f577ce363121d590b51abf5c41d1bcf3d751436) Co-authored-by: Hai Shi <shihai1992@gmail.com> 02 March 2020, 06:46:59 UTC
7c64726 [3.7] bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) (GH-18718) (GH-18725) Fix compileall.compile_dir() ddir= behavior on sub-packages. Fixes compileall.compile_dir's ddir parameter and compileall command line flag `-d` to no longer write the wrong pathname to the generated pyc file for submodules beneath the root of the directory tree being compiled. This fixes a regression introduced with Python 3.5. Tests backported from GH 02673352b5db6ca4d3dc804965facbedfe66425d, the implementation is different due to intervening code changes. But still quiet simple. Why was the bug ever introduced? The refactoring to add parallel execution kept the ddir -> dfile computations but discarded the results instead of sending them to compile_file(). This fixes that. Lack of tests meant this went unnoticed.. (cherry picked from commit ce720d3e0674d6ac6f1b950c20a89be4cfde7853) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] 01 March 2020, 19:06:54 UTC
c4ca1f8 [3.7] bpo-39794: Add --without-decimal-contextvar (GH-18702) * bpo-39794: Add --without-decimal-contextvar (#18702) (cherry picked from commit 815280eb160af637e1347213659f9236adf78f80) 29 February 2020, 22:10:26 UTC
cf347f3 bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest Auth (GH-18338) * bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication - The 'qop' value in the 'WWW-Authenticate' header is optional. The presence of 'qop' in the header should be checked before its value is parsed with 'split'. Signed-off-by: Stephen Balousek <stephen@balousek.net> * bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication - Add NEWS item Signed-off-by: Stephen Balousek <stephen@balousek.net> * Update Misc/NEWS.d/next/Library/2020-02-06-05-33-52.bpo-39548.DF4FFe.rst Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 5e260e0fde211829fcb67060cfd602f4b679f802) Co-authored-by: Stephen Balousek <sbalousek@users.noreply.github.com> 29 February 2020, 20:49:20 UTC
5157506 bpo-13790: Change 'string' to 'specification' in format doc (GH-18690) (cherry picked from commit 916895f93905f8b8dad677cceff501833f5a633a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 February 2020, 20:04:19 UTC
f4198ae bpo-39781: Do not jump when select in IDLE codecontext (GH-18683) Previously, the button-up part of selecting with a mouse was treated as a click that meant 'jump' to this line, which modified the context and undid the selection (cherry picked from commit c705fd1e89ccb8f6d414ec817b4616546147d877) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 February 2020, 18:41:17 UTC
3bf9de2 bpo-39699: Don't silence make on Azure and Github CIs (GH-18583) Doc tests remain disabled for 3.7 Co-authored-by: Ammar Askar <ammar_askar@hotmail.com> 26 February 2020, 22:08:10 UTC
0ef328a Doc: int -> int or Py_ssize_t (GH-18663) (cherry picked from commit 57c7a0bdf4f7da8cf47f797f075950f6b8c98b99) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 26 February 2020, 06:10:17 UTC
55be9a6 bpo-30566: Fix IndexError when using punycode codec (GH-18632) Trying to decode an invalid string with the punycode codec shoud raise UnicodeError. (cherry picked from commit ba22e8f174309979d90047c5dc64fcb63bc2c32e) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 25 February 2020, 03:43:46 UTC
e349e83 Give proper credit for figuring out and writing PEP-3118 tests. (GH-18644) (#18645) (cherry picked from commit b942ba03b8530f26240d4e36567d2ff42d701420) Authored-by: Stefan Krah <skrah@bytereef.org> 24 February 2020, 11:44:40 UTC
3dc6961 Give proper credits for the memoryview implementation. (GH-18626) (#18643) (cherry picked from commit ee3bac4cba56b51ce924f13d77b97131eec1a865) Authored-by: Stefan Krah <skrah@bytereef.org> 24 February 2020, 10:51:40 UTC
097612a bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531) Appears to be obsolete since 75bb54c3d8. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 4015d1cda3cdba869103779eb6ff32ad798ff885) Co-authored-by: Daniel Hahler <git@thequod.de> 24 February 2020, 03:32:50 UTC
d57f999 bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528) Full nested function and class info makes it a module browser. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit aea045adb8c90394264908670cbc495c5a41b65e) Co-authored-by: Hakan Çelik <hakancelik96@outlook.com> 24 February 2020, 02:07:50 UTC
333b989 [3.7] bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131) (#18134) https://bugs.python.org/issue39427 Automerge-Triggered-By: @pablogsal. (cherry picked from commit 41f0ef6abbd304409c55612a08788cdd59fbc8a3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 23 February 2020, 20:48:30 UTC
24c570b bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18617) (cherry picked from commit b76518d43fb82ed9e5d27025d18c90a23d525c90) Authored-by: Stefan Krah <skrah@bytereef.org> 23 February 2020, 13:42:57 UTC
36a120d bpo-17422: Language reference should specify restrictions on class namespace (GH-18559) The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman. (cherry picked from commit fbe2e0bb8a7ee75d0f9d57682436dac7d69e202e) Co-authored-by: ananthan-123 <ananthakrishnan15.2001@gmail.com> 22 February 2020, 21:16:43 UTC
43a0137 bpo-39382: Avoid dangling object use in abstract_issubclass() (GH-18530) Hold reference of __bases__ tuple until tuple item is done with, because by dropping the reference the item may be destroyed. (cherry picked from commit 1c56f8ffad44478b4214a2bf8eb7cf51c28a347a) Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com> 22 February 2020, 13:32:36 UTC
00e4587 bpo-39576: docs: set context for decimal arbitrary precision arithmetic (GH-18594) (#18596) (cherry picked from commit a025d4ca99fb4c652465368e0b4eb03cf4b316b9) Authored-by: Stefan Krah <skrah@bytereef.org> 21 February 2020, 20:36:02 UTC
50ce890 fix(doc): set correct RST syntax for c:function (GH-18589) The current content is not rendered since the syntax is not correct. (cherry picked from commit d4d17fd2cf69e7c8f4cd03fbf2d575370945b952) Co-authored-by: Julien Danjou <julien@danjou.info> 21 February 2020, 14:09:24 UTC
09db1da bpo-38657: Clarify numeric padding behaviour in string formatting (GH-17036) Make the definition of the width more explicit that it includes any extra signs added by other options. https://bugs.python.org/issue38657 Automerge-Triggered-By: @Mariatta (cherry picked from commit 424e5686d82235e08f8108b8bbe034bc91421689) Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com> 21 February 2020, 06:05:58 UTC
c6f9554 bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581) (#18585) (cherry picked from commit 90930e65455f60216f09d175586139242dbba260) Authored-by: Stefan Krah <skrah@bytereef.org> 21 February 2020, 01:15:41 UTC
736e0ea Valgrind no longer supports --db-attach=yes. (GH-18568) (#18578) (cherry picked from commit c0cb8beb389da3ba67ad31b1ecc95e100b6292ab) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> 20 February 2020, 18:54:37 UTC
a3c2c5f Use the new recommended number of repetitions in the refleak tests. (GH-18569) (#18575) (cherry picked from commit 1246d892038a693304549f8574e6c2784b91589a) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> 20 February 2020, 18:37:23 UTC
2574910 Update runall.bat to the latest Windows build system. (GH-18571) (#18572) (cherry picked from commit 9b833e00e447a3b8b6966686bff701f549c66263) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> 20 February 2020, 18:30:00 UTC
fde0041 bpo-39663: IDLE: Add additional tests for pyparse (GH-18536) Test when find_good_parse_start should return 0. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ffda25f6b825f3dee493b6f0746266a4dd6989f0) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 18 February 2020, 03:05:14 UTC
3c57ca6 [3.8] bpo-39453: Fix contains method of list to hold strong references (GH-18204) (cherry picked from commit f64abd10563c25a94011f9e3335fd8a1cf47c205) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 17 February 2020, 09:30:44 UTC
505b601 Revert "bpo-27657: Fix urlparse() with numeric paths (GH-661)" (#18526) This reverts commit 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f. The change broke the backwards compatibility of parsing behavior in a patch release of Python (3.7.6). A decision was taken to revert this patch in 3.7.7. In https://bugs.python.org/issue27657 it was decided that the previous behavior like >>> urlparse('localhost:8080') ParseResult(scheme='', netloc='', path='localhost:8080', params='', query='', fragment='') >>> urlparse('undefined:8080') ParseResult(scheme='', netloc='', path='undefined:8080', params='', query='', fragment='') needs to be preserved in patch releases as number of users rely upon it. Explicitly mention the releases involved with the revert in NEWS. Adopt the wording suggested by @ned-deily. 16 February 2020, 21:07:25 UTC
46cf4fc bpo-39545: Document changes in the support of await in f-strings. (GH-18456) https://bugs.python.org/issue39545 (cherry picked from commit f632736023502816f2e6bd714d1b48c81aa2ccc1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 February 2020, 00:03:12 UTC
f464edf bpo-39606: allow closing async generators that are already closed (GH-18475) (GH-18502) The fix for [bpo-39386](https://bugs.python.org/issue39386) attempted to make it so you couldn't reuse a agen.aclose() coroutine object. It accidentally also prevented you from calling aclose() at all on an async generator that was already closed or exhausted. This commit fixes it so we're only blocking the actually illegal cases, while allowing the legal cases. The new tests failed before this patch. Also confirmed that this fixes the test failures we were seeing in Trio with Python dev builds: https://github.com/python-trio/trio/pull/1396 https://bugs.python.org/issue39606 (cherry picked from commit 925dc7fb1d0db85dc137afa4cd14211bf0d67414) 13 February 2020, 09:33:35 UTC
ca133e5 bpo-21016: pydoc and trace use sysconfig (GH-18476) bpo-21016, bpo-1294959: The pydoc and trace modules now use the sysconfig module to get the path to the Python standard library, to support uncommon installation path like /usr/lib64/python3.9/ on Fedora. Co-Authored-By: Jan Matějek <jmatejek@suse.com> (cherry picked from commit 4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd) Co-authored-by: Victor Stinner <vstinner@python.org> 12 February 2020, 12:32:46 UTC
a933f74 docs: macos - change "versiona" to "versions" (GH-18467) (GH-18470) (cherry picked from commit 029e8401b7741cc0964b5f38d2c2264749dbff6b) Co-authored-by: @RandyMcMillan <randy.lee.mcmillan@gmail.com> 12 February 2020, 01:40:39 UTC
fcfc3c8 bpo-38374: Remove weakref.ReferenceError from docs (GH-18452) Reflecting changes to the code, removed weakref.ReferenceError from weakref.rst and exceptions.rst. Issue submitter provided evidence that the `weakref.ReferenceError` alias for `ReferenceError` was removed from the code in 2007. Working with @gvanrossum at PyCascades CPython sprint we looked at the code and confirmed that `weakref.ReferenceError` was no longer in `weakref.py`. Based on that analysis I removed references `weakref.ReferenceError` from the two documents where it was still being referenced: `weakref.rst` and `exceptions.rst`. https://bugs.python.org/issue38374 (cherry picked from commit 4eb9f4313cfaea6a9611221024a1c54f5662cc37) Co-authored-by: Roger Hurwitz <rogerhurwitz@gmail.com> 11 February 2020, 07:01:23 UTC
32c8840 bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449) Complete previous patch. (cherry picked from commit 96ce22706735779cf8cc46eaaa5ac61359364b5a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 February 2020, 01:28:03 UTC
78982f9 bpo-13826: Clarify Popen constructor example (GH-18438) Clarifies that the use of `shlex.split` is more instructive than normative, and provides a simpler example. https://bugs.python.org/issue13826 (cherry picked from commit 95d024d585bd3ed627437a2f0cbc783c8a014c8a) Co-authored-by: Tim D. Smith <github@tim-smith.us> 10 February 2020, 22:56:14 UTC
a12effd bpo-39594: Fix typo in os.times documentation (GH-18443) There was an extra space in the url markup, causing the documentation not rendered properly. https://bugs.python.org/issue39594 (cherry picked from commit 37c55b2b49a3acb7c56c9f6a5062bc6e4e35bc1c) Co-authored-by: Roger Hurwitz <rogerhurwitz@gmail.com> 10 February 2020, 22:55:35 UTC
1365736 Improve grammar in the import system reference documentation (GH-18209) Replaced the period with a comma. Automerge-Triggered-By: @Mariatta (cherry picked from commit d47d0c8e9f2ca0f9f5d1bf0b35006a9a4d5ca684) Co-authored-by: Bonifacio de Oliveira <bonifacio.segundo@gmail.com> 10 February 2020, 22:36:58 UTC
2e8097d bpo-39600, IDLE: Remove duplicated font names (GH-18430) In the font configuration window, remove duplicated font names. (cherry picked from commit ed335cf53b5d4bca9a08c9b83ba684ba17be0f10) Co-authored-by: Victor Stinner <vstinner@python.org> 10 February 2020, 21:39:43 UTC
3b888ad [3.7] bpo-3950: Fix docs for default locale used by gettext to match implementation (GH-18435) (GH-18439) documentation for default locale directory Doc/library/gettext.rst changed to match gettext implementation line 63. (cherry picked from commit d68e0a8a165761604e820c8cb4f20abc735e717f) Co-authored-by: Carl <Carl-Ty@users.noreply.github.com> https://bugs.python.org/issue3950 Automerge-Triggered-By: @gvanrossum 10 February 2020, 21:34:22 UTC
83efed9 bpo-39534: Doc: Clarify return in finally (GH-18324) (cherry picked from commit 446463f8dbce0556be8020914f37089b63bb8ab6) Co-authored-by: Julien Palard <julien@palard.fr> 06 February 2020, 22:22:11 UTC
705d271 bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) Some numerator types used (specifically NumPy) decides to not return a Python boolean for the "a != b" operation. Using the equivalent call to bool() guarantees a bool return also for such types. (cherry picked from commit 427c84f13f7719e6014a21bd1b81efdc02a046fb) Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> 06 February 2020, 15:14:37 UTC
6ba8dc6 bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791) (cherry picked from commit 89ae20b30e4543f379ee647c965eb46200556496) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> 05 February 2020, 00:47:18 UTC
97d2a98 closes bpo-39510: Fix use-after-free in BufferedReader.readinto() (GH-18295) When called on a closed object, readinto() segfaults on account of a write to a freed buffer: ==220553== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==220553== Access not within mapped region at address 0x2A ==220553== at 0x48408A0: memmove (vg_replace_strmem.c:1272) ==220553== by 0x58DB0C: _buffered_readinto_generic (bufferedio.c:972) ==220553== by 0x58DCBA: _io__Buffered_readinto_impl (bufferedio.c:1053) ==220553== by 0x58DCBA: _io__Buffered_readinto (bufferedio.c.h:253) Reproducer: reader = open ("/dev/zero", "rb") _void = reader.read (42) reader.close () reader.readinto (bytearray (42)) GH-GH-GH- BANG! The problem exists since 2012 when commit dc469454ec added code to free the read buffer on close(). Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com> (cherry picked from commit cb1c0746f277052e45a60d6c436a765e34722821) Co-authored-by: Philipp Gesang <phg@phi-gamma.net> 04 February 2020, 21:43:07 UTC
fda6593 Fixes in sorting descriptions (GH-18317) Improvements in listsort.txt and a comment in sortperf.py. Automerge-Triggered-By: @csabella (cherry picked from commit 24e5ad4689de9adc8e4a7d8c08fe400dcea668e6) Co-authored-by: Stefan Pochmann <stefan.pochmann@gmail.com> 04 February 2020, 00:30:44 UTC
4c71c83 fixes typos in http.client documentation (GH-18300) (cherry picked from commit b94737a4af96b29bd4c025724f671e7bc0f6b6f1) Co-authored-by: James Corbett <james.h.corbett@gmail.com> 03 February 2020, 12:07:41 UTC
7561e7a bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortDescription (GH-18321) (cherry picked from commit 032de7324e30c6b44ef272cea3be205a3d768759) Co-authored-by: Steve Cirelli <scirelli+git@gmail.com> 03 February 2020, 07:25:17 UTC
8d02114 bpo-38792: Remove IDLE shell calltip before new prompt. (GH-17150) Previously, a calltip might be left after SyntaxError, KeyboardInterrupt, or Shell Restart. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tal Einat <taleinat+github@gmail.com> (cherry picked from commit bfdeaa37b3df7466624c17f9450d2bd1c3d95edf) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 31 January 2020, 02:12:46 UTC
561c597 [3.7] bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231) (GH-18232) https://bugs.python.org/issue39401 Automerge-Triggered-By: @zooba 30 January 2020, 06:07:17 UTC
194c7ae [3.7] bpo-39493: Fix definition of IO.closed in typing.py (GH-18273) * bpo-39493: Fix definition of IO.closed in typing.py (GH-18265) (cherry picked from commit 2e6569b6692298fcc9aae0df3eb3181adb2a5099) Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> * Use @absractproperty Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> Co-authored-by: Guido van Rossum <guido@python.org> 30 January 2020, 06:00:12 UTC
cf0645a bpo-39485: fix corner-case in method-detection of mock (GH-18256) Replace check for whether something is a method in the mock module. The previous version fails on PyPy, because there no method wrappers exist (everything looks like a regular Python-defined function). Thus the isinstance(getattr(result, '__get__', None), MethodWrapperTypes) check returns True for any descriptor, not just methods. This condition could also return erroneously True in CPython for C-defined descriptors. Instead to decide whether something is a method, just check directly whether it's a function defined on the class. This passes all tests on CPython and fixes the bug on PyPy. (cherry picked from commit a327677905956ae0b239ff430a1346dfe265709e) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> 29 January 2020, 16:10:24 UTC
a6559b4 Doc: Fix external links to functional programming tutorial. (GH-18249) (cherry picked from commit 35eac4500a8bd89b087407f59ba337343b22d403) Co-authored-by: Julien Palard <julien@palard.fr> 29 January 2020, 13:16:57 UTC
6990d1b bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environment (GH-16098) 28 January 2020, 10:29:16 UTC
5a49cca bpo-39287: Doc: Add UTF-8 mode section in using/windows. (GH-17935) Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 148610d88a2785751ed435a4e60f07a9f1bc50a6) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 28 January 2020, 10:17:20 UTC
005b059 bpo-39392: Turtle overlap fill depends on OS (GH-18223) Whether or not overlap regions for self-intersecting polygons or multiple shapes are filled depends on the operating system graphics, typeof overlap, and number of overlaps. (cherry picked from commit 2824c45a0a020f12f27da7e7162e8636c21bf869) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 January 2020, 23:46:25 UTC
5aefee6 bpo-30780: Add IDLE configdialog tests (GH-3592) Expose dialog buttons to test code and complete their test coverage. Complete test coverage for highlights and keys tabs. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit dd023ad1619b6f1ab313986e8953eea32c18f50c) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 27 January 2020, 22:31:33 UTC
414ab5d Ignore NEWS snippets in code coverage stats (GH-18194) (cherry picked from commit 7023288dc500008609e7a4d12ae710c2093c3fc6) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 27 January 2020, 16:28:02 UTC
b0a6ec2 bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) (GH-17876) (cherry picked from commit 2e9012a3e1e316c54e27f51ba5849ba06eab7da2) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> 25 January 2020, 19:41:25 UTC
6dbd843 bpo-36654: Add examples for using tokenize module programmatically (GH-12947) (cherry picked from commit 4b09dc79f4d08d85f2cc945563e9c8ef1e531d7b) Co-authored-by: Windson yang <wiwindson@outlook.com> 25 January 2020, 19:36:04 UTC
548685e bpo-15243: Document __prepare__ as classmethod (GH-17124) (cherry picked from commit 7de617455ed788e6730c40cf854c4b72b0432194) Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com> 25 January 2020, 19:04:55 UTC
71d2b33 bpo-38473: Handle autospecced functions and methods used with attach_mock (GH-16784) (#18166) If an autospecced object is attached using attach_mock the child would be a function with mock object as attribute from which signature has to be derived. (cherry picked from commit 66b00a9d3aacf6ed49412f48743e4913104a2bb3) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> 25 January 2020, 14:54:57 UTC
fd9ce2b bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit d0d9fa8c5e30aff71b6d5e8b2673396622f33270) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 25 January 2020, 09:18:28 UTC
1a27435 bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) Use `from ... import ...` to ensure module is fully loaded before accessing its attributes. (cherry picked from commit 9017e0bd5e124ae6d2ed94b9e9cacb2e86270980) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 January 2020, 20:10:52 UTC
61b3484 [3.7] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) (GH-18151) When communicate() is called in a loop, it crashes when the child process has already closed any piped standard stream, but still continues to be running Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com>. (cherry picked from commit d3ae95e1e945ed20297e1c38ba43a18b7a868ab6) Co-authored-by: Alex Rebert <alex@forallsecure.com> https://bugs.python.org/issue35182 Automerge-Triggered-By: @gpshead 23 January 2020, 23:32:31 UTC
0c12d70 bpo-39431: Also mention nonlocal in assignment quirk (GH-17375) (cherry picked from commit 7142df5ea23b4ce0efb72746b4b3b65414e8dcb1) Co-authored-by: Shanavas M <shanavas.m2@gmail.com> 23 January 2020, 18:15:15 UTC
958064f bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) * bpo-39421: Fix posible crash in heapq with custom comparison operators * fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators * fixup! fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators (cherry picked from commit 79f89e6e5a659846d1068e8b1bd8e491ccdef861) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 23 January 2020, 14:25:31 UTC
36968c1 bpo-32989: IDLE - remove unneeded parameter (GH-18138) IDLE does not pass a non-default _synchre in any of its calls to pyparse.find_good_parse_start. (cherry picked from commit f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 23 January 2020, 05:12:58 UTC
ba83d1e bpo-39050: The Help button in IDLE's config menu works again (GH-17611) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 2e43b64c94e49f7133b9c26e84c9519935c49063) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 January 2020, 04:11:53 UTC
9e06d61 bpo-39425: Fix list.count performance regression (GH-18119) (GH-18121) https://bugs.python.org/issue39425 Automerge-Triggered-By: @pablogsal (cherry picked from commit 14d80d0b605d8b148e14458e4c1853a940071462) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 22 January 2020, 18:11:30 UTC
5707246 bpo-39413: os.unsetenv() is not available on Windows (GH-18108) Update os.unsetenv() documentation: it is not available on Windows. (cherry picked from commit f84f65be5602e561fef04b66bb487fbc4e560db5) Co-authored-by: Victor Stinner <vstinner@python.org> 22 January 2020, 12:56:22 UTC
d76ff72 PyLong_AsLongLong() docs should say 'long long' (GH-18082) (#18109) (cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7) Co-authored-by: Keith Erskine <toastie604@gmail.com> Co-authored-by: Keith Erskine <toastie604@gmail.com> 21 January 2020, 19:21:41 UTC
f3d3a3c bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968) Fix comments and add tests for editor newline_and_indent_event method. Remove unused None default for function parameter of pyparse find_good_parse_start method and code triggered by that default. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ec64640a2c5236d7a5d5470d759172a3d93eab0b) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 21 January 2020, 10:28:48 UTC
d7b0118 improve the documentation of the LOAD_METHOD and CALL_METHOD (GH-18079) (cherry picked from commit 8698b34b68065b80bd9bd18b8decb425208fa386) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> 21 January 2020, 01:04:36 UTC
3da8390 bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) (cherry picked from commit 8d57a4182f0aa68e16d66dea31ba59e732612b4f) Co-authored-by: Peter Bittner <django@bittner.it> 20 January 2020, 23:28:18 UTC
b76d5e9 bpo-39386: Prevent double awaiting of async iterator (GH-18081) (cherry picked from commit a96e06db77dcbd3433d39761ddb4615d7d96284a) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 20 January 2020, 23:07:54 UTC
2469066 Fix asyncio.get_event_loop() documentation (GH-18051) Mention that the function implicitly creates new event loop only if called from the main thread. (cherry picked from commit 2c49becc69c05934996a00b902e4a4f089b91954) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 20 January 2020, 22:51:57 UTC
a360070 bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFreed (GH-16630) Some objects like Py_None are not initialized with conventional means that prepare the circular linked list pointers, leaving them unlinked from the rest of the objects. For those objects, NULL pointers does not mean that they are freed, so we need to skip the check in those cases. (cherry picked from commit 36e33c360ed7716a2b5ab2b53210da81f8ce1295) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 19 January 2020, 23:43:12 UTC
296383b bpo-35561: Supress valgrind false alarm on epoll_ctl(event) (GH-18060) Update Misc/valgrind-python.supp to suppress the false alarm. (cherry picked from commit d8ef64422a75f40cecdb1a7ee43492607d3daaf6) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 January 2020, 22:44:04 UTC
d96b7dd Fix typo from base to based (GH-18055) (cherry picked from commit 558f07891170fe5173f277d3749e92d844de0a27) Co-authored-by: Michael Haas <micha2718l@gmail.com> 19 January 2020, 10:48:40 UTC
5046055 Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18044) (cherry picked from commit ef8844f1bcbea994a2a69b5a70309369d08b555c) Co-authored-by: Grant Jenks <grant.jenks@gmail.com> Co-authored-by: Grant Jenks <grant.jenks@gmail.com> 17 January 2020, 23:00:47 UTC
970188c bpo-39348: Fix code highlight for the SOCK_NONBLOCK example (GH-18018) The previous double colon was wrongly place directly after Therefore. Which produced a block without syntax highlighting. This fixes it by separating the double colon from the text. As a result, sphinx now properly highlights the python code. https://bugs.python.org/issue39348 (cherry picked from commit fad8b5674c66d9e00bb788e30adddb0c256c787b) Co-authored-by: Oz N Tiram <oz.tiram@noris.de> 16 January 2020, 00:00:32 UTC
back to top