| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(cherry picked from commit 0f6420640c0f3462e6b76b01a392844676de1fb9)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 1cf3d78c92eb07dc09d15cc2e773b0b1b9436825)
Co-authored-by: Jeremy Paige <ucodery@gmail.com>
|
|
|
|
|
|
|
| |
docs (GH-98710)
(cherry picked from commit 49f6ff719c4e0beeafd6c42edd696601acf72764)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
|
|
| |
(GH-93068)
(cherry picked from commit f3db68e6e66ebb36e1b9cb30daba913ecc736169)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
entry (GH-91499)
(cherry picked from commit c615286e8576f2555d4380f38a966c300805b1a5)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Pieter Eendebak <P.T.eendebak@tudelft.nl>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit a2bb3b7f9d8d15c81b724726454d68357fb31d1c)
Co-authored-by: Bisola Olasehinde <horlasehinde@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
|
|
|
|
|
| |
(cherry picked from commit cb60b6131bc2bb11c48a15f808914d8b242b9fc5)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit 36a0b1d0dddbdf324d98071ea31e7e9151eea6d5)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 8edcb30c3f8bdd8099a093146fedbd9b63a3f667)
Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 5ee7eb9debb12914f36c5ccee92460a681516fd6)
Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 5234e1cbea686e38392f113707db322ad8405048)
Co-authored-by: Ben Darnell <ben@bendarnell.com>
|
|
|
|
|
|
|
|
| |
Back in commit 226e6e7d4326cf91ef37e13528eb1f62de1bb832
an item was added to the list, renumbering all the rest of the
items, but the forward-reference wasn't updated to match.
(cherry picked from commit f23236a92d8796ae91772adaf27c3485fda963e8)
Co-authored-by: Frank Dana <ferdnyc@gmail.com>
|
|
|
|
|
|
|
| |
(GH-100207)
(cherry picked from commit d3ea82aaf940167482df1e08d6482de8f2dd8526)
Co-authored-by: Filipe Laíns <lains@riseup.net>
|
|
|
|
|
|
|
| |
Example needed to be indented. Was trying to call a context manger `pr` (from ` with cProfile.Profile() as pr:`) wot perform ` pr.print_stats()` once it had already exited.
(cherry picked from commit 8711b59f7ac1803307d340e357e025043fbe2f39)
Co-authored-by: jarrodcolburn <jcourtlandcolburn@gmail.com>
Automerge-Triggered-By: GH:AlexWaygood
|
|
|
|
|
| |
(cherry picked from commit 70be5e42f6e288de32e0df3c77ac22a9ddf1a74b)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit d5f8a2b6ad408368e728a389da918cead3ef7ee9)
Co-authored-by: Brad Wolfe <brad.wolfe@gmail.com>
|
|
|
|
|
|
|
| |
(GH-100052)
(cherry picked from commit 7c0fb71fbfa8682f56c15832e2c793a6180f2ec0)
Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit 41d4ac9da348ca33056e271d71588b2dc3a6d48d)
Co-authored-by: Jia Junjie <62194633+jiajunjie@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
when a new event loop is created (#100059)
It no longer emits a deprecation warning if the current event loop was set.
(cherry picked from commit 3fae04b10e2655a20a3aadb5e0d63e87206d0c67)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
|
|
|
| |
(cherry picked from commit bed15f87eadc726122185cf41efcdda289f4a7b1)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
| |
Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
(cherry picked from commit d8ab0a4dfa48f881b4ac9ab857d2e9de42f72828)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
| |
(cherry picked from commit 51ee0a29e9b20c3e4a94a675e73a894ee2fe447b)
Co-authored-by: Ram Rachum <ram@rachum.com>
Co-authored-by: Ram Rachum <ram@rachum.com>
|
|
|
|
|
|
|
| |
and suggest other edits (GH-99784)
(cherry picked from commit bf26bdf6ac04878fc720e78422991aaedb9808a1)
Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
mention ```fullmatch()``` (GH-98916) (GH-99913)
GH-98906 ```re``` module: ```search() vs. match()``` section should mention ```fullmatch()``` (GH-98916)
Mention fullmatch along with search and match.
(cherry picked from commit e0f91deb5930ecb02e7f8ced9bd82609e6889fb0)
Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 052bc128ac0bcafd36a0cbee5f4c2a10d74468dc)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
|
|
|
|
|
|
|
|
| |
Mention PEP 647 in the Release highlights section.
Also re-ordered the list so it matches the order in the details sections below.
(cherry picked from commit d74a58872c243bc766055d42f8280721629e3c82)
Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
|
|
|
|
|
| |
library (GH-94187)
Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These slots are marked "should be treated as read-only" in the
table at the start of the document. That doesn't say anything about
setting them in the static struct.
`tp_bases` docs did say that it should be ``NULL`` (TIL!). If you
ignore that, seemingly nothing bad happens. However, some slots
may not be inherited, depending on which sub-slot structs are present.
(FWIW, NumPy sets tp_bases and is affected by the quirk -- though to
be fair, its DUAL_INHERIT code probably predates tp_bases docs, and
also the result happens to be benign.)
This patch makes things explicit.
It also makes the summary table legend easier to scan.
(cherry picked from commit 219696abb240607d3f807853c4c180825e60716e)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 276643e207d44c53b87a8108d5b00982defcce1e)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
|
|
| |
(cherry picked from commit 22860dbbc8b53954055847d2bb036af68b4ea409)
Co-authored-by: George Zhang <geetransit@gmail.com>
|
|
|
|
|
|
|
|
|
| |
The docs stated that PyImport_ImportFrozenModuleObject() returns a
new reference, but it actually returns an int.
(cherry picked from commit 62a5dc13e941d01beb215db4218a10977914ab55)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
Changing TraversableReader to TraversableResources at one place of the documentation.
See GH-99795 for more details..
(cherry picked from commit 5f8898216e7b67b7de6b0b1aad9277e88bcebfdb)
Co-authored-by: busywhitespace <busywhitespace@tuta.io>
Co-authored-by: busywhitespace <busywhitespace@tuta.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`secrets.compare_digest` (GH-99512) (#99790)
gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512)
Now it is in sync with https://docs.python.org/3/library/hmac.htmlGH-hmac.compare_digest
It is the same function, just re-exported. So, I guess they should mention the same input types.
(cherry picked from commit 47d673d81fc315069c14f9438ebe61fb70ef1ccc)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
A opy of GH-98549, whose author (@icecream17) uses a school computer that blocks the CLA site. I did not mention this in commit comment above so CLA bot does not pick up the name and request the CLA again.
(cherry picked from commit a86d8545221b16e714ffe3bda5afafc1d4748d13)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
| |
(cherry picked from commit 8749121b07f48994ea47f2e7ff75fb13c13953f6)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
|
| |
Also some cosmetic blank line additions for consistency with the
formatting of the rest of the file.
(cherry picked from commit b5b3904f05e77f044f158307bc6bdd2bc1b670a2)
Co-authored-by: Zachary Ware <zach@python.org>
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-99529)
On some platforms, and in particular macOS/arm64, the calling
convention for variadic arguments is different from the regular
calling convention. Add a section to the documentation to document
this.
(cherry picked from commit bc3a11d21ddef28047b18c0f6a5068fa9fb16da2)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
examples/warnings (GH-99141) (GH-99703)
gh-99146 struct module documentation should have more predictable examples/warnings (GH-99141)
* nail down a couple examples to have more predictable output
* update a number of things, but this is really just a stash...
* added an applications section to describe typical uses for native and machine-independent formats
* make sure all format strings use a format prefix character
* responding to comments from @gpshead. Not likely finished yet.
* This got more involved than I expected...
* respond to several PR comments
* a lot of wordsmithing
* try and be more consistent in use of ``x`` vs ``'x'``
* expand examples a bit
* update the "see also" to be more up-to-date
* original examples relied on import * so present all examples as if
* reformat based on @gpshead comment (missed before)
* responding to comments
* missed this
* one more suggested edit
* wordsmithing
(cherry picked from commit 22d91c16bb03c3d87f53b5fee10325b876262a78)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GH-95815: Document less specific error for os.remove (GH-99571)
os.remove can raise PermissionError instead of IsADirectoryError,
when the object to be removed is a directory (in particular on
macOS).
This reverts a change done in GH-14262.
(cherry picked from commit 1cae31d26ba621f6b1f0656ad3d69a0236338bad)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
|
|
|
|
|
| |
(cherry picked from commit 27d8dc2c9d3de886a884f79f0621d4586c0e0f7a)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
|
|
| |
The sentence "Set the LC_CTYPE locale to the user preferred locale." should end with a period
instead of a question mark.
(cherry picked from commit 0e09d2cc59cad61ad6a7a79aade52e9a2cfa7b34)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
|
|
|
|
|
|
| |
representation (GH-98302) (#99452)
gh-92119: ctypes: Print exception class name instead of its representation (#98302)
(cherry picked from commit b9dedfe61dce2997e3e6be318d8c50b0c19c9394)
|
|
|
|
|
| |
(cherry picked from commit dfc1b17a23fed933cffa09eec125a7e8c90ea867)
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit c3c3871415c86088d45abcf73ccd2c2b09dc5772)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
|
|
|
| |
fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py
[why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
(cherry picked from commit d26ee8a0a552de111b8245ef0de63e3f3f535d9f)
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 2f4af2d99cffed6ba81e4b8fd886de6ae8625a3f)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 2eee9d9cd7eb1e396fa9a4af7c5fadeeafbdaa38)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GH- Fix broken link in Doc/library/asyncio-subprocess.rst
This is a trivial fix in documentation to fix a broken link.
There is a broken link in [Doc/library/asyncio-subprocess.rst](https://docs.python.org/3/library/asyncio-subprocess.htmlGH-asyncio.subprocess.Process) for the function ``wait_for``:

I suppose this refers to the function ``asyncio.wait_for`` which is not clear in the docs.
This PR fixes the link and the result looks like the following:

(cherry picked from commit acf4d5d5bdecbc8756276731e09bae245d88518d)
Co-authored-by: Mikael Koli <koli.mikael@gmail.com>
Automerge-Triggered-By: GH:AlexWaygood
|
|
|
|
|
|
|
|
|
|
|
|
| |
inheritance (GH-99002) (GH-99213)
gh-96746: Docs: Clear up Py_TPFLAGS_DISALLOW_INSTANTIATION inheritance (GH-99002)
The flag is not inherited, but its effect -- a NULL tp_new -- is.
Drop hints for people who come here wanting to “disallow instantiation”.
(cherry picked from commit 1438b779971605e516bd0a4051a704d6ffbbd58d)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 728e42fcf51cbb2108caf1382df224c13b53d024)
Co-authored-by: jmcb <joelsgp@protonmail.com>
|