summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.8.3v3.8.3Łukasz Langa2020-05-1315-22/+113
|
* bpo-40561: Add docstrings for webbrowser open functions (GH-19999)Miss Islington (bot)2020-05-112-0/+17
| | | | | | | Co-authored-by: Brad Solomon <brsolomon@deloitte.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ef7973a981ff8f4687ef3fdb85a69fa15aa11fe5) Co-authored-by: Brad Solomon <brad.solomon.1124@gmail.com>
* Make the first dataclass example more useful (GH-19994) (GH-19997)Miss Islington (bot)2020-05-081-0/+2
| | | | | | | (cherry picked from commit 2effef7453986bf43a6d921cd471a8bc0722c36a) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.8] bpo-40559: Add Py_DECREF to _asynciomodule.c:task_step_impl() (GH-19990)Miss Islington (bot)2020-05-082-0/+5
| | | | | | | | This fixes a possible memory leak in the C implementation of asyncio.Task. (cherry picked from commit d2c349b190bcba21a4a38e6520a48ad97a9f1529) Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
* bpo-40527: Fix command line argument parsing (GH-19955)Miss Islington (bot)2020-05-063-7/+29
| | | | | (cherry picked from commit 2668a9a5aa506a048aef7b4881c8dcf6b81c6870) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.8] bpo-40417: Fix deprecation warning in PyImport_ReloadModule (GH-19750) ↵Robert Rouhani2020-05-062-7/+8
| | | | | | | | (GH-19934) Automerge-Triggered-By: @brettcannon. (cherry picked from commit f40bd466bf14029e2687e36e965875adf9d4be1a) Co-authored-by: Robert Rouhani <robert.rouhani@gmail.com>
* bpo-40355: Improve error messages in ast.literal_eval with malformed Dict ↵Miss Islington (bot)2020-05-053-4/+15
| | | | | | | | nodes (GH-19868) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit c21c51235aa8061da6b0593d6f857f42fd92fd8b) Co-authored-by: Curtis Bucher <cpbucher5@gmail.com>
* bpo-40458: Increase reserved stack space to prevent overflow crash on ↵Miss Islington (bot)2020-05-053-0/+3
| | | | | | | Windows (GH-19845) (cherry picked from commit ac4bf424119d1300f57929120968e216a85d3a25) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-40459: Fix NameError in platform.py (GH-19855)Miss Islington (bot)2020-05-052-3/+4
| | | | | (cherry picked from commit 1e7e4519a8ddc2239101a0146d788c9161143a77) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
* bpo-40135: Fix multiprocessing test_shared_memory_across_processes() (GH-19892)Miss Islington (bot)2020-05-041-1/+3
| | | | | | | Don't define shared memory block's name in test_shared_memory_across_processes(): use SharedMemory(create=True) instead. (cherry picked from commit caa3ef284a2e5e5b9bdd6a9e619804122c842d80) Co-authored-by: Hai Shi <shihai1992@gmail.com>
* Remove outdated and confusing advice about setting maxsize (GH-19889) (GH-19890)Miss Islington (bot)2020-05-041-2/+1
|
* Fix missing space in docs(GH-19866) (GH-19872)Miss Islington (bot)2020-05-031-1/+1
|
* bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers ↵Miss Islington (bot)2020-05-022-2/+4
| | | | | | | of 10 (GH-19752) (cherry picked from commit 766352320fd736e2c8ed545b4cc57563f61a0b9d) Co-authored-by: Sander <svr003@gmail.com>
* [3.8] bpo-40398: Fix typing.get_args() for special generic aliases. ↵Serhiy Storchaka2020-05-023-2/+11
| | | | | | (GH-19720) (GH-19857) (cherry picked from commit 6292be7adf247589bbf03524f8883cb4cb61f3e9)
* bpo-40412: Nullify inittab_copy during finalization (GH-19746)Miss Islington (bot)2020-05-012-0/+2
| | | | | | | | | | | | Otherwise we leave a dangling pointer to free'd memory. If we then initialize a new interpreter in the same process and call PyImport_ExtendInittab, we will (likely) crash when calling PyMem_RawRealloc(inittab_copy, ...) since the pointer address is bogus. Automerge-Triggered-By: @brettcannon (cherry picked from commit 64224a4727321a8dd33e6f769edda401193ebef0) Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
* [3.8] bpo-39435: Fix docs for pickle.loads (GH-18160) (GH-19843)Antoine Pitrou2020-05-013-2/+4
| | | | | | | (cherry picked from commit 289842a) Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> Automerge-Triggered-By: @pitrou
* bpo-39691: Clarify io.open_code behavior (GH-19824)Miss Islington (bot)2020-05-011-4/+5
| | | | | (cherry picked from commit 831d58d7865cb98fa09227dc614f4f3ce6af968b) Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
* bpo-39562: Correctly updated the version section in the what's new document ↵Pablo Galindo2020-05-011-0/+3
| | | | (GH-19838)
* [3.8] bpo-39562: Prevent collision of future and compiler flags (GH-19230) ↵Pablo Galindo2020-05-017-22/+53
| | | | | | | | | | | (GH-19835) The constant values of future flags in the __future__ module is updated in order to prevent collision with compiler flags. Previously PyCF_ALLOW_TOP_LEVEL_AWAIT was clashing with CO_FUTURE_DIVISION.. (cherry picked from commit 4454057269b995341b04d13f0bf97f96080f27d0) Co-authored-by: Batuhan Taşkaya <batuhanosmantaskaya@gmail.com>
* bpo-40443: Remove unused imports in idlelib (GH-19801)Miss Islington (bot)2020-04-306-6/+3
| | | | | (cherry picked from commit 6900f16d2207ca4fc252fa9d778ca0b13a3c95e0) Co-authored-by: Victor Stinner <vstinner@python.org>
* Post 3.8.3rc1Łukasz Langa2020-04-291-1/+1
|
* Python 3.8.3rc1v3.8.3rc1Łukasz Langa2020-04-2991-230/+952
|
* bpo-40436: Fix code parsing gdb version (GH-19792)Miss Islington (bot)2020-04-293-2/+12
| | | | | | test_gdb and test.pythoninfo now check gdb command exit code. (cherry picked from commit ec9bea4a3766bd815148a27f61eb24e7dd459ac7) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) (#19784)Kyle Stanley2020-04-291-1/+1
| | | | | | | | | [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) * Addresses a syntax typo that mistakenly used a undefined string prefix due to a missing space. (cherry picked from commit 49f70db83e2c62ad06805927f53f6c3e8f4b798e) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* bpo-40348: Fix typos in the programming FAQ (GH-19729)Miss Islington (bot)2020-04-271-2/+2
| | | | | (cherry picked from commit caf1aadf3d020f742ba3d7fcf678ca700224914b) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.8] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros ↵Zachary Ware2020-04-273-1/+35
| | | | | | | | | | | | (GH-16607) (GH-19727) Adds a short description of `PyDoc_STRVAR` and `PyDoc_STR` to "Useful macros" section of C-API docs. Currently, there is [one lone mention](https://docs.python.org/3/c-api/module.html?highlight=pydoc_strvarGH-c.PyModuleDef) in the C-API reference, despite the fact that `PyDoc_STRVAR` is ubiquitous to `Modules/`. Additionally, this properly uses `c:macro` within `Doc/c-api/module.rst` to link. (cherry picked from commit b54e46c) Authored-by: Brad Solomon <brad.solomon.1124@gmail.com>
* bpo-40387: Improve queue join() example. (GH-19724) (GH-19726)Miss Islington (bot)2020-04-271-16/+12
|
* bpo-40279: Add some error-handling to the module initialisation docs example ↵Miss Islington (bot)2020-04-251-3/+11
| | | | | | | (GH-19705) (GH-19710) (cherry picked from commit d4f3923d5901ef1ccdbe6ad6c5a753af90832a0f) Co-authored-by: Cajetan Rodrigues <caje731@gmail.com>
* Expand the implementation comments (GH-19699) (GH-19701)Miss Islington (bot)2020-04-241-0/+7
|
* bpo-40048: Fix _PyCode_InitOpcache() error path (GH-19691) (GH-19698)Victor Stinner2020-04-241-1/+1
| | | | | | | | If _PyCode_InitOpcache() fails in _PyEval_EvalFrameDefault(), use "goto exit_eval_frame;" rather than "return NULL;" to exit the function in a consistent state. For example, tstate->frame is now reset properly. (cherry picked from commit 25104949a5a60ff86c10691e184ce2ecb500159b)
* bpo-39983: Add test.support.print_warning() (GH-19683) (GH-19687)Victor Stinner2020-04-235-31/+51
| | | | | | | | | Log "Warning -- ..." test warnings into sys.__stderr__ rather than sys.stderr, to ensure to display them even if sys.stderr is captured. test.libregrtest.utils.print_warning() now calls test.support.print_warning(). (cherry picked from commit d663d34685e18588748569468c672763f4c73b3e)
* gdbinit: Use proper define syntax (GH-19557)Miss Islington (bot)2020-04-231-1/+1
| | | | | | | | | | Using `def` rather than `define` results in: Ambiguous command "def pu": define, define-prefix. Automerge-Triggered-By: @csabella (cherry picked from commit 1221135289306333d11db25ab20cbbd21ceec630) Co-authored-by: Florian Bruhin <me@the-compiler.org>
* Minor modernization and readability improvement to the tokenizer example ↵Miss Islington (bot)2020-04-221-2/+6
| | | | | (GH-19558) (GH-19661) (cherry picked from commit bf1a81258c0ecc8b52b9dcc53321c066b3ed4a67)
* bpo-40260: Remove unnecessary newline in compile() call (GH-19641)Miss Islington (bot)2020-04-221-1/+1
| | | | | | Because some people subclass this class and call undocumented methods, and we don't want to break them. (cherry picked from commit 39652cd8bdf7c82b7c6055089a4ed90ee546a448) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480)Miss Islington (bot)2020-04-225-16/+79
| | | | | | | | | | It is possible to use either '-isysroot /some/path' (with a space) or '-isysroot/some/path' (no space in between). Support both forms in places where special handling of -isysroot is done, rather than just the first form. Co-authored-by: Ned Deily <nad@python.org> (cherry picked from commit b310700976524b4b99ee319c947ca40468716fc9) Co-authored-by: Joshua Root <jmr@macports.org>
* bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654)Victor Stinner2020-04-223-6/+35
| | | | | Fix the Windows implementation of os.waitpid() for exit code larger than "INT_MAX >> 8". The exit status is now interpreted as an unsigned number.
* bpo-38439: Add 256px IDLE icon (GH-17473)Miss Islington (bot)2020-04-226-2/+19
| | | | | | Icon author: Andrew Clover, bpo-1490384 (cherry picked from commit 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g. (GH-19642)Miss Islington (bot)2020-04-222-3/+4
| | | | | (cherry picked from commit 783a673f23c5e9ffafe12fe172e119dc0fa2abda) Co-authored-by: Ned Deily <nad@python.org>
* Small improvements to the recipes and examples. (GH-19635) (GH-19638)Miss Islington (bot)2020-04-211-30/+26
| | | | | | | * Add underscores to long numbers to improve readability * Use bigger dataset in the bootstrapping example * Convert single-server queue example to more useful multi-server queue (cherry picked from commit d3a8d616faf3364b22fde18dce8c168de9368146)
* bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616)Miss Islington (bot)2020-04-203-1/+13
| | | | | | https://bugs.python.org/issue39942 (cherry picked from commit a25a04fea5446b1712cde0cff556574be139285a) Co-authored-by: HongWeipeng <hongweichen8888@sina.com>
* [3.8] bpo-40330: Fix utf-8 size check in ShareableList (GH-19606) (GH-19625)Antoine Pitrou2020-04-203-6/+22
| | | | | | | | The item size must be checked after encoding to bytes, not before. Automerge-Triggered-By: @pitrou. (cherry picked from commit eba9f6155df59c9beed97fb5764c9f01dd941af0) Co-authored-by: Antoine Pitrou <antoine@python.org>
* bpo-40260: Revert breaking changes made in modulefinder (GH-19595)Miss Islington (bot)2020-04-202-12/+24
| | | | | (cherry picked from commit 9b0b5d2baebd0b6a545317200c313a6a7408731e) Co-authored-by: Barry <barry@barrys-emacs.org>
* Fix typo in Lib/tracepack.py (GH-19605)Miss Islington (bot)2020-04-201-1/+1
| | | | | | Typo fix: "emites" -> "emit". (cherry picked from commit df8913f7c48d267efd662e8ffd9496595115eee8) Co-authored-by: Galden <wudenggang0@163.com>
* bpo-39285: Clarify example for PurePath.match (GH-19458)Miss Islington (bot)2020-04-191-1/+3
| | | | | | | | | | | | | | Fixes Issue39285 The example incorrectly returned True for match. Furthermore the example is ambiguous in its usage of PureWindowsPath. Windows is case-insensitve, however the underlying match functionality utilizes fnmatch.fnmatchcase. Automerge-Triggered-By: @pitrou (cherry picked from commit c12375aa0b838d34067efa3f1b9a1fbc632d0413) Co-authored-by: Tim Lo <timlo@users.noreply.github.com>
* bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269)Miss Islington (bot)2020-04-182-3/+5
| | | | | | Automerge-Triggered-By: @pitrou (cherry picked from commit 482259d0dcf27714a84cf56b93977320bea7e093) Co-authored-by: Furkan Önder <furkantahaonder@gmail.com>
* [3.8] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) ↵Serhiy Storchaka2020-04-184-24/+125
| | | | | | | (GH-19583) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> (cherry picked from commit 12446e6a605f066d837d3a595d0a73e4f3b43b65)
* Fix two typos in multiprocessing (GH-19571) (GH-19578)Miss Islington (bot)2020-04-181-2/+2
| | | | | | | (cherry picked from commit c606624af8d4cb3b4a052fb263bb983b3f87585b) Co-authored-by: Galden <wudenggang0@163.com> Co-authored-by: Galden <wudenggang0@163.com>
* bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540)Miss Islington (bot)2020-04-173-3/+6
| | | | | | It has not returned the file position after the seek. (cherry picked from commit 485e715cb1ff92bc9882cd51ec32589f9cb30503) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-40294: Fix _asyncio when module is loaded/unloaded multiple times (GH-19542)Miss Islington (bot)2020-04-171-0/+2
| | | | | (cherry picked from commit a75e730075cd25be1143e6183006f3b1d61bb80f) Co-authored-by: Jeffrey Quesnelle <jquesnelle@gmail.com>
* Fix parameter names in assertIn() docs (GH-18829)Miss Islington (bot)2020-04-171-3/+3
| | | | | | The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second". (cherry picked from commit a388bbd3f129364c39843f63e92f08bc53c71905) Co-authored-by: Christoph Zwerschke <cito@online.de>