aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42819, readline: Disable bracketed paste (GH-24108) (GH-24545)3.9Miss Islington (bot)2021-02-163-0/+32
| | | | | | | (cherry picked from commit 755f3c1521b422bc2177013d289f5439975fdc4f) Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com> Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
* [3.9] Minor improvements to the convolve() recipe (GH-24520)Pablo Galindo2021-02-152-2/+3
|
* [3.9] bpo-42967: only use '&' as a query string separator (GH-24297) (#24528)Senthil Kumaran2021-02-1511-46/+176
| | | | | | | | | | | | | (cherry picked from commit fcbe0cb04d35189401c0c880ebfb4311e952d776) * [3.9] bpo-42967: only use '&' as a query string separator (GH-24297) bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Adam Goldschmidt <adamgold7@gmail.com>
* bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)Miss Islington (bot)2021-02-131-2/+3
| | | | | | | Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 762fe7deed34a1d5294bf82071d318c8427b4893)
* bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c comments ↵Miss Islington (bot)2021-02-124-4/+4
| | | | | | | | (GH-24507) Automerge-Triggered-By: GH:tiran (cherry picked from commit 5ec7d535581bc99918e032891167a96abd224ed6) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-43174: Windows: Use /utf-8 compiler option. (GH-24498)Miss Islington (bot)2021-02-122-0/+2
| | | | | (cherry picked from commit fedd86df2448370cdf62a229fd6f31dc92daf379) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-41824: Add versionadded for typing.ForwardRef docs (#24224) (#24493)Ken Jin2021-02-091-0/+2
|
* bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)Miss Islington (bot)2021-02-071-1/+2
| | | | | | | | These 3 statements cannot be used at module scope -- nor in exec with one namespace. (cherry picked from commit 0ec57e25c918b859b9f8d464e34e0ac859c2f8b3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Simple typo fix (GH-24448)Miss Islington (bot)2021-02-051-1/+1
| | | | | (cherry picked from commit 5f18c223391eef8c7d01241b51a7b2429609dd84) Co-authored-by: Andrew Tennikoff <atenni@users.noreply.github.com>
* bpo-43132: Fix incorrect handling of PyObject_RichCompareBool() in _zoneinfo ↵Miss Islington (bot)2021-02-051-6/+17
| | | | | | | | | | | (GH-24450) (GH-24457) PyObject_RichCompareBool() returns -1 on error, but this case is not handled by the find_in_strong_cache() function. Any exception raised by PyObject_RichCompareBool() should be propagated. (cherry picked from commit effaec0bb54f381db8ccfa62514bc26b00946b40) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-35295: Remove outdated comment. (GH-24453)Miss Islington (bot)2021-02-041-7/+0
| | | | | (cherry picked from commit d938816acf71a74f1bd13fdf0534b3d9ea962e44) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-43102: Set namedtuple __new__'s internal builtins to a dict. (GH-24439) ↵Miss Islington (bot)2021-02-043-1/+8
| | | | (GH-24452)
* build(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-24411)Miss Islington (bot)2021-02-041-1/+1
| | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit aa4caf9887944ab280a87712460e2dd49b55fe5e) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* bpo-42773: fix tests not being run on pushes (GH-24004)Miss Islington (bot)2021-02-031-1/+1
| | | | | | | | | | | There was a typo, we were checking if the "GITHUB_BASE_REF" string literal was empty instead of the $GITHUB_BASE_REF value. When $GITHUB_BASE_REF is empty, the action that triggered the run was not a pull request, so we always run the full test suite. Signed-off-by: Filipe Laíns <lains@riseup.net> (cherry picked from commit 4ac923f2756f835f512339ee181348cc535ab07f) Co-authored-by: Filipe Laíns <lains@riseup.net>
* Fix typo (GH-23019)Miss Islington (bot)2021-02-031-1/+1
| | | | | | Fixed possible typo in comment (cherry picked from commit bfe544d2f2c2e7a7c03a764bed3276a1e27a0f5c) Co-authored-by: Harry <harry.lees@gmail.com>
* bpo-43108: Fix a reference leak in the curses module (GH-24420)Miss Islington (bot)2021-02-032-1/+4
| | | | | (cherry picked from commit bb739ec922c6992a2be38f9fd3c544c2cc322dde) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-43082: Remove redundant 'the' in Descriptor howto (GH-24394) (GH-24427)Miss Islington (bot)2021-02-021-1/+1
|
* Add link to Microsoft docs for limitations in Windows Store package (GH-24422)Miss Islington (bot)2021-02-021-0/+5
| | | | | (cherry picked from commit 1ba08a121a25fcf7c947d8d37e72e46dae59168c) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-41748: Handles unquoted attributes with commas (GH-24072)Miss Islington (bot)2021-02-013-37/+59
| | | | | | | | | | | | | | | | | | | | | * bpo-41748: Adds tests for unquoted attributes with comma * bpo-41748: Handles unquoted attributes with comma * bpo-41748: Addresses review comments * bpo-41748: Addresses review comments * Adds more test cases * Simplifies the regex for handling spaces * bpo-41748: Moves attributes tests under the right class * bpo-41748: Addresses review about duplicate attributes * bpo-41748: Adds NEWS.d entry for this patch (cherry picked from commit 9eb11a139fac5514d8456626806a68b3e3b7eafb) Co-authored-by: Karl Dubost <karl+github@la-grange.net>
* bpo-43016: Fix test_curses on platform without cursesw (GH-24405) (GH-24407)Miss Islington (bot)2021-02-011-5/+23
| | | | | | (cherry picked from commit a1e9a1e120a11c563e166c15721169184c802f8b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42688: Fix ffi alloc/free when using external libffi on macos (GH-23868) ↵Miss Islington (bot)2021-02-011-2/+10
| | | | | | | | | (GH-23888) Automerge-Triggered-By: GH:ronaldoussoren (cherry picked from commit b3c77ecbbe0ad3e3cc6dbd885792203e9e6ec858) Co-authored-by: erykoff <erykoff@stanford.edu>
* bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a ↵Miss Islington (bot)2021-01-316-6/+21
| | | | | | | | string (GH-24341) (GH-24410) * bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (cherry picked from commit 49926cf2bcc8b44d9b8f148d81979ada191dd9d5) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* [3.9] bpo-41604: Don't decrement the reference count of the previous ↵Serhiy Storchaka2021-01-312-1/+5
| | | | | | | | user_ptr when set_panel_usertpr fails (GH-21933). (GH-24403) (cherry picked from commit 3243e8a4b4b4cf321f9b28335d565742a34b1976) Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
* [3.9] bpo-43016: Rewrite tests for curses (GH-24312). (GH-24399)Serhiy Storchaka2021-01-311-214/+783
| | | | (cherry picked from commit d64fd4bb5bb4fd2e3277f39d3ad99b5a8d193e1b)
* bpo-43083: Fix error handling in _sqlite3 (GH-24395)Miss Islington (bot)2021-01-312-7/+19
| | | | | (cherry picked from commit 9073180db521dc83e6216ff0da1479d00167f643) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-43030: Fixed a compiler warning in Py_UNICODE_ISSPACE with signed ↵Miss Islington (bot)2021-01-312-1/+3
| | | | | | | wchar_t (GH-24350) (cherry picked from commit 42b1806af90b86ec393ca7da14e99ce95ec6c53b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-43059: Remove reference to legacy external sqlite3 repository (GH-24364)Miss Islington (bot)2021-01-311-4/+0
| | | | | (cherry picked from commit e60344364245a23a7a1b25d5ebce6833652a656c) Co-authored-by: L <3177243+LukeLR@users.noreply.github.com>
* [doc] Document VIRTUAL_ENV environment variable (GH-21970)Miss Islington (bot)2021-01-301-0/+4
| | | | | (cherry picked from commit 3584d4b64a5373440f78237eac734831cfd83f79) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Fixing typos in turtle.rst (GH-24376)Miss Islington (bot)2021-01-291-6/+6
| | | | | | Automerge-Triggered-By: GH:JulienPalard (cherry picked from commit 6baaae589d596ed3bb668448f2a22c5f62fc5fdf) Co-authored-by: Jules Lasne <jules.lasne@gmail.com>
* Fixed typo in turtle.rst (GH-24371)Miss Islington (bot)2021-01-291-1/+1
| | | | | | | | Found it while translating it to french 🤷 Automerge-Triggered-By: GH:JulienPalard (cherry picked from commit 6372a4ceba126aa0a9f00eee0f8023308f13e77b) Co-authored-by: Jules Lasne <jules.lasne@gmail.com>
* bpo-43008: Add 'Patch by Ken Hilton' (GH-24370) (#24374)Miss Islington (bot)2021-01-292-1/+2
| | | | (cherry picked from commit 11d75ec807f05eff1148c049e38b808d11c23b8a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163)Miss Islington (bot)2021-01-286-5/+37
| | | | | | | | Starting stack viewer when user code is running, including when Debugger is active, hangs or crashes IDLE. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 23a567c11ca36eedde0e119443c85cc16075deaf) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-29076: Add fish support to macOS installer (GH-23302) (GH-23937)Miss Islington (bot)2021-01-282-1/+18
| | | | | (cherry picked from commit 7f162e867c674f57c308a87fffcdcca3540c8933) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-42979: _zoneinfo exec function checks for PyDateTime_IMPORT failure ↵Miss Islington (bot)2021-01-271-0/+3
| | | | | | | | | | (GH-24333) (GH-24351) Importing datetime can fail. (cherry picked from commit eeb701adc0fc29ba803fddf133d917ff45639a00) Co-authored-by: Hai Shi <shihai1992@gmail.com> Co-authored-by: Hai Shi <shihai1992@gmail.com>
* bpo-43033: Fix the handling of PyObject_SetAttrString() in _zoneinfo.c ↵Miss Islington (bot)2021-01-271-1/+5
| | | | | | | | (GH-24345) (GH-24349) (cherry picked from commit 5327f370344a627f1578d8183d197feb286371c6) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-43008: Make IDLE respect sys.excepthook (GH-24302)Miss Islington (bot)2021-01-265-13/+63
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 7a34380ad788886f5ad50d4175ceb2d5715b8cff) Co-authored-by: Ken <kenny2minecraft@gmail.com>
* [3.9] bpo-41841: Prepare IDLE NEWS for 3.9.2 (#GH-4343)Terry Jan Reedy2021-01-261-2/+7
|
* [3.9] bpo-42383: pdb: do not fail to restart the target if the current ↵Andrey Bienkowski2021-01-262-0/+25
| | | | directory changed (GH-23412) (#24322)
* [3.9] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24321)Andrey Bienkowski2021-01-253-1/+45
|
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Miss Islington (bot)2021-01-2513-67/+66
| | | | | | | | | Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and 'tkMessageBox' and remove 'tk'. Just lowercase 'tkFont' as 'font' is already used. Adjust import. (cherry picked from commit 879986d8a932c4524cb6ff822afc9537de16e28d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.9] bpo-33289: Return RGB triplet of ints instead of floats from ↵Serhiy Storchaka2021-01-255-26/+102
| | | | | | | | tkinter.colorchooser (GH-6578). (GH-24318) (cherry picked from commit 6713e869c4989c04318158b406c30a147ea52904) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-43013: Update idlelib code to 3.x (GH-24315)Miss Islington (bot)2021-01-2410-47/+49
| | | | | | | Remove 9 remaining '(object)' occurrences in class headers in idlelib and 25 '()' occurrences in idlelib.idle_test class headers. (cherry picked from commit 8dfe15625e6ea4357a13fec7989a0e6ba2bf1359) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* closes bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305)Miss Islington (bot)2021-01-231-2/+2
| | | | | (cherry picked from commit f7fa64f0e87edc61d990ed51b4da722906a10928) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-40304: Correct type(name, bases, dict) doc (GH-19553)Miss Islington (bot)2021-01-212-8/+11
| | | | | | | | Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com> (cherry picked from commit 644d52818a6391535e5838fd57d58ffcb1163056) Co-authored-by: Борис Верховский <boris.verk@gmail.com>
* bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux ↵cptpcrd2021-01-213-0/+35
| | | | | (GH-24172) (GH-24278) (cherry picked from commit 7dc71c425cf6aa6a4070a418dce5d95ca435c79f)
* bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643)Miss Islington (bot)2021-01-203-2/+14
| | | | | (cherry picked from commit 3554fa4abecfb77ac5fcaa5ce8310eeca5683960) Co-authored-by: Zhiming Wang <i@zhimingwang.org>
* bpo-41995: Handle allocation failure in _tracemalloc and _zoneinfo (GH-22635)Miss Islington (bot)2021-01-201-0/+12
| | | | | (cherry picked from commit f1ff800db1f9fa5ff8f2fa2863796a46bfa9ee46) Co-authored-by: Yunlongs <lylgood@foxmail.com>
* closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes ↵Miss Islington (bot)2021-01-183-32/+64
| | | | | | | | | param reprs. (GH-24247) (cherry picked from commit 916610ef90a0d0761f08747f7b0905541f0977c7) Co-authored-by: Benjamin Peterson <benjamin@python.org> Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-42944 Fix Random.sample when counts is not None (GH-24235) (GH-24243)Miss Islington (bot)2021-01-183-28/+29
|
* [3.9] bpo-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (for all ↵Jason R. Coombs2021-01-163-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but processor) (GH-23010) (#24232) * Add test capturing missed expectation with uname_result._replace. * bpo-42163: Override uname_result._make to allow uname_result._replace to work (for everything but 'processor'. * Replace hard-coded length with one derived from the definition. * Add test capturing missed expectation with copy/deepcopy on namedtuple (bpo-42189). * bpo-42189: Exclude processor parameter when constructing uname_result. * In _make, rely on __new__ to strip processor. * Add blurb. * iter is not necessary here. * Rely on num_fields in __new__ * Add test for slices on uname * Add test for copy and pickle. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * import pickle * Fix equality test after pickling. * Simply rely on __reduce__ for pickling. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit a6fd0f414c0cb4cd5cc20eb2df3340b31c6f7743) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>