| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Also consolidate following paragraphs regarding database objects.
(cherry picked from commit 0bd8297a2208125f76807cdf01f72abe5c94136b)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
(GH-114594) (#114595)
(cherry picked from commit 8710faeac28e65c65862359413e8341492f529af)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 06c5de36f222b926bbc94831536096b974bd5e77)
Also...
- consistently spell GDBM as GDBM
- silence gdbm class refs
- improve accuracy of dbm.gdbm.open() spec
|
|
|
|
|
|
|
| |
`requires_resource('console')` decorator (GH-114565)
(cherry picked from commit 33ae9895d4ac0d88447e529038bc4725ddd8c291)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
|
|
|
|
| |
Store (GH-114358)
(cherry picked from commit d5c21c12c17b6e4db2378755af8e3699516da187)
Co-authored-by: Vincent Cunningham <flagrama@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-108745) (GH-114536)
(cherry picked from commit 6888cccac0776d965cc38a7240e1bdbacb952b91)
Co-authored-by: plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com>
|
|
|
|
|
|
|
| |
Also turn sentence about prot_p() into a note.
(cherry picked from commit 6fadd68da5dd928847264b17f62a5b8b369c1c1e)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
|
|
| |
(GH-104361) (GH-114528)
* remove reference to removed module-level wrap_socket
* drive by typo fix
(cherry picked from commit 127a49785247ac8af158b18e38b722e520054d71)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
|
|
|
|
|
|
|
|
| |
(#114527)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
|
| |
(GH-114521) (#114525)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
concurrent.futures (GH-114489)
This was left out of the 3.12 backport for three related issues:
- gh-107219 (which adds `self.call_queue._writer.close()` to `_ExecutorManagerThread` in `concurrent.futures`)
- gh-109370 (which changes this to be only called on Windows)
- gh-109047 (which moves the call to `multiprocessing.Queue`'s `_terminate_broken`)
Without this change, ProcessPoolExecutor sometimes hangs on Windows
when a worker process is terminated.
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
to start (GH-114249) (GH-114516)
(cherry picked from commit ce75b4c26d18dcd840fd2e7ee362a84209648d06)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
(#114519)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-114495) (GH-114502)
On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-114269) (GH-114499)
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
(GH-114343) (#114488)
gh-108303: Move `.whl` test files to `Lib/test/wheeldata/` (GH-114343)
(cherry picked from commit ba253a4794ae2d35a6f6df46a98a1ed38bd61268)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-114395) (#114485)
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>
|
|
|
|
|
|
|
|
| |
(GH-114399) (#114483)
(cherry picked from commit 5277d4c7dbd1baee300e494fce2738cee218c243)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-114425) (#114477)
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>
|
|
|
|
|
|
|
|
| |
practice (#114409) (#114472)
(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>
|
|
|
|
|
|
|
|
|
| |
docs (GH-114035) (#114464)
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>
|
|
|
|
|
|
|
|
|
|
|
| |
(#114462)
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>
|
|
|
|
|
|
| |
(GH-114031) (#114460)
(cherry picked from commit 3a61d24062aaa1e13ba794360b6c765d9a1f2b06)
|
|
|
|
| |
illustrative purposes (GH-112198) (#114458)
|
|
|
|
|
|
|
| |
(GH-114394) (GH-114444)
(cherry picked from commit 7fc51c3f6b7b13f88480557ff14bdb1c049f9a37)
Co-authored-by: AN Long <aisk@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
asyncio.BaseEventLoop.create_server() (GH-114420) (GH-114441)
(cherry picked from commit a53e56e7d88b4f2a2943c9f191024198009fcf9e)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
|
|
|
|
|
|
|
|
| |
builds (GH-114309) (#114439)
gh-114275: Skip doctests that use `asyncio` in `test_pdb` for WASI builds (GH-114309)
(cherry picked from commit efb81a60f5ce7e192095230a0f7ff9684d6f835a)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
(GH-114194) (#114436)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 6d30cbee013b4182937ffa11a7c87d2a7b6b7b41)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
|
|
|
|
|
|
|
|
| |
gh-108303: Remove `Lib/test/shadowed_super.py` (GH-114372)
Move code into Lib/test/test_super.py.
(cherry picked from commit 2ef520ebecf5544ba792266a5dbe4d53653a4a03)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from a foreign thread (GH-113261) (GH-114430)
Always set a _MainThread as a main thread after os.fork() is called from
a thread started not by the threading module.
A new _MainThread was already set as a new main thread after fork if
threading.current_thread() was not called for a foreign thread before fork.
Now, if it was called before fork, the implicitly created _DummyThread will
be turned into _MainThread after fork.
It fixes, in particularly, an incompatibility of _DummyThread with
the threading shutdown logic which relies on the main thread
having tstate_lock.
(cherry picked from commit 49785b06ded19c7c4afce186bac90fea707470ea)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-114026) (GH-114406)
It is no longer silently passed if RecursionError was raised for low
recursion depth.
(cherry picked from commit db1c18eb6220653290a3ba9ebbe1df44394a3f19)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
gh-108303: Move `smtpd` to `test.support` (GH-114368)
Update test_logging.py and test_smtplib.py.
(cherry picked from commit 8f5e7d739f56a75022dfe8fa24675b6c7b321ab5)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
| |
(cherry picked from commit 650f9e4c94711ff49ea4e13bf800945a6147b7e0)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
|
| |
The terminal CR -> NL mapping setting should be inherited in cbreak mode as OSes do not specify altering it as part of their stty cbreak mode definition.
(cherry picked from commit fd49e226700e2483a452c3c92da6f15d822ae054)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
|
|
| |
* Fix writing the retrieved binary file to stdout.
* Add a newline after writing warnings to stderr.
* Fix a TypeError if the netrc file doesn't contain a host/default entry.
* Improve the usage message.
(cherry picked from commit 42d72b23dd1ee0e100ee47aca64fc1e1bbe576c9)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
recommendations (#114400) (#114402)
(cherry picked from commit 336030161a6cb8aa5b4f42a08510f4383984703f)
When a parameter is added to a function or method, use the 'versionchanged'
directive, not 'versionadded'.
|
|
|
|
|
| |
(cherry picked from commit de17cf444a7b1e06380bb5bf8547f1fc3c03fc4a)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
| |
__getattr__ (GH-113359) (#114173)
|
|
|
|
|
|
|
| |
implementation (GH-114385) (#114386)
(cherry picked from commit 38768e4cdd1c4b6e03702da8a94e1c22479d6ed3)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
(cherry picked from commit 96c15b1c8d03db5b7b5b719214d9d156b317ba9d)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
|
| |
(cherry picked from commit fbc28748eaf578436ef9662363575f6bdde2e2f7)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(#114377)
gh-101100: Fix sphinx warnings in `Doc/c-api/memory.rst` (GH-114373)
(cherry picked from commit 47133d8d869c94c4d1f340b5481cc3f2cdc7d68b)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
| |
(GH-114276) (#114365)
|
|
|
|
|
|
|
|
|
|
| |
(#114353)
Docs: Add missing line continuation to FTP_TLS class docs (GH-114352)
Regression introduced by b1ad5a5d4.
(cherry picked from commit 8f4f77364750d0ceec47157e8920983e3f41651f)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|