Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
0694b82 bpo-40994: Ungroup items in collections.abc documentation for improved clarity (GH-21880) (#21927) Use a less surprising document structure. Automerge-Triggered-By: @csabella (cherry picked from commit 2ce39631f679e14132a54dc90ce764259d26e166) Co-authored-by: Sydney Pemberton <46042811+sydneypemberton1986@users.noreply.github.com> 22 August 2020, 09:06:14 UTC
1370d9d bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (GH-21930) Fix grammar in BaseTransport.close docstring. https://bugs.python.org/issue41572 Signed-off-by: Cleber Rosa <crosa@redhat.com> (cherry picked from commit 1afb42cfa82dad0ddd726f59c6c5fcb3962314db) Co-authored-by: Cleber Rosa <cleber.gnu@gmail.com> 21 August 2020, 12:19:58 UTC
7d0fef5 bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844) (GH-21901) (GH-21928) * bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844) Enable Sphinx 3.2 "c_allow_pre_v3" option and disable the c_warn_on_allowed_pre_v3 option to make the documentation compatible with Sphinx 2 and Sphinx 3. (cherry picked from commit 423e77d6de497931585d1883805a9e3fa4096b0b) * bpo-40204: Fix Sphinx sytanx in howto/instrumentation.rst (GH-21858) Use generic '.. object::' to declare markers, rather than abusing '.. c:function::' which fails on Sphinx 3. (cherry picked from commit 43577c01a2ab49122db696e9eaec6cb31d11cc81) * bpo-40204: Fix duplicates in the documentation (GH-21857) Fix two Sphinx 3 issues: Doc/c-api/buffer.rst:304: WARNING: Duplicate C declaration, also defined in 'c-api/buffer'. Declaration is 'PyBUF_ND'. Doc/c-api/unicode.rst:1603: WARNING: Duplicate C declaration, also defined in 'c-api/unicode'. Declaration is 'PyObject* PyUnicode_Translate(PyObject *str, PyObject *table, const char *errors)'. (cherry picked from commit 46d10b1237c67ff8347f533eda6a5468d098f7eb) * bpo-40204: Add :noindex: in the documentation (GH-21859) Add :noindex: to duplicated documentation to fix "duplicate object description" errors. For example, fix this Sphinx 3 issue: Doc/library/configparser.rst:1146: WARNING: duplicate object description of configparser.ConfigParser.optionxform, other instance in library/configparser, use :noindex: for one of them (cherry picked from commit d3ded080482beae578faa704b13534a62d066f9f) * bpo-40204, doc: Fix syntax of C variables (GH-21846) For example, fix the following Sphinx 3 errors: Doc/c-api/buffer.rst:102: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*obj -----^ Doc/c-api/arg.rst:130: WARNING: Unparseable C cross-reference: 'PyObject*' Invalid C declaration: Expected end of definition. [error at 8] PyObject* --------^ The modified documentation is compatible with Sphinx 2 and Sphinx 3. (cherry picked from commit 474652fe9346382dbf793f20b671eb74668bebde) * bpo-40204: Fix reference to terms in the doc (GH-21865) Sphinx 3 requires to refer to terms with the exact case. For example, fix the Sphinx 3 warning: Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case sensitive match.made a reference to loader instead. (cherry picked from commit bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1) * bpo-40204: Fix duplicated productionlist names in the doc (GH-21900) Sphinx 3 disallows having more than one productionlist markup with the same name. Simply remove names in this case, since names are not shown anyway. For example, fix the Sphinx 3 warning: Doc/reference/introduction.rst:96: duplicate token description of *:name, other instance in reference/expressions (cherry picked from commit 1abeda80f760134b4233608e2c288790f955b95a) (cherry picked from commit 8f88190af529543c84d5dc78f19abbfd73335cf4) 20 August 2020, 11:28:49 UTC
34889a5 [3.8] venv: Update Aspen URL in 'activate' script comment (GH-21797) A comment in the venv `activate` script (as well as `activate.csh` and `activate.fish`) referencing Aspen magic directories lists a "further information" URL for Aspen at the zetadev.com website. zetadev.com changed ownership in 2019, and now redirects to a server in China with an expired security certificate. Out of an abundance of caution, while not changing the _code_ for the activate scripts, this PR updates the URL in those comments to reference Aspen's new documentation home at https://aspen.io/. No issue created, as I suspect this falls within the definition of a "trivial" change. Please let me know if I'm wrong about that, and I'll open the necessary issue(s). While filed against the 3.8 branch, strictly speaking this is not a backported PR. The comment in question was entirely removed from the script between Python 3.8 and 3.9. (IMHO this _should_ probably be backported to 3.7 and 3.6, as well. I'll happily file those PRs if needed.) Automerge-Triggered-By: @vsajip 19 August 2020, 19:34:50 UTC
2bcd0fe Fix typo in message from assert statement (GH-21283) The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition. (cherry picked from commit 99c0ee3c893bb99fd98a97084fc386ce2911eb64) Co-authored-by: Allen <64019758+aboddie@users.noreply.github.com> 17 August 2020, 15:32:11 UTC
1baa8b1 bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) asyncio.AbstractEventLoop.run_in_executor should be a method that returns an asyncio Future, not an async method. This matches the concrete implementations, and the documentation better. (cherry picked from commit 29f84294d88ec493c2de9d6e8dbc12fae3778771) Co-authored-by: James Weaver <james.barrett@bbc.co.uk> 17 August 2020, 14:37:12 UTC
08f0a21 [3.8] bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765) (GH-21898) (cherry picked from commit 2353d77fad7ed9d11d8a4d66b5dd1306cdb94125) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> Automerge-Triggered-By: @vsajip 16 August 2020, 16:27:01 UTC
2434581 bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation (GH-18772) [bpo-31122](): ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation Reproducer: http://tiny.cc/f4ztnz (tiny url because some bot keeps renaming b.p.o.-nnn as bpo links) (cherry picked from commit 495bd035662fda29639f9d52bb6baebea31d72fa) Co-authored-by: Dima Tisnek <dimaqq@gmail.com> 15 August 2020, 17:42:36 UTC
0a5b30d Fix typo in typing doc (GH-21879) Automerge-Triggered-By: @gvanrossum (cherry picked from commit fa5d7251987c70a9c5d58b59a0b36ac9287eaafa) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> 14 August 2020, 23:09:58 UTC
2a9f709 bpo-41410: Fix outdated info in mkstemp docs (GH-21701) Automerge-Triggered-By: @ericvsmith (cherry picked from commit e55de68be3e5b977a17d3c0ac9805b0feff8fedc) Co-authored-by: Rishav Kundu <rk@rishav.io> 14 August 2020, 01:51:21 UTC
e05f20b Fixed comment about pathlib.link_to: it was added in 3.8, not changed. (GH-21851) (#21866) (cherry picked from commit a3eae43aeedb6e6a31adeab3c0c90961d05ab113) Co-authored-by: Facundo Batista <facundo@taniquetil.com.ar> 13 August 2020, 20:43:47 UTC
43b3e4c [3.8] bpo-41066: Update the comparison section for os vs pathlib (GH-21261) (GH-21864) (cherry picked from commit 0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> Automerge-Triggered-By: @pitrou 13 August 2020, 20:03:18 UTC
a3416c1 [3.9] bpo-41520: Fix second codeop regression (GH-21848) Fix the repression introduced by the initial regression fix. (cherry picked from commit c818b15fa59039de67022c29085d439fa5d3ef95) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit f24430f1542ea2768793b48704ae2d4e241892ae) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 August 2020, 18:38:55 UTC
afff51f bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838) (cherry picked from commit 369a1cbdee14d9f27356fb3a8bb21e4fde289d25) Co-authored-by: Victor Stinner <vstinner@python.org> 12 August 2020, 13:12:05 UTC
622d90f bpo-41475: Fix note in "What's new in 3.7" (GH-21733) (GH-21833) (cherry picked from commit 76643c10ede2813ca921464fe839e81caee21a84) Co-authored-by: Ram Rachum <ram@rachum.com> 12 August 2020, 10:38:37 UTC
7b3ceaa [3.8] bpo-41504: Add links to asttokens, leoAst, LibCST and parso to ast docs (GH-21773) (GH-21829) (cherry picked from commit e3c971ccfa58afcb2656b71b95e10b9703f2ad32) Co-authored-by: Edward K. Ream <edreamleo@gmail.com> https://bugs.python.org/issue41504 11 August 2020, 14:45:25 UTC
09d8260 bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806) On Git 2.28, "git diff master..." (3 dots) no longer works when "fetch --depth=1" is used, whereas it works on Git 2.26. Replace "..." (3 dots) with ".." (2 dots) in the "git diff" command computing the list of modified files between the base branch and the PR branch. (cherry picked from commit eaa551702d80fd67219c48ee6a13ffb571ca360b) Co-authored-by: Victor Stinner <vstinner@python.org> 10 August 2020, 17:06:11 UTC
860bc0e bpo-41514: Fix buggy IDLE test (GH-21808) test_run method test_fatal_error failed when run twice, as with python -m test -m test_fatal_error test_idle test_idle because func.called was not reinitialized to 0. This bug caused a failure on a refleak buildbot. (cherry picked from commit 416f0b71ba84fe83ee2ba4399b8a28712702980b) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 10 August 2020, 14:01:14 UTC
61f23cb bpo-41468: Improve and test IDLE run error exit (GH-21798) A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not. (cherry picked from commit f2e161c27964a59bc5ab20d96f87ba5862c6222d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 August 2020, 20:26:37 UTC
f421865 [3.8] Doc: Add output to example code in programming FAQ (GH-21346) (GH-21791) Add output hint to document, part faq/programming, section [How do I write a function with output parameters (call by reference)?](https://docs.python.org/3/faq/programming.htmlGH-how-do-i-write-a-function-with-output-parameters-call-by-reference). This patch make the output hint just like prefix code block. (cherry picked from commit 67acf74c4eaf64a860cc1bcda6efe6e9cb01f89b) Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com> Automerge-Triggered-By: @merwok 09 August 2020, 18:54:33 UTC
6925523 Improve renamed test_run.RecursionLimitTest (GH-21794) PEP 8 style and new comments. (cherry picked from commit 8b67bf907c51846853127176cbb2982d102a2c2d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 August 2020, 17:35:59 UTC
105cfb5 bpo-41455: Provide a link to how the third generation is collected in the GC docs (GH-21703) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 82ca8fada15b121866530f2cdac1b7055be4a244) Co-authored-by: Yaroslav Pankovych <31005942+P-Alban@users.noreply.github.com> 08 August 2020, 18:55:45 UTC
66c8996 bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757) (cherry picked from commit a4084b9d1e40c1c9259372263d1fe8c8a562b093) Co-authored-by: Konge <zkonge@outlook.com> 08 August 2020, 03:21:33 UTC
de5de41 Doc: Add a link to tutorial page from `open()` doc (GH-21737) Adds a link to the "Reading and Writing Files" page so users can more easily discover how file handles are handled with the `with` context manager vs without it. (cherry picked from commit 705f14556545699ab615ec98f707b438f9603767) Co-authored-by: Benjamin Kane <bbkane@users.noreply.github.com> 08 August 2020, 03:05:04 UTC
398dabb Update Azure Pipelines build to use Ubuntu 18.04 and move triggers into YAML files (GH-21776) (cherry picked from commit 102b4988b1a10d5a61034381aea15521d17c210c) Co-authored-by: Steve Dower <steve.dower@python.org> 07 August 2020, 23:01:37 UTC
135de08 bpo-41490: Update ensurepip to install pip 20.2.1 and setuptools 49.2.1 (GH-21775) 07 August 2020, 22:10:32 UTC
87bc220 bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768) gdb 9.2 on Fedora Rawhide is not reliable, see: * https://bugs.python.org/issue41473 * https://bugzilla.redhat.com/show_bug.cgi?id=1866884 (cherry picked from commit e27a51c11e10d5df79b3e48dc3e7bfedfad5a794) Co-authored-by: Victor Stinner <vstinner@python.org> 07 August 2020, 16:15:37 UTC
dc98a54 bpo-41098: Doc: Add missing deprecated directives (GH-21162) PyUnicodeEncodeError_Create has been deprecated with `Py_DEPRECATED` macro. But it was not documented. (cherry picked from commit 46e19b61d31ba99f049258efa4ff1334856a3643) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 07 August 2020, 07:49:46 UTC
713ba03 bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754) (cherry picked from commit 777b611c8c5676b80898a429f71d28e59bddc49d) Co-authored-by: Steve Dower <steve.dower@python.org> 06 August 2020, 16:52:57 UTC
b5789a7 bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736) (cherry picked from commit 52f98424a55e14f05dfa7483cc0faf634a61c9ff) Co-authored-by: Eric L. Frederich <eric.frederich@gmail.com> 05 August 2020, 21:43:16 UTC
b24c9d2 [3.8] bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-21745) …no (GH-20312). (cherry picked from commit 8f4380d2f5839a321475104765221a7394a9d649) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> Automerge-Triggered-By: @pablogsal 05 August 2020, 18:37:19 UTC
f0e030c bpo-36346: Doc: Update removal schedule of legacy Unicode (GH-21479) See PEP 623 for detail. (cherry picked from commit 270b4ad4df795783d417ba15080da8f95e598689) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 05 August 2020, 01:57:10 UTC
46e448a bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721) incr cannot be larger than INT_MAX: downcast to int explicitly. (cherry picked from commit bde48fd8110cc5f128d5db44810d17811e328a24) Co-authored-by: Victor Stinner <vstinner@python.org> 04 August 2020, 00:59:02 UTC
b934d83 bpo-41467: Fix asyncio recv_into() on Windows (GH-21720) On Windows, fix asyncio recv_into() return value when the socket/pipe is closed (BrokenPipeError): return 0 rather than an empty byte string (b''). (cherry picked from commit 602a971a2af3a685d625c912c400cadd452718b1) Co-authored-by: Victor Stinner <vstinner@python.org> 04 August 2020, 00:58:06 UTC
4bc8445 bpo-41425: Make tkinter doc example runnable (GH-21706) Co-authored-by: Ankit Chandawala <achandaw@amazon.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit c36dbac588e1d99975f285a874bb20e9f5040af4) 03 August 2020, 04:25:04 UTC
45d37cb bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707) (cherry picked from commit ecaf949cc487887883c14dff7a96e09ac9404994) Co-authored-by: Nathan M <nathanmaynes@gmail.com> 03 August 2020, 03:18:59 UTC
038827d bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677) Automerge-Triggered-By: @brettcannon (cherry picked from commit ba18c0b13ba3c08077ea3db6658328523823a33f) Co-authored-by: Sebastien Williams-Wynn <s.williamswynn.mail@gmail.com> 29 July 2020, 18:44:50 UTC
b7722ed Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) (GH-21668) 29 July 2020, 01:39:43 UTC
7cfede6 closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569) This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF. I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue. (cherry picked from commit a74eea238f5baba15797e2e8b570d153bc8690a7) Co-authored-by: Benjamin Peterson <benjamin@python.org> 29 July 2020, 01:16:19 UTC
5e0ce46 Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) (cherry picked from commit 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3) Co-authored-by: Xiang Zhang <angwerzx@126.com> 28 July 2020, 16:59:18 UTC
59cfba3 bpo-41328: Replace mention of Hudson CI with Travis CI and AppVeyor (GH-21653) (cherry picked from commit 5e3826785dcc64f8e1a8a7bde11b88fbb40943be) Co-authored-by: Dmytro Litvinov <litvinov.dmytro.it@gmail.com> 28 July 2020, 14:57:11 UTC
3baff21 [3.8] bpo-41045: Document debug feature of f-strings ('=') (GH-21509) (#21647) Co-Authored-By: Rishi <rishi93dev@gmail.com> (cherry picked from commit 13efaec) Co-authored-by: amaajemyfren <32741226+amaajemyfren@users.noreply.github.com> 27 July 2020, 23:22:16 UTC
104aded bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) ... when an unknown option is passed. TypeError was being raised because a 2to3 fix was missing. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit f1d40f941a6483b1d4ea10f1051ace7b426fb8e7) Co-authored-by: Akuli <akuviljanen17@gmail.com> 27 July 2020, 02:14:49 UTC
33cebe0 bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608) (cherry picked from commit b1a87300a06324c9fc7d6553906ed914489465aa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 July 2020, 07:38:48 UTC
755cb49 bpo-39868: Add documentation for Assignment Expressions (walrus, PEP 572) (GH-18851) (cherry picked from commit f117cef25b5ffc4db9fbe373ddb65e14f59f0397) Co-authored-by: Shankar Jha <shankarj67@gmail.com> 25 July 2020, 23:41:20 UTC
b99f770 bpo-41314: fixed annotations __future__ version (GH-21616) PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this. (cherry picked from commit 0028c14073109595e7532ec00bb1e8bf39ecfb4d) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> 25 July 2020, 22:00:17 UTC
949cf93 bpo-38731: Fix NameError in command-line interface of py_compile (GH-21617) (cherry picked from commit 2024d7aca100c3faa9c6730aba3de5f0528750be) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 25 July 2020, 21:03:50 UTC
a667e1c [3.8] bpo-37309: NEWS for #41373 (GH-21612) Cherry-picked from af08db7. 25 July 2020, 04:33:01 UTC
1c562ce bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines (GH-21597) Fixes regression in 3.8.4 and 3.9.0b4. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 0dd463c8a4269137ebed7cc29605c555030df94f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 July 2020, 03:38:46 UTC
29df301 [3.8] bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594) Also one in news log. (cherry picked from commit 592527f3ee59616eca2bd1da771f7c14cee808d5) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 July 2020, 08:18:03 UTC
a18f22a bpo-41364: Reduce import overhead of uuid module (GH-21586) 22 July 2020, 11:26:37 UTC
f599f9e bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570) (cherry picked from commit 84761c3cc4bac31d471e371c53a338686d4b0241) Co-authored-by: Steve Dower <steve.dower@python.org> 21 July 2020, 00:09:51 UTC
22d6d88 Post 3.8.5 20 July 2020, 17:25:23 UTC
580fbb0 Python 3.8.5 Contains security fixes for CVE-2019-20907, CVE-2020-15801, and BPO-39603. 20 July 2020, 13:01:32 UTC
f526d10 Simple Documentation fix: Missing link to return type class. (GH-21291) Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object". (cherry picked from commit f9bf0157999cb4adbcfd7e9bf526bfa48601e128) Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com> 20 July 2020, 11:35:11 UTC
58f59a9 bpo-37703: improve asyncio.gather documentation regarding cancellation (GH-15312) These changes updates the doc to comprehensively mention the behaviour of gather.cancel() Automerge-Triggered-By: @asvetlov (cherry picked from commit d42528a3a2c7d79fd2e6c9f2a02f3ce12d44c8cc) Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com> 20 July 2020, 09:00:51 UTC
892fc8d bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979) (cherry picked from commit 7cf1cb36ecafabff363790d245f809d3894fbbaf) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 20 July 2020, 06:37:57 UTC
dac8a3a bpo-41205: Document Decimal power 0 to the 0 (GH-21386) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 10e466448f67850ed7bb2e2a4e7f017f2b050cad) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> 19 July 2020, 11:10:47 UTC
700cb66 bpo-32528: Document the change in inheritance of asyncio.CancelledError (GH-21474) GH-msg373510 [bpo-32528]()/GH-13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document. Automerge-Triggered-By: @1st1 (cherry picked from commit 2a5181829af394b82e8e8c917183c709ee72a2b7) Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com> 19 July 2020, 07:50:54 UTC
38d930f bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528) Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call. Automerge-Triggered-By: @gvanrossum (cherry picked from commit c53b310e5926266ce267c44a168165cacd786d6e) Co-authored-by: scoder <stefan_ml@behnel.de> 18 July 2020, 21:37:43 UTC
668d321 bpo-39603: Prevent header injection in http methods (GH-18485) reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e8fb068863c1138f07e3098478ef8be12e) Co-authored-by: AMIR <31338382+amiremohamadi@users.noreply.github.com> 18 July 2020, 20:39:12 UTC
7734738 bpo-41325: Add version note for args and kwargs property in call object (GH-21525) (cherry picked from commit 9b01c598ca2576a1056816e85dd84bf5f9c74688) Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com> 18 July 2020, 13:13:21 UTC
79ed1a5 bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521) (cherry picked from commit 164b04c47e61bd35d55e61bc74f9fd646eba81bb) Co-authored-by: Steve Dower <steve.dower@python.org> 17 July 2020, 16:54:11 UTC
ffeb920 [3.8] bpo-41300: IDLE - save files with non-ascii chars (GH-21512) Fix regression released in 3.9.0b4 and 3.8.4. (cherry picked from commit 38d3864efe914fda64553e2ec75c9ec15574483f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 16 July 2020, 22:47:52 UTC
d4a6303 Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500) This should also fix the syntax highlighting for these code blocks Automerge-Triggered-By: @csabella (cherry picked from commit 5e5c0f98667c9280c6d27b3db98a6cad2cc89077) Co-authored-by: Christopher Yeh <chrisyeh96@users.noreply.github.com> 16 July 2020, 11:29:45 UTC
3b6a8d2 bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) (cherry picked from commit 936a66094591dc0e67d4a60c170148bb700ec016) Co-authored-by: Steve Dower <steve.dower@python.org> 15 July 2020, 22:15:37 UTC
16eea45 [3.8] bpo-41302: Support system libmpdec 2.5 for Python 3.8 (GH-21488) Define UNUSED only when mpdecimal.h doesn't define it. This would support building with system libmpdec 2.5 while retaining compatibility with system libmpdec 2.4 or the vendored copy. Tested to build fine with either system libmpdec or the vendored one. 15 July 2020, 20:22:23 UTC
f8055fb bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call (GH-19686) (cherry picked from commit af4eda46d1538b1da700a86588bdb94b0a4d1ff2) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 15 July 2020, 19:25:49 UTC
05abf2a Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) (cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8) Co-authored-by: Benjamin Peterson <benjamin@python.org> 15 July 2020, 19:04:59 UTC
c554795 [3.8] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (GH-21483) Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907). (cherry picked from commit 5a8d121a1f3ef5ad7c105ee378cc79a3eac0c7d4) Co-authored-by: Rishi <rishi_devan@mail.com> Automerge-Triggered-By: @encukou 15 July 2020, 12:30:53 UTC
b4cd77d Fix repeated words in Classes tutorial (GH-21455) The phrase "At any time during execution," was repeated twice. Automerge-Triggered-By: @Mariatta (cherry picked from commit 4f28f75deefc6e8f65694f96f1a40b0a26fc385d) Co-authored-by: Paul McMillan <paul@mcmillan.ws> 14 July 2020, 01:49:44 UTC
73f2018 Post 3.8.4 13 July 2020, 20:50:02 UTC
0277b91 Merge tag 'v3.8.4' into 3.8 Python 3.8.4 13 July 2020, 20:49:45 UTC
f56c75e bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458) Automerge-Triggered-By: @tiran (cherry picked from commit 4f309abf55f0e6f8950ac13d6ec83c22b8d47bf8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 13 July 2020, 13:05:44 UTC
dfa645a Python 3.8.4 13 July 2020, 12:11:53 UTC
c77f71f bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372) (cherry picked from commit 344dce312a0cf86d5a5772d54843cc179acaf6e3) Co-authored-by: Nima Dini <nima.dini@gmail.com> 11 July 2020, 02:09:07 UTC
a1d2084 Fix typo in docs: 'created by th' -> 'created by the' (GH-21384) (cherry picked from commit 6fc732a2116e2c42b0431bb7e2a21719351af755) Co-authored-by: marload <rladhkstn8@gmail.com> 10 July 2020, 15:51:31 UTC
33672c0 bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240) The issue is triggered by the bytearray() + bytearray() operation. Detected by GCC 10 static analysis tool. (cherry picked from commit 61fc23ca106bc82955b0e59d1ab42285b94899e2) Co-authored-by: stratakis <cstratak@redhat.com> 10 July 2020, 10:15:59 UTC
3d1c06e bpo-37765: Add keywords to IDLE tab completions (GH-15138) Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> (cherry picked from commit bce2eb4646021910aa4074d86f44a09b32d0b2b2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 July 2020, 22:54:44 UTC
0b6169e bpo-41247: asyncio.set_running_loop() cache running loop holder (#21406) The running loop holder cache variable was always set to NULL when calling set_running_loop. Now set_running_loop saves the newly created running loop holder in the cache variable for faster access in get_running_loop. 09 July 2020, 17:38:46 UTC
1e66f7e bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413) Automerge-Triggered-By: @ericvsmith (cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75) Co-authored-by: marload <rladhkstn8@gmail.com> 09 July 2020, 12:21:11 UTC
54babbe bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback() (GH-21407) (cherry picked from commit ee96f32ca24779656d3c8736d26671fc3689f0a3) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 09 July 2020, 10:15:36 UTC
c1c5034 bpo-40597: Allow email.contextmanager set_content() to set a null string. (GH-20542) (cherry picked from commit 4fa61a7732923f92de0f7830c12da48c4cec937f) Co-authored-by: Mark Sapiro <mark@msapiro.net> 08 July 2020, 21:18:38 UTC
c8b599f closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() (GH-21385) (cherry picked from commit aebc0495572c5bb85d2bd97d27cf93ab038b5a6a) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 08 July 2020, 04:37:50 UTC
730bce3 bpo-39417: Fix broken link to guide to building venvs (GH-18432) (cherry picked from commit c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160) Co-authored-by: Ogi Moore <ognyan.moore@jacobs.ucsd.edu> 07 July 2020, 23:47:09 UTC
b71ff9a bpo-41218: Improve the test cases for test_compile_top_level_await_no_coro (GH-21363) (cherry picked from commit c2c1f1f906cdeb40576880d4b6a4f8fcbc016eb8) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 06 July 2020, 23:30:46 UTC
41db8ff bpo-41218: Only mark async code with CO_COROUTINE. (GH-21357) 3.8.3 had a regression where compiling with ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are coroutine even if there were not. (cherry picked from commit bd46174a5a09a54e5ae1077909f923f56a7cf710) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> 06 July 2020, 21:44:16 UTC
aa7f775 bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) (GH-21352) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523 (cherry picked from commit dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5) Co-authored-by: Steve Dower <steve.dower@python.org> 06 July 2020, 17:12:16 UTC
6790f9b bpo-28681: Clarify multiple function names in the tutorial (GH-21340) (GH-21344) * improve control flow docs * Add also Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit d12af71047f0eae86440654d3ea74c032c7c3558) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 06 July 2020, 02:07:59 UTC
7ceb3e3 bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21342) * Clarify number of scopes * Indicate 3 or 4 Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 9ed3cd8ba052b395ab50692bb65988b065d68e27) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 06 July 2020, 01:53:40 UTC
8912c18 bpo-39960: Allow heap types in the "Carlo Verre" hack check that override "tp_setattro()" (GH-21092) (GH-21339) Backport to Py3.8. 05 July 2020, 20:12:04 UTC
01c0925 bpo-41211: Doc: Fix PyLong_FromUnicode (GH-21331) PyUnicode_EncodeDecimal is not used actually. (cherry picked from commit 16f451744b7f4653ca9db4b4bedbb6fc5c0de154) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 05 July 2020, 05:35:58 UTC
4874e59 bpo-41211: Doc: Fix PyLong_FromUnicodeObject (GH-21325) It doesn't use PyUnicode_EncodeDecimal. It uses a private API instead. (cherry picked from commit 9c8441712230660fedac818ed50e7cdd89e4c51d) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 05 July 2020, 04:09:18 UTC
6857ebe bpo-33864: Clarify the docs for typing.ByteString (GH-21311) (cherry picked from commit b40e434386cd94a367d4a256e3364771140160e7) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 04 July 2020, 04:06:07 UTC
b9e288c bpo-41162: Clear audit hooks later during finalization (GH-21222) Co-authored-by: Konge <zkonge@outlook.com> 03 July 2020, 23:04:22 UTC
c1d9165 bpo-41180: Audit code.__new__ when unmarshalling (GH-21271) (cherry picked from commit d160e0f8e283d0a8737644588b38e8c6a07c134f) Co-authored-by: tkmikan <36260601+tkmikan@users.noreply.github.com> 03 July 2020, 21:13:29 UTC
53d2b71 bpo-41193: Ignore OSError in readline write_history() (GH-21279) The write_history() atexit function of the readline completer now ignores any OSError to ignore error if the filesystem is read-only, instead of only ignoring FileNotFoundError and PermissionError. (cherry picked from commit 0ab917e07ed64c6bfde6f6e791f9b28acc97b510) Co-authored-by: Victor Stinner <vstinner@python.org> 02 July 2020, 11:02:08 UTC
e738962 [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21277) (cherry picked from commit 935586845815f5b4c7814794413f6a812d4bd45f) 02 July 2020, 07:05:35 UTC
cbdacb9 3.8.3 -> 3.8.4 in macOS installer ReadMe (GH-21274) 02 July 2020, 05:58:31 UTC
c3fa753 bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215) (cherry picked from commit 694d31e714074176f0c324f95948b75dc768c091) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 01 July 2020, 18:22:45 UTC
back to top