Skip to content

Conversation

@Stevoisiak
Copy link
Contributor

@Stevoisiak Stevoisiak commented Feb 8, 2023

Ignore

miss-islington and others added 30 commits November 26, 2022 15:19
…s.compare_digest` (pythonGH-99512) (python#99791)

pythongh-99502: mention bytes-like objects as input in `secrets.compare_digest` (pythonGH-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 47d673d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…n compiler (pythonGH-95897)

(cherry picked from commit ec2b76a)

Co-authored-by: TheShermanTanker <32636402+TheShermanTanker@users.noreply.github.com>
Co-authored-by: Steve Dower <steve.dower@python.org>
…nd ._asdict would include the processor. (pythongh-98343)

(cherry picked from commit dc063a2)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Changing TraversableReader to TraversableResources at one place of the documentation.

See pythonGH-99795 for more details.
(cherry picked from commit 5f88982)

Co-authored-by: busywhitespace <busywhitespace@tuta.io>
…ty (pythonGH-91850)

(cherry picked from commit 78365b8)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
…onGH-24659)

The docs stated that PyImport_ImportFrozenModuleObject() returns a
new reference, but it actually returns an int.

(cherry picked from commit 62a5dc1)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 22860db)

Co-authored-by: George Zhang <geetransit@gmail.com>
…ks on macOS (pythonGH-99768)

On macOS all file descriptors for a particular file in /dev/fd
share the same file offset, that is ``open("/dev/fd/9", "r")`` behaves
more like ``dup(9)`` than a regular open.

This causes problems when a user tries to run "/dev/fd/9" as a script
because zipimport changes the file offset to try to read a zipfile
directory. Therefore change zipimport to reset the file offset after
trying to read the zipfile directory.
(cherry picked from commit d08fb25)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
…eter (pythonGH-32339)

pythonGH-91340

https://bugs.python.org/issue47184
(cherry picked from commit dfc2732)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
Automerge-Triggered-By: GH:kumaraditya303
(cherry picked from commit 276643e)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
… infile (pythonGH-99629)

(cherry picked from commit 594de16)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 492dc02)

Co-authored-by: Georg Brandl <georg@python.org>
…egfaults (pythonGH-18640) (python#99841)

Co-authored-by: Oren Milman <orenmn@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

(cherry picked from commit 53eef27)
…-99342)

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 219696a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
…ythonGH-99819)

(cherry picked from commit ca3e611)

Co-authored-by: Matthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
…mat string (pythonGH-99812) (pythonGH-99851)

(cherry picked from commit 1d1bb95)
Co-authored-by: cemysce <13400533+cemysce@users.noreply.github.com>
…ution of ParamSpec and TypeVarTuple (pythonGH-99412)

* Fix substitution of TypeVarTuple and ParamSpec together in user generics.

* Fix substitution of ParamSpec followed by TypeVarTuple in generic aliases.

* Check the number of arguments in substitution in user generics containing a
  TypeVarTuple and one or more TypeVar.
(cherry picked from commit 8f2fb7d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…n base64 library (pythonGH-94187)

(cherry picked from commit 05dfc53)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
…thonGH-99853)

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 d74a588)

Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
(cherry picked from commit 052bc12)

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Fixes private checks for network objects. The previous method would incorrectly return True for a private check in cases such as "0.0.0.0/0".
(cherry picked from commit ed39109)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
…thod (pythonGH-25491)

(cherry picked from commit 9628136)

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
…tion should mention ```fullmatch()``` (pythonGH-98916) (pythonGH-99912)

pythonGH-98906 ```re``` module: ```search() vs. match()``` section should mention ```fullmatch()``` (pythonGH-98916)

Mention fullmatch along with search and match.
(cherry picked from commit e0f91de)

Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>

Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
…ythonGH-96194)

(cherry picked from commit 367f552)

Co-authored-by: Christoph Anton Mitterer <calestyo@scientia.org>
Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Co-authored-by: Eryk Sun <eryksun@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…howing warnings (pythonGH-99893) (pythonGH-99896)

Automerge-Triggered-By: GH:pablogsal.
(cherry picked from commit 417206a)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
…eclara… (pythonGH-99919)

…tion warnings in configure.ac (pythonGH-99406)

Follow up to 12078e7. (cherry picked from commit e35ca41)
…99922)

Cast size_t to Py_ssize_t, rather than casting it to long. On 64-bit
Windows, long is 32-bit whereas Py_ssize_t is 64-bit.
…tic_sets (pythonGH-99935)

Existing elements do produce different output on x86_64, but they
do not on x86. Let's make the data longer to ensure it differs.
(cherry picked from commit c68573b)

Co-authored-by: Alexander Kanavin <alex.kanavin@gmail.com>
… active voice and suggest other edits (pythonGH-99784)

(cherry picked from commit bf26bdf)

Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
…ctionaries (python#99902)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@ghost

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.