| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(cherry picked from commit 48824fa1e26595ac97ffc96ee2c3d32ff130c420)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-28947) (GH-29373)
Specify that SSLContext.set_default_verify_paths is called on ALL systems.
The code of SSLContext.load_default_certs was changed in bpo-22449 to do this,
this fix corrects the documentation to match that change.
(cherry picked from commit 3551bf16ee5c25b6349209dd30e032f0f3b9ace3)
Co-authored-by: LincolnPuzey <lincoln@puzey.dev>
|
|
|
| |
Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-45516: add protocol description to the Traversable documentation
Signed-off-by: Filipe Laíns <lains@riseup.net>
* Update Doc/library/importlib.rst
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Update Lib/importlib/abc.py
* Update Doc/library/importlib.rst
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
(cherry picked from commit 4d03de3329ed8daa9c1107b1aedbb0fa280bddb6)
Co-authored-by: Filipe Laíns <filipe.lains@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
The link broke for Python 3.10 since importlib.metadata was made from a module into a package
I think this is trivial enough to not need a bpo issue.
Automerge-Triggered-By: GH:jaraco
(cherry picked from commit aae18a17401dc36917c0f64f971d60ab1a5b477e)
Co-authored-by: Philipp A <flying-sheep@web.de>
|
|
|
|
|
|
|
|
| |
(GH-29204) (GH-29322)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit b17cfd150f4dc2816975d304a71110a2d445eaf0)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
|
|
|
| |
(GH-29319)
(cherry picked from commit 3877fc02f7a8801ba5ce0e94b6075b3fdd9778d0)
Co-authored-by: Ian Fisher <ian@iafisher.com>
|
|
|
|
|
| |
(cherry picked from commit d9575218d7ab3d85b15ce3d4779660b9b724d343)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The list of PEPs at the top of the documentation for the ``typing`` module has
become too long to be readable. This PR proposes presenting this
information in a more structured and readable way by adding a new "relevant
PEPs" section to the ``typing`` docs.
(cherry picked from commit 03db1bbfd2d3f5a343c293b2f0e09a1e962df7ea)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
|
|
|
|
| |
It should be noted that this part of the documentation is redundant with
function.rst's documentation of int. This one was correctly updated with Python 3.8.
(cherry picked from commit d9c1868c25ec6466e8d8ae21fe9315a8a03836ab)
Co-authored-by: Arthur Milchior <arthur@milchior.fr>
|
|
|
|
|
|
|
|
| |
(GH-29226) (GH-29283)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 1fb968c07a76fb2d1ec8c14a0026f1d15828f4a5)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
| |
(GH-29219) (GH-29281)
(cherry picked from commit 88d8a1a340fb09c54d47f354f5fd7d4fbc5f0c78)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
|
|
|
| |
(GH-29246) (GH-29249)
Objects that support garbage collection ("container" objects) should
call PyObject_GC_UnTrack() from their destructors before clearing any
fields which may point to other "container" objects.
(cherry picked from commit 35e1ff38ee67ee543d9fcb268c3552c5397f9b3f)
Co-authored-by: Sam Gross <colesbury@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 0a68b3603fbc0aaf9eeb8ce8b42b78d6fa7cfa78)
Co-authored-by: Justinas Petuchovas <justinas.petuchovas@gmail.com>
|
|
|
|
|
|
|
| |
(GH-29230) (GH-29240)
Co-authored-by: Maciej Olko <maciej.olko@yougov.com>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
(cherry picked from commit bcee6aa31550cfecdc3acecbd0e4447bb0051887)
|
|
|
|
|
|
|
|
| |
inputs. (GH-27853) (GH-29135)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 887a55705bb6c05a507c2886c9978a9e0cff0dd7)
Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
|
|
|
|
|
|
|
|
| |
* add availability info to AF_PACKET section
* add availability for AF_QIPCRTR as well
(cherry picked from commit 51375388bee7287be2d942906b48c8cf3f691e8b)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-27105) (GH-29119)
(cherry picked from commit 5a14f71fe869d4a62dcdeb9a8fbbb5884c75060c)
Co-authored-by: Thomas <thmsdnnr@gmail.com>
|
|
|
|
| |
- fix exception leaks
- re-add deprecation warnings
|
|
|
|
|
|
|
|
| |
(GH-29094) (GH-29104)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
(cherry picked from commit dff0b713436e286bb1afdd7c6f3093c8e8db16dd)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
|
|
| |
(cherry picked from commit d9e1dae35ac20acfeb2509b0dea4c3943693e79d)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
| |
(GH-29047) (GH-29067)
Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7bafa0cf586227987d3d662264d491e3780024b7)
|
|
|
|
|
|
|
|
| |
We should have done this way back when 3.9 was released, but it fell off
the radar.
Co-authored-by: Paul Ganssle <git@m.ganssle.io>
(cherry picked from commit 8e40ca127fa92d6113617c80710e0a077977a84d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-28851) (GH-28989)
The global statement allows specifying a list of identifiers
(https://docs.python.org/3/reference/simple_stmts.htmlGH-the-global-statement).
The "Execution model" chapter described the global statement as if it
only allowed one single name. Pluralize "name" in the appropriate places.
(cherry picked from commit 4ecd119b007cb766b8bede2dc78b70d29cd932dd)
Co-authored-by: Luca Chiodini <luca@chiodini.org>
Co-authored-by: Luca Chiodini <luca@chiodini.org>
|
|
|
|
|
|
|
|
|
|
|
| |
"raw-unicode-escape" codec (GH-28944) (GH-28952)
They support now splitting escape sequences between input chunks.
Add the third parameter "final" in codecs.raw_unicode_escape_decode().
It is True by default to match the former behavior.
(cherry picked from commit 39aa98346d5dd8ac591a7cafb467af21c53f1e5d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
"unicode-escape" codec (GH-28939) (GH-28943)
They support now splitting escape sequences between input chunks.
Add the third parameter "final" in codecs.unicode_escape_decode().
It is True by default to match the former behavior.
(cherry picked from commit c96d1546b11b4c282a7e21737cb1f5d16349656d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also:
* Expand the discussion into its own entry. (Even before this,
text on ``_`` was longet than the text on ``_*``.)
* Briefly note the other common convention for `_`: naming unused
variables.
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3dee0cb6217db326e844955a7f8b424c67990557)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
|
| |
To avoid error, add either space or parentheses.
(cherry picked from commit 380c44087505d0d560f97e325028f27393551164)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
| |
(cherry picked from commit 1b11582f0e00f08833da6adc44030a8b1961989a)
Co-authored-by: nobodyatandnothing <91722596+nobodyatandnothing@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit b37dc9b3bc9575adc039c6093c643b7ae5e917e1)
Co-authored-by: 180909 <wjh180909@gmail.com>
|
|
|
|
|
|
|
|
| |
Document that the "standalone" parameter was added in Python 3.9.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit c7e81fcf9548ab6a0a4828d6f2db9ece9d204826)
Co-authored-by: Jens Diemer <github.com@jensdiemer.de>
|
|
|
|
|
| |
(cherry picked from commit 659812b451aefe1f0e5f83540296519a5fb8f313)
Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit dbd62e74dadda7868f1c0d497414c8f7e4c0b12b)
Co-authored-by: Rim Chatti <chattiriim@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 0bcc5ade9bff086a0b24d71307fae0a891f4efd2)
Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This is true of all dictionaries in Python, but this one tends to
catch people off guard as they don't realize when sys.modules might
change out from underneath them as a hidden side effect of their
code. Copying it first avoids the RuntimeError. An example when
this happens in single threaded code are codecs being loaded which
are an implicit time of use import that most need not think about.
(cherry picked from commit 3d1ca867ed0e3ae343166806f8ddd9739e568ab4)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
| |
(cherry picked from commit 5b4a7675bcfc6368aff955f4a6231579718f5dad)
Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
|
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 32485cecab0111a858055b7a60df3b9903b162e3)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Thanks for the fix @wiggin15 .
(cherry picked from commit 599c07006a636b0a6904008534118a9ba3daf726)
Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
Automerge-Triggered-By: GH:JulienPalard
|
|
|
|
|
|
|
|
|
|
|
|
| |
It took me longer than I expected to figure out why a random class
I dealt with didn't support weak references. I believe this addition
will make the __slots__/weakref interaction more discoverable to people
having troubles with this. (Before this patch __slots__ was not
mentioned in weakref documentation even once).
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit b24b47e64355224c1bf4e46ed7c4d9f7df4e6f09)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
|
|
|
|
|
|
|
|
| |
clarity (GH-27989) (GH-28762)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7af95a1e8097b2aab2cbe8de88727809e745b658)
Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 1dac95c814763eb8a53896ac4326d8d51895d43d)
Co-authored-by: Julien Palard <julien@palard.fr>
|
|
|
|
|
|
| |
It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't.
(cherry picked from commit 4103280b83e1419bef535a42813d6dbe83bfe880)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
| |
(GH-28698)
|
|
|
|
|
|
| |
pypi.org " The Python Package Index (PyPI) ...
(cherry picked from commit 0be338199fd663f020d833a4db185d0c5a0e0078)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
| |
(cherry picked from commit 746d648d47d12d16c2afedaeff626fc6aaaf6a46)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
| |
(GH-28616)
(cherry picked from commit bc4cde40339dd372960f27401d8fdaa4dab0f469)
Co-authored-by: zhanpon <pon.zhan@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|