summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] Docs: Fix backtick errors found by sphinx-lint (GH-97998) (#98373)C.A.M. Gerlach2022-10-1749-89/+81
| | | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit fa2d43e5184f5eaf3391844ec2400342a1b2ead4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-98174: Handle EPROTOTYPE under macOS in ↵Miss Islington (bot)2022-10-171-2/+12
| | | | | | | | test_sendfile_fallback_close_peer_in_the_middle_of_receiving (GH-98316) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> (cherry picked from commit 3e82ad05b18d004e4d01fdb643344d6a2bf11900) Co-authored-by: fancidev <fancidev@gmail.com>
* gh-85299: Add note warning about entry point guard for asyncio example ↵Miss Islington (bot)2022-10-162-1/+9
| | | | | | | (GH-93457) (cherry picked from commit 79fd6ccdbe00ec95e4d33fc24fe76076282a334e) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-97527: IDLE - fix buggy macosx patch (GH-98313)Miss Islington (bot)2022-10-163-16/+34
| | | | | | | | | GH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI. But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, and Microsoft Python 3.10.2288.0 when test/* is not installed. After this patch, test.* is only imported when testing on Mac. (cherry picked from commit 35fa5d5e7f2b0971b39b2659dc70cb77e34a7dd6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.10] docs(typing): harmonize "See PEP x for more details" (GH-97927). (#98293)Jelle Zijlstra2022-10-161-6/+5
| | | | | (cherry picked from commit 02389658a4751a0166e2ed22be112b646378a01b) Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
* [3.10] [doc] Update logging cookbook with an example of custom handli… ↵Vinay Sajip2022-10-151-2/+283
| | | | | (GH-98299) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-95971: Turn @writes_bytecode_files to skip when not running (GH-95972)Miss Islington (bot)2022-10-151-1/+1
| | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 07b5c4699e64eb30c3bdcb1275c167e675d37423) Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
* gh-95731: Fix module docstring extraction in pygettext (GH-95732)Miss Islington (bot)2022-10-153-3/+25
| | | | | (cherry picked from commit 120b4ab2b68aebf96ce0de243eab89a25fc2d282) Co-authored-by: Jakub Kuczys <me@jacken.men>
* gh-98251: Allow venv to pass along PYTHON* variables to pip and ensurepip ↵Miss Islington (bot)2022-10-143-13/+25
| | | | | | | when they do not impact path resolution (GH-98259) (cherry picked from commit 2fe44f728afa2dd506c304641f0481d6813d1dbd) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-46364: Use sockets for stdin of asyncio only on AIX (GH-30596)Miss Islington (bot)2022-10-133-4/+24
| | | | | | | Signed-off-by: Christoph Hamsen <hamsen.christoph@posteo.de> Co-authored-by: July Tikhonov <july.tikh@gmail.com> (cherry picked from commit c9ed0327a9c741a1808926b409df29467baf303a) Co-authored-by: Christoph Hamsen <37963496+xopham@users.noreply.github.com>
* gh-98178: syslog() is not thread-safe on macOS (GH-98213)Miss Islington (bot)2022-10-132-0/+9
| | | | | | | | | On macOS, fix a crash in syslog.syslog() in multi-threaded applications. On macOS, the libc syslog() function is not thread-safe, so syslog.syslog() no longer releases the GIL to call it. (cherry picked from commit d4b91663857e85eab1f309cacec4d27b5f6657ec) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.10] gh-86404: Doc CI: Disable suspicious checks. (GH-26575) (GH-98221)Julien Palard2022-10-122-3/+1
| | | gh-86404: Doc CI: Disable suspicious checks.
* gh-96265: Formatting changes for faq/general (GH-98129)Miss Islington (bot)2022-10-121-12/+18
| | | | | | | | | | | | | | | | | | | | | | | * Some formatting changes for general faq * Use list for Python versioning Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * New line for list, list for a/b/rc * Line wrap for 80 chars * More line wrap * Remove PythonWin mention. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit e9569ec43e2376aa77240cd630db4be07e8720f3) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* tutorial: remove "with single quotes" (GH-98204)Miss Islington (bot)2022-10-121-1/+1
| | | | | | | | | Closes GH-91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't. (cherry picked from commit 5f8ca1b7969f34ee09adb7b28337ebd920e6215a) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-65046: Link to logging cookbook from asyncio docs (GH-98207)Miss Islington (bot)2022-10-122-1/+4
| | | | | (cherry picked from commit c39a0c335486fa8eac0f3030930f9e8769118a4f) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* Formatting fixes in contextlib docs (GH-98111)Miss Islington (bot)2022-10-121-11/+17
| | | | | (cherry picked from commit 3b33c2010aa00ef5877bc35b02ae658e3c9f27af) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-95276: Add callable entry to the glossary (GH-95738)Miss Islington (bot)2022-10-121-0/+10
| | | | | (cherry picked from commit e3bf125c81d5da0734429c1cb6ae75e6086e35ae) Co-authored-by: MonadChains <monadchains@gmail.com>
* gh-96130: Rephrase use of "typecheck" verb for clarity (GH-98144)Miss Islington (bot)2022-10-121-10/+10
| | | | | | | I'm sympathetic to the issue report, especially in case this helps clarify to new users that Python itself does not do type checking at runtime (cherry picked from commit ed6344eed043eaaa41d11c1176c25aa79de64ef4) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* Post 3.10.8Pablo Galindo2022-10-111-1/+1
|
* Python 3.10.8v3.10.8Pablo Galindo2022-10-1150-102/+499
|
* [3.10] Auto-cancel old builds when new commit pushed to branch (GH-98009) ↵Ezio Melotti2022-10-104-0/+16
| | | | | | | | | | | | | | | | | | (#98163) * Auto-cancel old builds when new commit pushed to branch * Add a fallback Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Use the same group for all workflows. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 75751f4aa5d70f65856645a9128fd42d92d6692c) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.10] gh-88452: Add a warning about non-portability of environments. ↵Miss Islington (bot)2022-10-101-0/+13
| | | | (GH-98155) (GH-98156)
* [3.10] ci: add GitHub token permissions (GH-92999) (#98161)Ezio Melotti2022-10-103-0/+9
| | | | | | | | | | | | * ci: add GitHub token permissions (#92999) (cherry picked from commit b96e20c1d9be4e6d5ea3e48c9c97e5ecd02f6055) * [3.10] ci: add GitHub token permissions (GH-92999). (cherry picked from commit b96e20c1d9be4e6d5ea3e48c9c97e5ecd02f6055) Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> Co-authored-by: Varun Sharma <varunsh@stepsecurity.io>
* gh-83940: os docs: Improve wording for getenv/getenvb (GH-98113)Miss Islington (bot)2022-10-101-4/+4
| | | | | (cherry picked from commit 187e853690908ca2af19a0701ca7529b43d05df9) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* doc: remove a misleading statement. (GH-98093)Miss Islington (bot)2022-10-101-2/+2
| | | | | (cherry picked from commit 571e23d99157ed7ad67ca2334a396fc9ddbe07ec) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.10] bpo-43564: preserve original exception in args of FTP URLError ↵Senthil Kumaran2022-10-102-2/+4
| | | | | | | | | | | | | | (GH-24938) (#98138) * bpo-43564: preserve original error in args of FTP URLError * Add NEWS blurb Co-authored-by: Carl Meyer <carljm@instagram.com>. (cherry picked from commit ad817cd5c44416da3752ebf9baf16d650703275c) Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Carl Meyer <carl@oddbird.net>
* gh-56133: copyreg docs: Clarify function/constructor parameter (GH-95497)Miss Islington (bot)2022-10-101-9/+6
| | | | | (cherry picked from commit 281a3f18cc2afac0fa92c75e807775971e531711) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* Fix types in buffer/memoryview docs (GH-98118)Miss Islington (bot)2022-10-102-2/+2
| | | | | | | | | | | The definition of obj in the `Py_buffer` struct is as a PyObject* https://github.com/python/cpython/blob/ec091bd47e2f968b0d1631b9a8104283a7beeb1b/Include/pybuffer.hGH-L22 PyMemoryView_GET_BASE returns `.obj` - thus its return type should be a PyObject* (or at least a void*). It definitely doesn't return `Py_buffer` (cherry picked from commit c459fedf7cfd5dadf72e088d789c7375b3a6e093) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
* [3.10] gh-94808: Cover `PyObject_PyBytes` case with custom `__bytes__` ↵Nikita Sobolev2022-10-091-0/+20
| | | | | | | | | method (GH-96610) (#98121) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>. Co-authored-by: Nikita Sobolev <mail@sobolevn.me> (cherry picked from commit e39ae6bef2c357a88e232dcab2e4b4c0f367544b)
* [3.10] Add more syslog tests (GH-97953). (GH-98101)Serhiy Storchaka2022-10-094-7/+97
| | | | (cherry picked from commit cae7d1d7a713f8267daf5e4f2fff5cb1dad02c7c)
* [3.10] Minor edits to the Descriptor HowTo Guide (GH-24901) (GH-98114)Miss Islington (bot)2022-10-091-6/+8
|
* Fix link to Lifecycle of a Pull Request in CONTRIBUTING (GH-98102)Miss Islington (bot)2022-10-081-1/+1
| | | | | | | | | | * Fix link to Lifecycle of a Pull Request in CONTRIBUTING * Remove trailing backslash. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 3378ebb933b00e1b95f1112511aa2cfb597a4ebf) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Add `@ezio-melotti` as codeowner for `.github/`. (GH-98079)Miss Islington (bot)2022-10-081-0/+3
| | | | | (cherry picked from commit 531ffaa7cdc58c5df2abe505803394dbd5293602) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-97913 Docs: Add walrus operator to the index (GH-97921)Miss Islington (bot)2022-10-081-0/+6
| | | | | | | | | | | | | | | | | * Add walrus operator to the index * Add named expression to the index Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> * Fix indentation and add missing newline Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 296313002fde56f52d6c81f17d7ba5c2eb57d098) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-97822: Fix http.server documentation reference to test() function (GH-98027)Miss Islington (bot)2022-10-081-2/+2
| | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 6b485629d2e3e232460db7da3f8b18b67d4f4da8) Co-authored-by: JasonYZ <yurenzhang2017@gmail.com>
* gh-92886: make test_ast pass with -O (assertions off) (GH-98058)Miss Islington (bot)2022-10-081-1/+1
| | | | | | | | -O does not strip docstrings. Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit 27ce45d8e105d0c9f9286c3cab830590d4c7cea3) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)Miss Islington (bot)2022-10-081-1/+1
| | | | | | Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit 45f21472daad3934baf364c3100063ecc51c6e04) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.10] gh-96288: Add a sentence to `os.mkdir`'s docstring. (GH-96271). (#98066)Jelle Zijlstra2022-10-082-4/+6
| | | | | (cherry picked from commit 1523c9e9d47e7d67e4889987ff0f38eb7b881fdd) Co-authored-by: Hagai Helman Tov <hagai.helman@gmail.com>
* [3.10] gh-96073: Fix installed tests by adding to Makefile.pre.in (#98072)Jelle Zijlstra2022-10-081-0/+1
| | | This was broken in #98045 but already fixed on main.
* gh-57179: Add note on symlinks for os.walk (GH-94799)Miss Islington (bot)2022-10-082-2/+4
| | | | | (cherry picked from commit 0f498f1a95306995ca1e287f552c5c3d856be02d) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-61105: Add default param, note on using cookiejar subclass (GH-95427)Miss Islington (bot)2022-10-081-3/+5
| | | | | (cherry picked from commit 5eaf4d610147a3b9adc91a55790096d05bbe01d4) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] gh-91708: Revert params note in urllib.parse.urlparse table ↵Miss Islington (bot)2022-10-071-1/+2
| | | | | | | | (GH-96699) (#98053) Revert params note in urllib.parse.urlparse table (cherry picked from commit eed80458e8e776d15fa862da71dcce58c47e2ca7) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] gh-94808: Cover `%p` in `PyUnicode_FromFormat` (GH-96677) (#98032)Miss Islington (bot)2022-10-071-0/+19
| | | | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 72c166add89a0cd992d66f75ce94eee5eb675a99)
* gh-96073: fix backticks in NEWS entry (GH-98056)Miss Islington (bot)2022-10-071-1/+1
| | | | | | Automerge-Triggered-By: GH:JelleZijlstra (cherry picked from commit 0f111f53c1815766583ca9d5c06671ad89abcb77) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Add a warning message about PyOS_snprintf (GH-95993)Miss Islington (bot)2022-10-072-1/+3
| | | | | (cherry picked from commit c7b220499662f0c7a4cae51e33372f92ca7b1ee9) Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* GH-96073: Fix wild replacement in inspect.formatannotation (GH-96074)Miss Islington (bot)2022-10-075-1/+26
| | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit d5fea01d9d439b1638cd8e5db19c33909841d86f) Co-authored-by: Anh71me <iyumelive@gmail.com>
* gh-65496: Correct wording on csv's skipinitialspace argument (GH-96170)Miss Islington (bot)2022-10-073-5/+10
| | | | | (cherry picked from commit 676d8ef3806758bcd1d3fd84a746c8a9b64480d0) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] gh-96959: Update HTTP links which are redirected to HTTPS (GH-98039) ↵Miss Islington (bot)2022-10-072-2/+2
| | | | | | | (#98050) (cherry picked from commit c81c64ca58822156beba79dfd3035bf2a5b7354e) Co-authored-by: 180909 <734461790@qq.com>
* gh-64921: Clarify wording for open()'s newline arg (GH-96171)Miss Islington (bot)2022-10-071-2/+2
| | | | | (cherry picked from commit 4a74e6ab3885e7906cc5e0b15addc7779bc76249) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* Add note on capture_output arg to subprocess.run() docstring (GH-98012)Miss Islington (bot)2022-10-071-1/+2
| | | | | | add note on capture_output arg to the docstring (cherry picked from commit 80b3e32d6242c27094dd04c4c3d0c3d3b2889a01) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>