summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.8.4v3.8.4Łukasz Langa2020-07-1317-32/+136
|
* bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372)Miss Islington (bot)2020-07-111-1/+1
| | | | | (cherry picked from commit 344dce312a0cf86d5a5772d54843cc179acaf6e3) Co-authored-by: Nima Dini <nima.dini@gmail.com>
* Fix typo in docs: 'created by th' -> 'created by the' (GH-21384)Miss Islington (bot)2020-07-101-1/+1
| | | | | (cherry picked from commit 6fc732a2116e2c42b0431bb7e2a21719351af755) Co-authored-by: marload <rladhkstn8@gmail.com>
* bpo-41175: Guard against a NULL pointer dereference within bytearrayobject ↵Miss Islington (bot)2020-07-102-1/+5
| | | | | | | | | | (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>
* bpo-37765: Add keywords to IDLE tab completions (GH-15138)Miss Islington (bot)2020-07-096-83/+110
| | | | | | | | | | 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>
* bpo-41247: asyncio.set_running_loop() cache running loop holder (#21406)Tony Solomonik2020-07-092-3/+8
| | | | | | | 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.
* bpo-41199: Docstring convention not followed for dataclasses documentation ↵Miss Islington (bot)2020-07-091-1/+1
| | | | | | | | page (GH-21413) Automerge-Triggered-By: @ericvsmith (cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75) Co-authored-by: marload <rladhkstn8@gmail.com>
* bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback() ↵Miss Islington (bot)2020-07-092-1/+3
| | | | | | | (GH-21407) (cherry picked from commit ee96f32ca24779656d3c8736d26671fc3689f0a3) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-40597: Allow email.contextmanager set_content() to set a null string. ↵Miss Islington (bot)2020-07-083-1/+15
| | | | | | | (GH-20542) (cherry picked from commit 4fa61a7732923f92de0f7830c12da48c4cec937f) Co-authored-by: Mark Sapiro <mark@msapiro.net>
* closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() ↵Miss Islington (bot)2020-07-082-2/+5
| | | | | | | (GH-21385) (cherry picked from commit aebc0495572c5bb85d2bd97d27cf93ab038b5a6a) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-39417: Fix broken link to guide to building venvs (GH-18432)Miss Islington (bot)2020-07-071-1/+1
| | | | | (cherry picked from commit c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160) Co-authored-by: Ogi Moore <ognyan.moore@jacobs.ucsd.edu>
* bpo-41218: Improve the test cases for test_compile_top_level_await_no_coro ↵Miss Islington (bot)2020-07-061-3/+5
| | | | | | | (GH-21363) (cherry picked from commit c2c1f1f906cdeb40576880d4b6a4f8fcbc016eb8) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-41218: Only mark async code with CO_COROUTINE. (GH-21357)Miss Islington (bot)2020-07-063-4/+29
| | | | | | | | 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>
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python ↵Miss Islington (bot)2020-07-068-134/+147
| | | | | | | | | 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>
* bpo-28681: Clarify multiple function names in the tutorial (GH-21340) (GH-21344)Miss Islington (bot)2020-07-061-5/+4
| | | | | | | | | | | | | | * 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>
* bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21342)Miss Islington (bot)2020-07-061-2/+2
| | | | | | | | | | | | | | * 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>
* bpo-39960: Allow heap types in the "Carlo Verre" hack check that override ↵scoder2020-07-054-11/+119
| | | | | "tp_setattro()" (GH-21092) (GH-21339) Backport to Py3.8.
* bpo-41211: Doc: Fix PyLong_FromUnicode (GH-21331)Miss Islington (bot)2020-07-051-3/+1
| | | | | | PyUnicode_EncodeDecimal is not used actually. (cherry picked from commit 16f451744b7f4653ca9db4b4bedbb6fc5c0de154) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-41211: Doc: Fix PyLong_FromUnicodeObject (GH-21325)Miss Islington (bot)2020-07-051-3/+1
| | | | | | 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>
* bpo-33864: Clarify the docs for typing.ByteString (GH-21311)Miss Islington (bot)2020-07-041-1/+1
| | | | | (cherry picked from commit b40e434386cd94a367d4a256e3364771140160e7) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-41162: Clear audit hooks later during finalization (GH-21222)Steve Dower2020-07-035-49/+16
| | | Co-authored-by: Konge <zkonge@outlook.com>
* bpo-41180: Audit code.__new__ when unmarshalling (GH-21271)Miss Islington (bot)2020-07-031-0/+6
| | | | | (cherry picked from commit d160e0f8e283d0a8737644588b38e8c6a07c134f) Co-authored-by: tkmikan <36260601+tkmikan@users.noreply.github.com>
* bpo-41193: Ignore OSError in readline write_history() (GH-21279)Miss Islington (bot)2020-07-022-3/+7
| | | | | | | | 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>
* [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). ↵Serhiy Storchaka2020-07-0222-27/+31
| | | | | (GH-21277) (cherry picked from commit 935586845815f5b4c7814794413f6a812d4bd45f)
* 3.8.3 -> 3.8.4 in macOS installer ReadMe (GH-21274)Ned Deily2020-07-021-5/+3
|
* bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215)Miss Islington (bot)2020-07-011-152/+41
| | | | | (cherry picked from commit 694d31e714074176f0c324f95948b75dc768c091) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Doc: Minor fix to init config C API documentation (GH-21198)Miss Islington (bot)2020-07-011-2/+2
| | | | | | Co-authored-by: Tomer Vromen <tomer.vromen@intel.com> (cherry picked from commit 741008a57bdc95090b8be6ded5a9fd3f17f7bf21) Co-authored-by: tomerv <tomerv@gmail.com>
* Post 3.8.4rc1Łukasz Langa2020-06-301-1/+1
|
* Merge tag 'v3.8.4rc1' into 3.8Łukasz Langa2020-06-3067-129/+648
|\ | | | | | | Python 3.8.4rc1
| * Python 3.8.4rc1v3.8.4rc1Łukasz Langa2020-06-2967-129/+648
| |
* | Update FAQ release schedule and estimated users (GH-21180)Miss Islington (bot)2020-06-301-4/+4
| | | | | | | | | | | | | | | | Update FAQ to include: * The new yearly release schedule from PEP 602 * Estimated users from "tens of thousands" to "millions" (cherry picked from commit 3fa4799c3f9d9de7cac30e5db3627e9e125b9ce5) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* | bpo-41123: Remove PyUnicode_AsUnicodeCopy in 3.10 (GH-21227)Miss Islington (bot)2020-06-301-0/+2
| | | | | | | | | | (cherry picked from commit 2ea6a9928e4fa135888cc8f4733c28d93e642301) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* | bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Miss Islington (bot)2020-06-305-52/+10
|/ | | | | (cherry picked from commit 2515a28230b1a011205f30263da6b01c6bd167a3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface ↵Miss Islington (bot)2020-06-293-2/+15
| | | | | | | | | | | (GH-21033) The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to generate hash values for the objects instead of XOR operation (cherry picked from commit b30ee26e366bf509b7538d79bfec6c6d38d53f28) Co-authored-by: Ravi Teja P <rvteja92@gmail.com>
* bpo-41048: mimetypes should read the rule file using UTF-8, not the locale ↵Miss Islington (bot)2020-06-294-1/+16
| | | | | | | encoding (GH-20998) (cherry picked from commit 7f569c9bc0079906012b3034d30fe8abc742e7fc) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* Update ssl.rstMiss Islington (bot)2020-06-291-0/+3
|
* bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205)Miss Islington (bot)2020-06-291-1/+1
| | | | | (cherry picked from commit 02134dae448c7885c9c07adfc6970f878db33372) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* [3.8] bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) (GH-21200)Serhiy Storchaka2020-06-283-16/+28
| | | | | Fix also a resource warning when store counts and module info. (cherry picked from commit 04cdeb7a5617c48102f45b965e683b12cdf934f8)
* bpo-41144: Fix IDLE open module error (GH-21182)Miss Islington (bot)2020-06-284-7/+20
| | | | | | | | Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* [3.8] bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags ↵Guido van Rossum2020-06-285-3/+29
| | | | (#21023)
* [3.8] bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) ↵Lysandros Nikolaou2020-06-271-7/+7
| | | | | (GH-21184) Automerge-Triggered-By: @pablogsal
* bpo-41100: clarify NEWS item about macOS 11 support (GH-21174)Miss Islington (bot)2020-06-271-1/+7
| | | | | (cherry picked from commit 2f168c6356f92c38ae7751d2faf2b266a9356229) Co-authored-by: Ned Deily <nad@python.org>
* BPO-41100: Support macOS 11 when building (GH-21113)Miss Islington (bot)2020-06-253-2/+3
| | | | | (cherry picked from commit 8ea6353f60625c96ce96588c70ff24a77f8c71f9) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* [3.8] bpo-41009: fix requires_OS_version() class decorator (GH-20942) (GH-20948)Christian Heimes2020-06-252-19/+21
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran. (cherry picked from commit bb6ec14479f18c32e71e43f2785f177aa17aabbd) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-41113: Fix test_warnings on non-Western locales. (GH-21143)Miss Islington (bot)2020-06-251-3/+3
| | | | | (cherry picked from commit 0f8ec1fff01173803645ad6a8aea24997bf66fc1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) ↵Ned Deily2020-06-252-1/+2
| | | | (GH-21147)
* bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)Miss Islington (bot)2020-06-251-1/+1
| | | | | (cherry picked from commit 94eee69e9b3a7e7d33142a47ffea560beb8f1596) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-39580: add check for CLI installation on macOS (GH-20271)Miss Islington (bot)2020-06-252-1/+5
| | | | | | Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs. (cherry picked from commit 5f190d2cc60cd82a604cbffb58b6ca8f40350a7a) Co-authored-by: Rick Heil <rickheil@partnersandsimons.com>
* Forward port macOS installer updates from 3.7 (GH-21132) (GH-21137)Ned Deily2020-06-255-263/+188
| | | | | | - fix installer builds when using latest versions of Python 3 - fix installer builds on newer macOS releases with SIP - Python Launcher app factory defaults now use python3 - 3.x installer now updates the Current symlink in framework
* bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126)Miss Islington (bot)2020-06-253-8/+21
| | | | | | | | * Fix support of non-ASCII names in functions OpenDatabase() and init_database(). * Fix support of non-ASCII SQL in method Database.OpenView(). (cherry picked from commit 55939b1708d6fc0d36d2be11ccdc6bf207e1bd41) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>