summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.12] gh-89891: Refer SharedMemory implementation as POSIX (GH-104678) ↵Miss Islington (bot)2024-02-011-1/+1
| | | | | | | | (GH-114873) It only uses POSIX API. (cherry picked from commit 500ede01178a8063bb2a3c664172dffa1b40d7c9) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [3.12] Correct description of inheriting from another class (GH-114660) ↵Miss Islington (bot)2024-02-014-19/+18
| | | | | | | | (#114868) "inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>". (cherry picked from commit c9c6e04380ffedd25ea2e582f9057ab9612960c9) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.12] gh-105031: Clarify datetime documentation for ISO8601 (GH-105049) ↵Miss Islington (bot)2024-02-011-3/+15
| | | | | | | (GH-114866) (cherry picked from commit e9dab656380ec03d628979975646748330b76b9b) Co-authored-by: Nicholas Hollander <31573882+nhhollander@users.noreply.github.com>
* [3.12] gh-105089: Fix test_create_directory_with_write test failure in AIX ↵Miss Islington (bot)2024-02-012-1/+5
| | | | | | | (GH-105228) (GH-114860) (cherry picked from commit 4dbb198d279a06fed74ea4c38f93d658baf38170) Co-authored-by: Ayappan Perumal <ayappap2@in.ibm.com>
* [3.12] gh-107461 ctypes: Add a testcase for nested `_as_parameter_` lookup ↵Miss Islington (bot)2024-02-011-0/+11
| | | | | | | (GH-107462) (GH-114858) (cherry picked from commit 0bf42dae7e73febc76ea96fd58af6b765a12b8a7) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.12] Fix typos in ElementTree documentation (GH-108848) (GH-114854)Miss Islington (bot)2024-02-011-3/+3
| | | | | | PI objects instead of comment objects. (cherry picked from commit de6f97cd3519c5d8528d8ca1bb00fce4e9969671) Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
* [3.12] gh-114648: Add IndexError exception to tutorial datastructures ↵Miss Islington (bot)2024-02-011-4/+3
| | | | | | | | list.pop entry (GH-114681) (#114841) Remove redundant explanation of optional argument. (cherry picked from commit 57c3e775df5a5ca0982adf15010ed80a158b1b80) Co-authored-by: srinivasan <shivnaren@gmail.com>
* [3.12] gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS ↵Miss Islington (bot)2024-02-011-0/+4
| | | | | | | | (GH-114816) (#114840) As @GPHemsley pointed out, GH-29469 omitted `versionadded` notes for the 2 new items. (cherry picked from commit 586057e9f80d57f16334c0eee8431931e4aa8cff) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.12] CI: Test on macOS M1 (GH-114766) (#114836)Miss Islington (bot)2024-02-011-2/+9
| | | | | | Test on macOS M1 (cherry picked from commit 854e2bc42340b22cdeea5d16ac8b1ef3762c6909) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] gh-114811: Change '\*' to '*' in warnings.rst (GH-114819) (#114837)Miss Islington (bot)2024-02-011-1/+1
| | | | | | Regression in 3.12. (cherry picked from commit ff8939e5abaad7cd87f4d1f07ca7f6d176090f6c) Co-authored-by: Pradyot Ranjan <99216956+prady0t@users.noreply.github.com>
* [3.12] gh-109534: fix reference leak when SSL handshake fails (GH-114074) ↵Miss Islington (bot)2024-02-013-0/+8
| | | | | | | | (#114829) gh-109534: fix reference leak when SSL handshake fails (GH-114074) (cherry picked from commit 80aa7b3688b8fdc85cd53d4113cb5f6ce5500027) Co-authored-by: Jamie Phan <jamie@ordinarylab.dev>
* [3.12] gh-111112: Avoid potential confusion in TCP server example. ↵Miss Islington (bot)2024-02-011-3/+4
| | | | | | | | | | | | | | | | | | | (GH-111113) (#114831) gh-111112: Avoid potential confusion in TCP server example. (GH-111113) Improve misleading TCP server docs and example. socket.recv(), as documented by the Python reference documentation, returns at most `bufsize` bytes, and the underlying TCP protocol means there is no guaranteed correspondence between what is sent by the client and what is received by the server. This conflation could mislead readers into thinking that TCP is datagram-based or has similar semantics, which will likely appear to work for simple cases, but introduce difficult to reproduce bugs. (cherry picked from commit a79a27242f75fc33416d4d135a4a542898d140e5) Co-authored-by: Aidan Holm <alfh@google.com>
* [3.12] Add note to `sys.orig_argv` clarifying the difference from `sys.argv` ↵Miss Islington (bot)2024-01-311-1/+4
| | | | | | | | | (GH-114630) (#114821) Add note to `sys.orig_argv` clarifying the difference from `sys.argv` (GH-114630) (cherry picked from commit 1836f674c0d86ec3375189a550c8f4a52ff89ae8) Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.12] gh-114790: Do not execute `workflows/require-pr-label.yml` on forks ↵Miss Islington (bot)2024-01-311-0/+1
| | | | | | | (GH-114791) (#114800) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] gh-114737: Revert change to ElementTree.iterparse "root" attribute ↵Miss Islington (bot)2024-01-312-1/+3
| | | | | | | | | | (GH-114755) (GH-114798) Prior to gh-114269, the iterator returned by ElementTree.iterparse was initialized with the root attribute as None. This restores the previous behavior. (cherry picked from commit 66f95ea6a65deff547cab0d312b8c8c8a4cf8beb) Co-authored-by: Sam Gross <colesbury@gmail.com>
* [3.12] gh-101100: Fix class reference in library/test.rst (GH-114769) ↵Miss Islington (bot)2024-01-311-1/+1
| | | | | | | | | | (GH-114794) 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.12] gh-101100: Fix references in csv docs (GH-114658) (GH-114771)Skip Montanaro2024-01-312-8/+7
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> (cherry picked from commit 3911b42cc0d404e0eac87fce30b740b08618ff06)
* [3.12] Docs: mark up dbm.gnu.open() and dbm.ndbm.open() using param list ↵Miss Islington (bot)2024-01-311-61/+56
| | | | | | | (GH-114762) (#114783) (cherry picked from commit c8cf5d7d148944f2850f25b02334400dd0238cb0) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-106392: Fix inconsistency in deprecation warnings in datetime ↵Miss Islington (bot)2024-01-311-3/+3
| | | | | | | | module (GH-114761) (#114767) gh-106392: Fix inconsistency in deprecation warnings in datetime module (GH-114761) (cherry picked from commit dc4cd2c9ba60e2ee7e534e2f6e93c4c135df23b9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 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.12] Clarify one-item tuple (GH-114745) (#114757)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.12] Set `hosted_on` for Read the Docs builds (GH-114697) (#114734)Miss Islington (bot)2024-01-291-18/+19
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] Fix more references to datetime and time classes (GH-114717) (GH-114725)Serhiy Storchaka2024-01-293-8/+8
| | | | | | | They could be confused with references to datetime and time modules. (cherry picked from commit 39c766b579cabc71a4a50773d299d4350221a70b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Remove limit in calendar CLI help message for year arg (GH-114719) ↵Miss Islington (bot)2024-01-291-1/+1
| | | | | | | | (GH-114722) The limit was removed in 66c88ce30ca2b23daa37038e1a3c0de98f241f50 (GH-4109). (cherry picked from commit 0f54ee4c6cdba74492183eb2dd142393c7dba403) Co-authored-by: Steven Ward <planet36@users.noreply.github.com>
* [3.12] gh-101100: Fix datetime reference warnings (GH-114661) (GH-114716)Miss Islington (bot)2024-01-293-54/+58
| | | | | | (cherry picked from commit e8b8f5e9c2da6a436360ce648061c90bdfcba863) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-89159: Add some TarFile attribute types (GH-114520) (GH-114714)Miss Islington (bot)2024-01-291-0/+6
| | | | | (cherry picked from commit d7d0d13cd37651990586d31d8974c59bd25e1045) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.12] gh-101100: Fix Sphinx warnings in `whatsnew/2.2.rst` (GH-112366) ↵Miss Islington (bot)2024-01-292-71/+70
| | | | | | | (#114711) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-114685: Fix incorrect use of PyBUF_READ in import.c (GH-114686) ↵Miss Islington (bot)2024-01-291-1/+1
| | | | | | | (GH-114700) (cherry picked from commit 1ac1b2f9536a581f1656f0ac9330a7382420cda1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-101100: Fix sphinx warnings in `Doc/c-api/memoryview.rst` ↵Miss Islington (bot)2024-01-292-1/+13
| | | | | | | (GH-114669) (GH-114704) (cherry picked from commit 97fb2480e4807a34b8197243ad57566ed7769e24) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-110893: Improve the documentation for __future__ module ↵Miss Islington (bot)2024-01-291-42/+56
| | | | | | | | | | | | | | | | | | (GH-114642) (#114702) 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.12] gh-100734: Add 'Notable change in 3.11.x' to `whatsnew/3.11.rst` ↵Miss Islington (bot)2024-01-281-0/+26
| | | | | | | (GH-114657) (#114688) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Correct Skip Montanaro's email address (GH-114677) (#114679)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.12] gh-114100: Remove superfluous writing to fd 1 in test_pty (GH-114647) ↵Miss Islington (bot)2024-01-271-1/+21
| | | | | | | (GH-114655) (cherry picked from commit 7a470541e2bbc6f3e87a6d813e2ec42cf726de7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-101100: Fix sphinx warnings in `reference/import.rst` (GH-114646) ↵Miss Islington (bot)2024-01-272-4/+4
| | | | | | (#114652) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related ↵Hugo van Kemenade2024-01-2714-61/+61
| | | | (GH-114531) (#114649)
* [3.12] gh-113560: Improve docstrings for set.issubset() and set.issuperset() ↵Miss Islington (bot)2024-01-271-2/+10
| | | | | | | (GH-113562) (GH-114644) (cherry picked from commit 11c582235d86b6020710eff282eeb381a7bf7bb7) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
* [3.12] gh-101100: Fix sphinx warnings in `library/email.mime.rst` ↵Miss Islington (bot)2024-01-272-9/+8
| | | | | | | (GH-114635) (GH-114640) (cherry picked from commit 6a8944acb61d0a2c210ab8066cdcec8602110e2f) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-113445: Amend PyObject_RichCompareBool() docs (GH-113891) (GH-114638)Miss Islington (bot)2024-01-271-6/+2
| | | | | (cherry picked from commit 926881dc10ebf77069e02e66eea3e0d3ba500fe5) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.12] Docs: rework the dbm.dumb introduction (GH-114550) (#114620)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>
* Use Unicode unconditionally for _winapi.CreateFile (GH-114611)Steve Dower2024-01-262-13/+17
| | | Currently it switches based on build settings, but argument clinic does not handle it correctly.
* [3.12] Document PyOS_strtoul and PyOS_strtol (GH-114048) (GH-114618)Miss Islington (bot)2024-01-261-0/+36
| | | | | (cherry picked from commit 3f62bf32caf04cedb2c59579a0ce835d1e793d4d) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.12] gh-77749: Fix inconsistent behavior of non-ASCII handling in ↵Miss Islington (bot)2024-01-263-1/+27
| | | | | | | | | | EmailPolicy.fold() (GH-6986) (GH-114606) 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.12] Docs: mark up dbm.open() with param list (GH-114601) (#114604)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.12] Docs: reword dbm.ndbm introduction (#114549) (#114599)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.12] Docs: fix versionchanged directives for dbm.open() and dbm.whichdb() ↵Miss Islington (bot)2024-01-261-5/+5
| | | | | | | (GH-114594) (#114595) (cherry picked from commit 8710faeac28e65c65862359413e8341492f529af) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] Docs: rework dbm introduction (GH-114551) (#114590)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.12] Docs: reword dbm.gnu introduction (#114548) (#114588)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
* 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.12] gh-77465: Increase test coverage for the numbers module (GH-111738) ↵Miss Islington (bot)2024-01-251-1/+157
| | | | | | | | (GH-114556) (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>