| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
(GH-111730) (#117630)
(cherry picked from commit a7702663e3f7efc81f0b547f1f13ba64c4e5addc)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
| |
|
|
|
| |
Co-authored-by: Anita Hammer <166057949+anitahammer@users.noreply.github.com>
Fix reference in code.rst (#117615)
|
| |
|
|
|
|
|
|
|
| |
* remove load extension doctest since we cannot skip it conditionally
* remove sys.unraisablehook example; using unraisable hooks is not "an
improved debug experience"
(cherry picked from commit e338e1a4ec5e43a02447f4ec80320d7fc12b3ed4)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
| |
|
|
|
|
|
|
|
| |
(GH-117604) (#117622)
Remove all temporary databases in a dedicated 'testcleanup' step
at the end of the file.
(cherry picked from commit a453f5ef9d0b89bd00488d3814c6f0a2886342b8)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
(GH-117113) (GH-117571)
gh-117074: Update Traversable.joinpath docs to the 3.11+ protocol (GH-117113)
(cherry picked from commit e569f9132b5bdc1c103116a020e19e3ccc20cf34)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
| |
|
|
|
| |
an example. (GH-117541) (GH-117542)
(cherry picked from commit df912c913a3d94995b379f1e19fe0a79acab6169)
|
| |
|
|
| |
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(GH-24223) (#117429)
(cherry picked from commit 9dae05ee59eeba0e67af2a46f2a2907c9f8d7e4a)
Co-authored-by: Moshe Kaplan <mosheekaplan@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit fc2071687b708598264a3403b7f9104667c1092f)
Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com>
|
| |
|
|
| |
(GH-117343) (GH-117345)
|
| |
|
|
| |
(gh-117241)
|
| |
|
|
| |
(gh-117218)
|
| |
|
|
|
|
|
| |
(#117196)
Co-authored-by: Kerim Kabirov <the.privat33r+gh@pm.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
|
| |
Co-authored-by: LilKS <1244886+LilKS@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs: fix over-linking in dataclasses.rst (#117005)
(cherry picked from commit 0907871d43bffb613cbd560224e1a9db13d06c06)
* [3.12] docs: fix over-linking in dataclasses.rst (GH-117005)
(cherry picked from commit 0907871d43bffb613cbd560224e1a9db13d06c06)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
---------
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-115223) (#117119)
gh-75988: Fix issues with autospec ignoring wrapped object (#115223)
* set default return value of functional types as _mock_return_value
* added test of wrapping child attributes
* added backward compatibility with explicit return
* added docs on the order of precedence
* added test to check default return_value
(cherry picked from commit 735fc2cbbcf875c359021b5b2af7f4c29f4cf66d)
|
| |
|
|
|
|
| |
(#117037)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-116852) (GH-116905)
It is confusing, because libc is not imported from ctypes,
but defined in previous examples, which already contain the import.
(cherry picked from commit 744c0777952f1e535d1192ee15b286aa67b61533)
Co-authored-by: jnchen <caojingchen@live.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-116783) (#116870)
gh-116782: Mention `__type_params__` in `inspect.getmembers` docs (GH-116783)
(cherry picked from commit 16349868d396cc1bff5188de3638321e87fe0293)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
| |
|
|
|
|
|
|
| |
(#116854)
gh-90095: Ignore empty lines and comments in `.pdbrc` (GH-116834)
(cherry picked from commit a50cf6c3d76b34e2ee9f92a248f1b0df24e407f6)
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(GH-116734)
(cherry picked from commit 7f418fb111dec325b5c9fe6f6e96076049322f02)
|
| |
|
|
| |
(gh-116711)
|
| |
|
|
|
|
| |
(cherry picked from commit 3f1b6efee95c06f8912bcea4031afacdbc0d5684)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
| |
|
|
| |
subsequence tests. (gh-116696) (gh-116698)
|
| | |
|
| |
|
|
|
|
|
|
| |
(gh-116551)
gh-116535: Fix distracting "TypeError" in example code (gh-116538)
(cherry picked from commit db8f423f58e336eb6180a70d9886b443d7203c2c)
Co-authored-by: Declan <5962877+dec1@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
module (GH-116256) (#116533)
GH-116218 Docs: Add availability information for the 'resource' module (GH-116256)
Add availability data to 'resource' module Docs
(cherry picked from commit 03f86b1b626ac5b0df1cc74d8f80ea11117aec8c)
Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-107119) (GH116511)
(cherry picked from commit 601f3a7b3391e9d219a8ec44a6c56d00ce584d2a)
Co-authored-by: Nicolas A. Oyarzabal <79150521+nicky-eng@users.noreply.github.com>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
|
| |
directives (GH-116298) (GH-116450)
(cherry picked from commit 808a77612fb89b125d25efac2788522a100e8a6d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-115623) (GH-116248)
Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:
- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`
Based on the "flush" idea from https://github.com/python/cpython/pull/115138#issuecomment-1932444270 .
- Please treat as a security fix related to CVE-2023-52425.
(cherry picked from commit 6a95676bb526261434dd068d6c49927c44d24a9b)
(cherry picked from commit 73807eb634315f70a464a18feaae33d9e065de09)
(cherry picked from commit eda2963378a3c292cf6bb202bb00e94e46ee6d90)
---------
Includes code suggested-by: Snild Dolkow <snild@sony.com>
and by core dev Serhiy Storchaka.
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
| |
|
|
|
|
| |
Amend wording after gh-116019 was merged.
(cherry picked from commit e205c5cd8f1a49d0ef126123312ee8a40d1416b6)
Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com>
|
| |
|
|
| |
Co-authored-by: cui fliter <imcusg@gmail.com>
(cherry picked from commit e7ba6e9dbe5433b4a0bcb0658da6a68197c28630)
|
| |
|
|
|
| |
(cherry picked from commit 0064dfa0919cc93257c351a609f99461f6e4e3ac)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
| |
(gh-116312)
|
| |
|
|
|
| |
(GH-115915)
(cherry picked from commit dac8ff4c401f75e65a5eef1514f2d7987e63bbfe)
|
| |
|
|
|
|
|
|
| |
(GH-116282) (#116285)
gh-116281: Remove wrong '\' from '\*' in some doc signatures (GH-116282)
(cherry picked from commit 4859ecb8609b51e2f6b8fb1b295e9ee0f83e1be6)
Co-authored-by: HarryLHW <123lhw321@gmail.com>
|
| |
|
|
|
|
|
|
| |
comparisons if tzinfo is the same (GH-116187) (GH-116216)
This mostly restores information removed in c12240ed28aac6494750e00143bc550c4d6d8ad1 (GH-114749).
(cherry picked from commit 05b04903a14279421ecdc6522b8202822de6ebb5)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
| |
(GH-116109) (GH-116185)
(cherry picked from commit 3b6f4cadf19e6a4edd2cbbbc96a0a4024b395648)
|
| | |
|
| |
|
|
|
|
| |
Fix rendering of null character in ast.rst (GH-116080)
(cherry picked from commit c04a981ff414b101736688773dbe24f824ca32ce)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 91c3c64237f56bde9d1c1b8127fdcb02a112b5a4)
Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
|
| |
|
|
|
|
|
| |
docs (GH-116135) (#116147)
(cherry picked from commit dbe44f150cd161bd327ed662e527a4c93829fb3e)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
docs (GH-116086) (#116106)
gh-115937: Remove implementation details from inspect.signature() docs (GH-116086)
(cherry picked from commit fb2e17b642fc3089e4f98e4bf6b09dd362e6b27d)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
| |
|
|
| |
(gh-116082) (gh-116084)
|
| |
|
|
|
| |
(GH-116065)
Add note to not call super().__new__() in docs.
|
| | |
|