summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.11] gh-101100: Fix class reference in library/test.rst (GH-114769) ↵Miss Islington (bot)2024-01-311-1/+1
| | | | | | | | | | (GH-114793) The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`, for which no target is available. Name the class properly and suppress the dangling reference. (cherry picked from commit 7a93db44257c0404dc407ff2ddc997f4bb8890ed) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.11] gh-101100: Fix references in csv docs (GH-114658) (GH-114773)Skip Montanaro2024-01-312-8/+7
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> (cherry picked from commit 3911b42cc0d404e0eac87fce30b740b08618ff06)
* [3.11] Docs: mark up dbm.gnu.open() and dbm.ndbm.open() using param list ↵Miss Islington (bot)2024-01-311-61/+56
| | | | | | | (GH-114762) (#114784) (cherry picked from commit c8cf5d7d148944f2850f25b02334400dd0238cb0) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753)Miss Islington (bot)2024-01-312-1/+2
| | | | | (cherry picked from commit a06b606462740058b5d52fefdcdcd679d4f40260) Co-authored-by: Diego Russo <diego.russo@arm.com>
* [3.11] Clarify one-item tuple (GH-114745) (#114758)Miss Islington (bot)2024-01-301-2/+3
| | | | | | | A 'single tuple' means 'one tuple, of whatever length. Remove the unneeded and slightly distracting parenthetical 'singleton' comment. (cherry picked from commit a1332a99cf1eb9b879d4b1f28761b096b5749a0d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] Set `hosted_on` for Read the Docs builds (GH-114697) (#114735)Miss Islington (bot)2024-01-291-18/+19
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.11] Fix more references to datetime and time classes (GH-114717) (GH-114726)Serhiy Storchaka2024-01-293-8/+8
| | | | They could be confused with references to datetime and time modules. (cherry picked from commit 39c766b579cabc71a4a50773d299d4350221a70b)
* [3.11] Remove limit in calendar CLI help message for year arg (GH-114719) ↵Miss Islington (bot)2024-01-291-1/+1
| | | | | | | | (GH-114723) The limit was removed in 66c88ce30ca2b23daa37038e1a3c0de98f241f50 (GH-4109). (cherry picked from commit 0f54ee4c6cdba74492183eb2dd142393c7dba403) Co-authored-by: Steven Ward <planet36@users.noreply.github.com>
* [3.11] gh-101100: Fix datetime reference warnings (GH-114661) (GH-114718)Serhiy Storchaka2024-01-293-54/+58
| | | | | (cherry picked from commit e8b8f5e9c2da6a436360ce648061c90bdfcba863) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.11] gh-89159: Add some TarFile attribute types (GH-114520) (GH-114715)Miss Islington (bot)2024-01-291-0/+6
| | | | | (cherry picked from commit d7d0d13cd37651990586d31d8974c59bd25e1045) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.2.rst` (GH-112366) ↵Miss Islington (bot)2024-01-292-71/+70
| | | | | | | (#114712) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.11] gh-114685: Fix incorrect use of PyBUF_READ in import.c (GH-114686) ↵Miss Islington (bot)2024-01-291-1/+1
| | | | | | | (GH-114701) (cherry picked from commit 1ac1b2f9536a581f1656f0ac9330a7382420cda1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-101100: Fix sphinx warnings in `Doc/c-api/memoryview.rst` ↵Miss Islington (bot)2024-01-292-1/+13
| | | | | | | (GH-114669) (GH-114705) (cherry picked from commit 97fb2480e4807a34b8197243ad57566ed7769e24) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-110893: Improve the documentation for __future__ module ↵Miss Islington (bot)2024-01-291-42/+56
| | | | | | | | | | | | | | | | | | (GH-114642) (#114703) gh-110893: Improve the documentation for __future__ module (GH-114642) nedbat took issue with the phrasing "real module". I'm actually fine with that phrasing, but I do think the `__future__` page should be clear about the way in which the `__future__` module is special. (Yes, there was a footnote linking to the future statements part of the reference, but there should be upfront discussion). I'm sympathetic to nedbat's claim that no one really cares about `__future__._Feature`, so I've moved the interesting table up to the top. (cherry picked from commit 3b86891fd69093b60141300862f278614ba80613) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.11] Correct Skip Montanaro's email address (GH-114677) (#114680)Miss Islington (bot)2024-01-284-5/+5
| | | | | | Correct Skip Montanaro's email address (GH-114677) (cherry picked from commit 5ecfd750b4f511f270c38f0d748da9cffa279295) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.11] gh-114100: Remove superfluous writing to fd 1 in test_pty (GH-114647) ↵Miss Islington (bot)2024-01-271-1/+21
| | | | | | | (GH-114656) (cherry picked from commit 7a470541e2bbc6f3e87a6d813e2ec42cf726de7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-101100: Fix sphinx warnings in `reference/import.rst` (GH-114646) ↵Nikita Sobolev2024-01-272-3/+2
| | | | (#114654)
* [3.11] gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related ↵Hugo van Kemenade2024-01-276-12/+12
| | | | (GH-114531) (#114650)
* [3.11] gh-113560: Improve docstrings for set.issubset() and set.issuperset() ↵Miss Islington (bot)2024-01-271-2/+10
| | | | | | | (GH-113562) (GH-114643) (cherry picked from commit 11c582235d86b6020710eff282eeb381a7bf7bb7) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
* [3.11] gh-101100: Fix sphinx warnings in `library/email.mime.rst` ↵Miss Islington (bot)2024-01-272-9/+8
| | | | | | | (GH-114635) (GH-114641) (cherry picked from commit 6a8944acb61d0a2c210ab8066cdcec8602110e2f) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] Fix `c-api/file.rst` indexes (GH-114608) (GH-114639)Miss Islington (bot)2024-01-271-2/+3
| | | | | (cherry picked from commit 23fb9f0777b054526b3b32f58e60b2a03132bf45) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-113445: Amend PyObject_RichCompareBool() docs (GH-113891) (GH-114637)Miss Islington (bot)2024-01-271-6/+2
| | | | | (cherry picked from commit 926881dc10ebf77069e02e66eea3e0d3ba500fe5) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.11] Docs: rework the dbm.dumb introduction (GH-114550) (#114621)Miss Islington (bot)2024-01-261-30/+36
| | | | | | | | | | | | (cherry picked from commit 6c2b419fb91c8d7daa769d39f73768114b5eb45a) - consistently use correct parameter markup - consistently use submodule name as database name - improve accuracy of the dbm.dumb.open() spec - remove dumbdbm class refs and replace them with generic "database object" - use parameter list for dbm.dumb.open() (cherry picked from commit 6c2b419fb91c8d7daa769d39f73768114b5eb45a) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.11] Document PyOS_strtoul and PyOS_strtol (GH-114048) (GH-114619)Miss Islington (bot)2024-01-261-0/+36
| | | | | (cherry picked from commit 3f62bf32caf04cedb2c59579a0ce835d1e793d4d) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* Use Unicode unconditionally for _winapi.CreateFile (GH-114611)Steve Dower2024-01-262-13/+19
| | | Currently it switches based on build settings, but argument clinic does not handle it correctly.
* [3.11] gh-77749: Fix inconsistent behavior of non-ASCII handling in ↵Miss Islington (bot)2024-01-263-1/+27
| | | | | | | | | | EmailPolicy.fold() (GH-6986) (GH-114607) It now always encodes non-ASCII characters in headers if utf8 is false. (cherry picked from commit 504334c7be5a56237df2598d338cd494a42fca4c) Co-authored-by: Rito Takeuchi <licht-t@outlook.jp> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] Docs: mark up dbm.open() with param list (GH-114601) (#114605)Miss Islington (bot)2024-01-261-26/+26
| | | | | | | Also consolidate following paragraphs regarding database objects. (cherry picked from commit 0bd8297a2208125f76807cdf01f72abe5c94136b) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.11] Docs: reword dbm.ndbm introduction (#114549) (#114600)Erlend E. Aasland2024-01-261-20/+26
| | | | | | | | | (cherry picked from commit 4cf068ed0879cccf86a45f06fb274b350b89e911) - add abbreviation directives for NDBM and GDBM - consistently spell NDBM as NDBM - silence broken ndbm class refs - improve accuracy of dbm.ndbm.open() spec - use replacement text for NDBM/GDBM file format incompatibility note
* [3.11] Docs: fix versionchanged directives for dbm.open() and dbm.whichdb() ↵Miss Islington (bot)2024-01-261-5/+5
| | | | | | | (GH-114594) (#114596) (cherry picked from commit 8710faeac28e65c65862359413e8341492f529af) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.11] Docs: rework dbm introduction (GH-114551) (#114591)Miss Islington (bot)2024-01-261-10/+11
| | | | | | | | | - add refs to other parts of the docs (dict, bytes, etc.) - clarify whichdb() return value by using list markup - silence refs to example or generic submodule methods (keys, get, etc.) (cherry picked from commit 65cf5dce11a38e327b9b0abfca279d650452b34f) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.11] Docs: reword dbm.gnu introduction (#114548) (#114589)Erlend E. Aasland2024-01-261-19/+20
| | | | | | | | (cherry picked from commit 06c5de36f222b926bbc94831536096b974bd5e77) Also... - consistently spell GDBM as GDBM - silence gdbm class refs - improve accuracy of dbm.gdbm.open() spec
* [3.11] gh-101100: Fix sphinx warnings in `c-api/file.rst` (GH-114546) (#114585)Miss Islington (bot)2024-01-263-4/+15
| | | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-114561: Mark some tests in `test_wincosoleio` with ↵Miss Islington (bot)2024-01-251-1/+4
| | | | | | | `requires_resource('console')` decorator (GH-114565) (cherry picked from commit 33ae9895d4ac0d88447e529038bc4725ddd8c291) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* [3.11] gh-77465: Increase test coverage for the numbers module (GH-111738) ↵Miss Islington (bot)2024-01-251-1/+157
| | | | | | | | (GH-114557) (cherry picked from commit e721adf4bd47b20ba0a93ad6471084de31bf20c7) Co-authored-by: AN Long <aisk@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-100107: Make py.exe launcher ignore app aliases that launch Microsoft ↵Miss Islington (bot)2024-01-252-0/+70
| | | | | | | Store (GH-114358) (cherry picked from commit d5c21c12c17b6e4db2378755af8e3699516da187) Co-authored-by: Vincent Cunningham <flagrama@users.noreply.github.com>
* [3.11] gh-108731: Add description of __slots__ to MemberDescriptorType docs ↵Miss Islington (bot)2024-01-241-0/+4
| | | | | | | (GH-108745) (GH-114537) (cherry picked from commit 6888cccac0776d965cc38a7240e1bdbacb952b91) Co-authored-by: plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com>
* [3.11] Docs: mark up the FTP_TLS() docs with param list (GH-114510) (#114533)Miss Islington (bot)2024-01-241-10/+46
| | | | | | | Also turn sentence about prot_p() into a note. (cherry picked from commit 6fadd68da5dd928847264b17f62a5b8b369c1c1e) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.11] gh-101100: Fix sphinx warnings in `concurrent.futures.rst` ↵Hugo van Kemenade2024-01-242-21/+22
| | | | | | (GH-114521) (#114526) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] gh-101100: Fix sphinx warnings in `asyncio-task.rst` (GH-114469) ↵Miss Islington (bot)2024-01-242-18/+16
| | | | | | | (#114518) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-113205: test_multiprocessing.test_terminate: Give tasks a chance ↵Miss Islington (bot)2024-01-241-0/+1
| | | | | | | to start (GH-114249) (GH-114517) (cherry picked from commit ce75b4c26d18dcd840fd2e7ee362a84209648d06) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] Fix a typo in the contextlib documentation (GH-114507) (#114515)Miss Islington (bot)2024-01-241-1/+1
|
* [3.11] gh-114492: Initialize struct termios before calling tcgetattr() ↵Miss Islington (bot)2024-01-232-0/+4
| | | | | | | | (GH-114495) (GH-114503) On Alpine Linux it could leave some field non-initialized. (cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-101438: Avoid reference cycle in ElementTree.iterparse. ↵Miss Islington (bot)2024-01-232-10/+21
| | | | | | | | | | (GH-114269) (GH-114500) The iterator returned by ElementTree.iterparse() may hold on to a file descriptor. The reference cycle prevented prompt clean-up of the file descriptor if the returned iterator was not exhausted. (cherry picked from commit ce01ab536f22a3cf095d621f3b3579c1e3567859) Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.11] Docs: use placeholders in dbm flag param docs (GH-114482) (#114498)Miss Islington (bot)2024-01-231-60/+43
| | | | | | | Also correct the default flag param for dbm.dumb.open(); it's 'c', not 'r'. (cherry picked from commit 8c265408c51609c6b4a6788cac9cc5fea7a14888) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.11] Docs: mark up FTP.connect() and FTP.login() with param lists ↵Miss Islington (bot)2024-01-231-33/+70
| | | | | | | | | | | (GH-114395) (#114486) Use rst substitutions to reduce raw text duplication. (cherry picked from commit 01105c7c4f7f01a8b1077008e61d5c7df0ab832b) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.11] Docs: mark up FTP.retrbinary and FTP.storbinary with param lists ↵Miss Islington (bot)2024-01-232-17/+46
| | | | | | | | (GH-114399) (#114484) (cherry picked from commit 5277d4c7dbd1baee300e494fce2738cee218c243) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.11] gh-101100: Fix sphinx warnings in `Doc/library/locale.rst` ↵Miss Islington (bot)2024-01-232-14/+48
| | | | | | | | | | | | (GH-114425) (#114478) gh-101100: Fix sphinx warnings in `Doc/library/locale.rst` (GH-114425) * gh-101100: Fix sphinx warnings in `Doc/library/locale.rst` * Remove `/` from signatures (cherry picked from commit 7d21cae964fc47afda400fc1fbbcf7984fcfe819) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.11] Docs: align usage of versionadded/versionchanged with recommended ↵Erlend E. Aasland2024-01-2325-157/+156
| | | | | | | | practice (#114409) (#114473) (cherry picked from commit 1d7bddd9612bcbaaedbc837e2936de773e855411) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.11] GH-105900: Fix `pathlib.Path.symlink_to(target_is_directory=...)` ↵Miss Islington (bot)2024-01-231-3/+7
| | | | | | | | | docs (GH-114035) (#114465) Clarify that *target_is_directory* only matters if the target doesn't exist. (cherry picked from commit b822b85ac11e73bbe4417bf03ee770ab116bb42d) Co-authored-by: Barney Gale <barney.gale@gmail.com>
* [3.11] GH-82695: Clarify `pathlib.Path.mkdir()` documentation (GH-114032) ↵Miss Islington (bot)2024-01-231-3/+3
| | | | | | | | | | | (#114463) Remove a double negative in the documentation of `mkdir()`'s *exist_ok* parameter. (cherry picked from commit 32c227470aa6f72950b76206ffc529c258b4b8fa) Co-authored-by: Barney Gale <barney.gale@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>