]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agogh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434)
Jack DeVries [Tue, 12 Apr 2022 00:57:52 +0000 (20:57 -0400)] 
gh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434)

* add a paragraph to document this kwarg in detail
* update docstring in the source accordingly

3 years agogh-79097: Add support for aggregate window functions in sqlite3 (GH-20903)
Erlend Egeberg Aasland [Tue, 12 Apr 2022 00:55:59 +0000 (02:55 +0200)] 
gh-79097: Add support for aggregate window functions in sqlite3 (GH-20903)

3 years agogh-91217: deprecate crypt (GH-91459)
Brett Cannon [Tue, 12 Apr 2022 00:02:19 +0000 (17:02 -0700)] 
gh-91217: deprecate crypt (GH-91459)

3 years agogh-91428: Add _PyOpcode_OpName to opcode.h of debug builds (GH-91430)
Dennis Sweeney [Mon, 11 Apr 2022 22:33:00 +0000 (18:33 -0400)] 
gh-91428: Add _PyOpcode_OpName to opcode.h of debug builds (GH-91430)

3 years agogh-47061: Deprecate `chunk` (GH-91419)
Brett Cannon [Mon, 11 Apr 2022 22:02:41 +0000 (15:02 -0700)] 
gh-47061: Deprecate `chunk` (GH-91419)

3 years agogh-91117: Ensure integer mod and pow operations use cached small ints (GH-31843)
Dennis Sweeney [Mon, 11 Apr 2022 20:07:09 +0000 (16:07 -0400)] 
gh-91117: Ensure integer mod and pow operations use cached small ints (GH-31843)

3 years agoRemove dead "Check PRs with 'CLA not signed' label" (#91429)
Oleg Iarygin [Mon, 11 Apr 2022 16:34:17 +0000 (19:34 +0300)] 
Remove dead "Check PRs with 'CLA not signed' label" (#91429)

3 years agoUpdate Sphinx bpo role to use redirect URI. (#32342)
Ezio Melotti [Mon, 11 Apr 2022 15:59:35 +0000 (17:59 +0200)] 
Update Sphinx bpo role to use redirect URI. (#32342)

3 years agogh-91423: Remove bugs.python.org from bugs.rst (GH-91425)
roy reznik [Mon, 11 Apr 2022 15:10:34 +0000 (18:10 +0300)] 
gh-91423: Remove bugs.python.org from bugs.rst (GH-91425)

* Remove bugs.python.org from bugs.rst

* Update bugs.rst to the github issue tracker

* reflow

* Fix a typo and rephrase a sentence.

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
3 years agoGH-89480: Document motivation, design and implementation of 3.11 frame stack. (GH...
Mark Shannon [Mon, 11 Apr 2022 15:05:20 +0000 (16:05 +0100)] 
GH-89480: Document motivation, design and implementation of 3.11 frame stack. (GH-32304)

3 years agobpo-44807: Allow Protocol classes to define __init__ (GH-31628)
Adrian Garcia Badaracco [Mon, 11 Apr 2022 14:51:25 +0000 (09:51 -0500)] 
bpo-44807: Allow Protocol classes to define __init__ (GH-31628)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049)
John Belmonte [Mon, 11 Apr 2022 14:34:18 +0000 (23:34 +0900)] 
bpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049)

Add "z" format specifier to coerce negative 0 to zero.

See https://github.com/python/cpython/issues/90153 (originally https://bugs.python.org/issue45995) for discussion.
This covers `str.format()` and f-strings.  Old-style string interpolation is not supported.

Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
3 years agobpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400)
Irit Katriel [Mon, 11 Apr 2022 09:40:24 +0000 (10:40 +0100)] 
bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400)

3 years agoReplace contributor-visible mentions of BPO in .github/* (GH-91426)
Oleg Iarygin [Sun, 10 Apr 2022 22:03:27 +0000 (01:03 +0300)] 
Replace contributor-visible mentions of BPO in .github/* (GH-91426)

3 years agoRemove linking to bugs.python.org from the README (#91418)
Łukasz Langa [Sun, 10 Apr 2022 20:50:18 +0000 (22:50 +0200)] 
Remove linking to bugs.python.org from the README (#91418)

Fixes #91424.

3 years agoRemove the issue template config after the migration (GH-32106)
Ezio Melotti [Sun, 10 Apr 2022 19:13:33 +0000 (21:13 +0200)] 
Remove the issue template config after the migration (GH-32106)

3 years agonotify new-bugs-announce on new issue open (#32421)
Ee Durbin [Sun, 10 Apr 2022 17:48:53 +0000 (13:48 -0400)] 
notify new-bugs-announce on new issue open (#32421)

3 years agobpo-40280: WASM docs and smaller browser builds (GH-32412)
Christian Heimes [Sun, 10 Apr 2022 07:29:51 +0000 (10:29 +0300)] 
bpo-40280: WASM docs and smaller browser builds (GH-32412)

Co-authored-by: Brett Cannon <brett@python.org>
3 years agobpo-22295: use python -m pip rather than plain pip in more examples (GH-24003)
Ville Skyttä [Sat, 9 Apr 2022 18:37:01 +0000 (21:37 +0300)] 
bpo-22295: use python -m pip rather than plain pip in more examples (GH-24003)

3 years agoFix some typos in comments (GH-32422)
jonasdlindner [Sat, 9 Apr 2022 09:12:15 +0000 (11:12 +0200)] 
Fix some typos in comments (GH-32422)

3 years agobpo-47000: Add `locale.getencoding()` (GH-32068)
Inada Naoki [Sat, 9 Apr 2022 00:54:54 +0000 (09:54 +0900)] 
bpo-47000: Add `locale.getencoding()` (GH-32068)

3 years agobpo-47061: deprecate cgi and cgitb (GH-32410)
Brett Cannon [Sat, 9 Apr 2022 00:15:35 +0000 (17:15 -0700)] 
bpo-47061: deprecate cgi and cgitb (GH-32410)

Part of PEP 594.

3 years agobpo-47260: Fix os.closerange() potentially being a no-op in a seccomp sandbox (GH...
Alexey Izbyshev [Fri, 8 Apr 2022 17:40:39 +0000 (20:40 +0300)] 
bpo-47260: Fix os.closerange() potentially being a no-op in a seccomp sandbox (GH-32418)

_Py_closerange() currently assumes that close_range() closes
all file descriptors even if it returns an error (other than ENOSYS).
This assumption can be wrong on Linux if a seccomp sandbox denies
the underlying syscall, pretending that it returns EPERM or EACCES.
In this case _Py_closerange() won't close any descriptors at all,
which in the worst case can be a security issue.

Fix this by falling back to other methods in case of any close_range()
error. Note that fallbacks will not be triggered on any problems with
closing individual file descriptors because close_range() is documented
to ignore such errors on both Linux[1] and FreeBSD[2].

[1] https://man7.org/linux/man-pages/man2/close_range.2.html
[2] https://www.freebsd.org/cgi/man.cgi?query=close_range&sektion=2

3 years agoFix bad grammar and import docstring for split/rsplit (GH-32381)
Raymond Hettinger [Fri, 8 Apr 2022 13:36:20 +0000 (08:36 -0500)] 
Fix bad grammar and import docstring for split/rsplit (GH-32381)

3 years agoAdd feature macro PY_HAVE_THREAD_NATIVE_ID to the stable ABI definition (GH-32365)
Petr Viktorin [Fri, 8 Apr 2022 12:35:11 +0000 (14:35 +0200)] 
Add feature macro PY_HAVE_THREAD_NATIVE_ID to the stable ABI definition (GH-32365)

3 years agoAdd new PyFrame_GetLasti C-API function (GH-32413)
Mark Shannon [Fri, 8 Apr 2022 11:18:57 +0000 (12:18 +0100)] 
Add new PyFrame_GetLasti C-API function (GH-32413)

3 years agoClarify that this sentence applies to the above example. GH-32405
Raymond Hettinger [Fri, 8 Apr 2022 02:10:00 +0000 (21:10 -0500)] 
Clarify that this sentence applies to the above example. GH-32405

3 years agobpo-47250: Fix refleak from object.__getstate__() (GH-32403)
Dong-hee Na [Thu, 7 Apr 2022 23:27:00 +0000 (08:27 +0900)] 
bpo-47250: Fix refleak from object.__getstate__() (GH-32403)

Co-authored-by: Brandt Bucher <brandt@python.org>
3 years agobpo-47177: Replace `f_lasti` with `prev_instr` (GH-32208)
Brandt Bucher [Thu, 7 Apr 2022 19:31:01 +0000 (12:31 -0700)] 
bpo-47177: Replace `f_lasti` with `prev_instr` (GH-32208)

3 years agoDeprecate audioop (GH-32392)
Brett Cannon [Thu, 7 Apr 2022 19:27:35 +0000 (12:27 -0700)] 
Deprecate audioop (GH-32392)

3 years agoDoc: Fix spurious comma in the author metadata field (GH-32386)
CAM Gerlach [Thu, 7 Apr 2022 18:27:14 +0000 (13:27 -0500)] 
Doc: Fix spurious comma in the author metadata field (GH-32386)

Signed-off-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agossl docs: Fix typo (GH-32336)
Frederick [Thu, 7 Apr 2022 16:29:23 +0000 (09:29 -0700)] 
ssl docs: Fix typo (GH-32336)

3 years agoc-api docs: There are five fields, not four (GH-32379)
Jelle Zijlstra [Thu, 7 Apr 2022 14:02:54 +0000 (07:02 -0700)] 
c-api docs: There are five fields, not four (GH-32379)

3 years agobpo-40280: Detect missing threading on WASM platforms (GH-32352)
Christian Heimes [Thu, 7 Apr 2022 07:22:47 +0000 (10:22 +0300)] 
bpo-40280: Detect missing threading on WASM platforms (GH-32352)

Co-authored-by: Brett Cannon <brett@python.org>
3 years agoRemove micro-optimization that no longer shows a benefit. (GH-32397)
Raymond Hettinger [Thu, 7 Apr 2022 03:00:47 +0000 (22:00 -0500)] 
Remove micro-optimization that no longer shows a benefit. (GH-32397)

3 years agopickle docs: Fix typos and improve wording (GH-24776)
Géry Ogam [Thu, 7 Apr 2022 01:38:35 +0000 (03:38 +0200)] 
pickle docs: Fix typos and improve wording (GH-24776)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agodoc: Link to `string.capwords` from `str.title` (GH-20913)
Eric Wieser [Thu, 7 Apr 2022 01:31:39 +0000 (02:31 +0100)] 
doc: Link to `string.capwords` from `str.title` (GH-20913)

Since `title()` mentions its own short-comings, it should also mention the library function which does not possess them.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agossl docs: Fix typo (GH-32314)
Frederick [Thu, 7 Apr 2022 00:51:35 +0000 (17:51 -0700)] 
ssl docs: Fix typo (GH-32314)

3 years agopkgutil docs: Link sys constants, add backticks (GH-32356)
Boris Verkhovskiy [Thu, 7 Apr 2022 00:51:05 +0000 (17:51 -0700)] 
pkgutil docs: Link sys constants, add backticks (GH-32356)

Co-authored-by: Éric <merwok@netwok.org>
3 years agobpo-35134: Remove the Include/code.h header file (GH-32385)
Victor Stinner [Thu, 7 Apr 2022 00:29:52 +0000 (02:29 +0200)] 
bpo-35134: Remove the Include/code.h header file (GH-32385)

Remove the Include/code.h header file. C extensions should only
include the main <Python.h> header file.

Python.h includes directly Include/cpython/code.h instead.

3 years agobpo-35134: Add Include/cpython/setobject.h header (GH-32384)
Victor Stinner [Wed, 6 Apr 2022 23:26:24 +0000 (01:26 +0200)] 
bpo-35134: Add Include/cpython/setobject.h header (GH-32384)

3 years agobpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364)
Steve Dower [Wed, 6 Apr 2022 23:09:54 +0000 (00:09 +0100)] 
bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364)

3 years agobpo-35134: Add Include/cpython/complexobject.h header (GH-32383)
Victor Stinner [Wed, 6 Apr 2022 23:05:27 +0000 (01:05 +0200)] 
bpo-35134: Add Include/cpython/complexobject.h header (GH-32383)

Move the private _PyComplex_FormatAdvancedWriter() function to the
internal C API. This function is no longer exported.

3 years agobpo-46576: Speed up test_peg_generator by using a static library for shared sources...
Jeremy Kloth [Wed, 6 Apr 2022 21:55:58 +0000 (15:55 -0600)] 
bpo-46576: Speed up test_peg_generator by using a static library for shared sources (GH-32338)

Speed up test_peg_generator by using a static library for shared sources to avoid recompiling as much code.

3 years agoChange parameter name from *x* for reals to *n* for integers. (GH-32377)
Raymond Hettinger [Wed, 6 Apr 2022 19:35:05 +0000 (14:35 -0500)] 
Change parameter name from *x* for reals to *n* for integers. (GH-32377)

3 years agobpo-47061: use `warnings._deprecated()` with asynchat, asyncore, and smtpd (GH-32350)
Brett Cannon [Wed, 6 Apr 2022 18:22:39 +0000 (11:22 -0700)] 
bpo-47061: use `warnings._deprecated()` with asynchat, asyncore, and smtpd (GH-32350)

3 years agoMinor code nit: Move an unrelated statement out of a try clause in Sequence.index...
Géry Ogam [Wed, 6 Apr 2022 18:03:36 +0000 (20:03 +0200)] 
Minor code nit: Move an unrelated statement out of a try clause in Sequence.index (GH-32330)

3 years agobpo-26579: Add object.__getstate__(). (GH-2821)
Serhiy Storchaka [Wed, 6 Apr 2022 17:00:14 +0000 (20:00 +0300)] 
bpo-26579: Add object.__getstate__(). (GH-2821)

Copying and pickling instances of subclasses of builtin types
bytearray, set, frozenset, collections.OrderedDict, collections.deque,
weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes
implemented as slots.

3 years agoRemove python2 support in logging cookbook example. (GH-32362)
Mathieu Dupuy [Wed, 6 Apr 2022 16:57:54 +0000 (18:57 +0200)] 
Remove python2 support in logging cookbook example. (GH-32362)

3 years agobpo-46721: Optimize set.issuperset() for non-set arguments (GH-31280)
Serhiy Storchaka [Wed, 6 Apr 2022 16:57:13 +0000 (19:57 +0300)] 
bpo-46721: Optimize set.issuperset() for non-set arguments (GH-31280)

3 years agobpo-43464: Optimize set.intersection() for non-set arguments (GH-31316)
Serhiy Storchaka [Wed, 6 Apr 2022 16:56:28 +0000 (19:56 +0300)] 
bpo-43464: Optimize set.intersection() for non-set arguments (GH-31316)

3 years agobpo-47227: Suppress expression chaining for more RE parsing errors (GH-32333)
Serhiy Storchaka [Wed, 6 Apr 2022 16:54:44 +0000 (19:54 +0300)] 
bpo-47227: Suppress expression chaining for more RE parsing errors (GH-32333)

3 years agobpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)
Serhiy Storchaka [Wed, 6 Apr 2022 16:53:50 +0000 (19:53 +0300)] 
bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)

They were undocumented and never working.

3 years agoFix whitespace/indentation issues in test_sys (GH-32369)
Ken Jin [Wed, 6 Apr 2022 15:40:51 +0000 (22:40 +0700)] 
Fix whitespace/indentation issues in test_sys (GH-32369)

3 years agostdtypes docs: fix typo (GH-32349)
Ian [Wed, 6 Apr 2022 15:39:17 +0000 (11:39 -0400)] 
stdtypes docs: fix typo (GH-32349)

3 years agobpo-47235: Note where a typo is intentional in code. (GH-32348)
Gregory P. Smith [Wed, 6 Apr 2022 15:06:58 +0000 (08:06 -0700)] 
bpo-47235: Note where a typo is intentional in code. (GH-32348)

People keep popping up reporting these as typos in the docs despite
being described as typos in the surrounding text.  Hopefully a comment
on the line itself makes it more obvious?

Arguably some of the typo examples are not using the "right" typo as the
"assret" one in particular is now detected by default due to how common
it was in actual code.  But I don't want to to typo chasing by changing
these examples to be other not yet auto-detected typos as they still
illustrate the point well enough.

3 years agobpo-47115: Document which parts of structs are in limited API/stable ABI (GH-32196)
Petr Viktorin [Wed, 6 Apr 2022 14:50:45 +0000 (16:50 +0200)] 
bpo-47115: Document which parts of structs are in limited API/stable ABI (GH-32196)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agobpo-40421: test_capi uses assertEqual(), not assertEquals() (GH-32361)
Victor Stinner [Wed, 6 Apr 2022 13:12:38 +0000 (15:12 +0200)] 
bpo-40421: test_capi uses assertEqual(), not assertEquals() (GH-32361)

unittest.TestCase.assertEquals() alias is depracated. Fix the
warning:

Lib/test/test_capi.py:1100: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(frame.f_locals, _testcapi.frame_getlocals(frame))

3 years agobpo-40280: WASM defaults to no dynamic linking (GH-32360)
Christian Heimes [Wed, 6 Apr 2022 12:33:31 +0000 (15:33 +0300)] 
bpo-40280: WASM defaults to no dynamic linking (GH-32360)

3 years agoRevert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)"...
Victor Stinner [Wed, 6 Apr 2022 11:58:07 +0000 (13:58 +0200)] 
Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)" (GH-32343)

* Revert "bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)"

This reverts commit f877b40e3f7e0d97878884d80fbec879a85ab7e8.

* Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)"

This reverts commit b9a5522dd952125a99ff554f01f311cae25f5a91.

3 years ago[doc] Add missing backtick. (GH-32355)
Julien Palard [Wed, 6 Apr 2022 11:40:37 +0000 (13:40 +0200)] 
[doc] Add missing backtick. (GH-32355)

3 years agobpo-47189: What's New in 3.11: Faster CPython (GH-32235)
Ken Jin [Wed, 6 Apr 2022 11:38:25 +0000 (18:38 +0700)] 
bpo-47189: What's New in 3.11: Faster CPython (GH-32235)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agobpo-47103: Copy pgort140.dll into output directory when building PGInstrument on...
Steve Dower [Wed, 6 Apr 2022 10:56:31 +0000 (11:56 +0100)] 
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083)

3 years agoFix generation of MD5 table at end of Windows release build (GH-32345)
Steve Dower [Wed, 6 Apr 2022 10:55:47 +0000 (11:55 +0100)] 
Fix generation of MD5 table at end of Windows release build (GH-32345)

3 years agoPost 3.11.0a7
Pablo Galindo [Tue, 5 Apr 2022 20:10:38 +0000 (21:10 +0100)] 
Post 3.11.0a7

3 years agoPython 3.11.0a7 v3.11.0a7
Pablo Galindo [Tue, 5 Apr 2022 19:52:24 +0000 (20:52 +0100)] 
Python 3.11.0a7

3 years agobpo-47061: deprecate the `aifc` module (GH-32134)
Brett Cannon [Tue, 5 Apr 2022 19:05:48 +0000 (12:05 -0700)] 
bpo-47061: deprecate the `aifc` module (GH-32134)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agobpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
Jeremy Kloth [Tue, 5 Apr 2022 19:03:17 +0000 (13:03 -0600)] 
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)

3 years agobpo-4833: Add ZipFile.mkdir (GH-32160)
Sam Ezeh [Tue, 5 Apr 2022 18:41:38 +0000 (19:41 +0100)] 
bpo-4833: Add ZipFile.mkdir (GH-32160)

3 years agobpo-47009: Fix assert on big endian (GH-32332)
Christian Heimes [Tue, 5 Apr 2022 16:18:02 +0000 (19:18 +0300)] 
bpo-47009: Fix assert on big endian (GH-32332)

3 years agobpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in docs since...
Hugo van Kemenade [Tue, 5 Apr 2022 15:15:11 +0000 (18:15 +0300)] 
bpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in docs since 3.2 (GH-30927)

3 years agobpo-47088: Add typing.LiteralString (PEP 675) (GH-32064)
Jelle Zijlstra [Tue, 5 Apr 2022 14:21:03 +0000 (07:21 -0700)] 
bpo-47088: Add typing.LiteralString (PEP 675) (GH-32064)

Co-authored-by: Nick Pope <nick@nickpope.me.uk>
3 years agobpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)
Erlend Egeberg Aasland [Tue, 5 Apr 2022 14:15:25 +0000 (16:15 +0200)] 
bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agobpo-47212: Improve error messages for un-parenthesized generator expressions (GH...
Matthieu Dartiailh [Tue, 5 Apr 2022 13:47:13 +0000 (15:47 +0200)] 
bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302)

3 years agobpo-45774: Harden SQLite detection (GH-30016)
Erlend Egeberg Aasland [Tue, 5 Apr 2022 12:54:47 +0000 (14:54 +0200)] 
bpo-45774: Harden SQLite detection (GH-30016)

3 years agobpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
Irit Katriel [Tue, 5 Apr 2022 11:49:08 +0000 (12:49 +0100)] 
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)

3 years agobpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309)
Irit Katriel [Tue, 5 Apr 2022 11:06:22 +0000 (12:06 +0100)] 
bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309)

3 years agobpo-47009: Let PRECALL_NO_KW_LIST_APPEND do its own POP_TOP (GH-32239)
Dennis Sweeney [Tue, 5 Apr 2022 10:18:30 +0000 (06:18 -0400)] 
bpo-47009: Let PRECALL_NO_KW_LIST_APPEND do its own POP_TOP (GH-32239)

3 years agobpo-40280: Add limited Emscripten REPL (GH-32284)
Christian Heimes [Tue, 5 Apr 2022 09:21:11 +0000 (12:21 +0300)] 
bpo-40280: Add limited Emscripten REPL (GH-32284)

Co-authored-by: Katie Bell <katie@katharos.id.au>
3 years agochore/docs: fix rst style and typo (GH-32331)
谭九鼎 [Tue, 5 Apr 2022 09:08:00 +0000 (17:08 +0800)] 
chore/docs: fix rst style and typo (GH-32331)

Current:

![图片](https://user-images.githubusercontent.com/24759802/161704413-30fc91e8-ccd1-4617-8483-bc54ec970f30.png)

After this change:

![图片](https://user-images.githubusercontent.com/24759802/161704636-a5458192-a93a-40af-8bde-90ba80fdb53f.png)

Trivial so I don't think it needs news or issue

Automerge-Triggered-By: GH:JulienPalard
3 years agobpo-42238: [doc]: A make sucpicious false positive. (GH-32329)
Julien Palard [Tue, 5 Apr 2022 07:57:42 +0000 (09:57 +0200)] 
bpo-42238: [doc]: A make sucpicious false positive. (GH-32329)

3 years agobpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH...
Ronald Oussoren [Tue, 5 Apr 2022 06:05:36 +0000 (08:05 +0200)] 
bpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH-31958)

The side effect of this bug was that venv environments directly
used the main interpreter instead of the intermediate stub executable,
which can cause problems when a script uses system APIs that
require the use of an application bundle.

3 years agobpo-45847: Adapt macOS installer build to use new tkinter configure vars (GH-32328)
Ned Deily [Tue, 5 Apr 2022 04:46:09 +0000 (00:46 -0400)] 
bpo-45847: Adapt macOS installer build to use new tkinter configure vars (GH-32328)

3 years agobpo-40982: shutil docs: Remove outdated copytree() example (GH-24778)
Zackery Spytz [Tue, 5 Apr 2022 02:57:17 +0000 (19:57 -0700)] 
bpo-40982: shutil docs: Remove outdated copytree() example (GH-24778)

It is not preferable to keep a copy of the implementation in the
docs.

3 years agobpo-43224: typing: Add tests for pickling and copying of unpacked native tuple (GH...
Matthew Rahtz [Tue, 5 Apr 2022 02:52:42 +0000 (03:52 +0100)] 
bpo-43224: typing: Add tests for pickling and copying of unpacked native tuple (GH-32159)

3 years agocrypt docs: Fix references to `methods` attr (GH-26806)
andrei kulakov [Tue, 5 Apr 2022 02:50:13 +0000 (22:50 -0400)] 
crypt docs: Fix references to `methods` attr (GH-26806)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-32658: Regex docs: Fix metacharacter reference (GH-32230)
Mike cm [Tue, 5 Apr 2022 02:46:54 +0000 (03:46 +0100)] 
bpo-32658: Regex docs: Fix metacharacter reference (GH-32230)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-45790: List macros in same order in which fields are described (GH-29529)
rtobar [Tue, 5 Apr 2022 02:36:33 +0000 (10:36 +0800)] 
bpo-45790: List macros in same order in which fields are described (GH-29529)

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-46998: Allow subclassing Any at runtime (GH-31841)
Shantanu [Tue, 5 Apr 2022 02:35:29 +0000 (19:35 -0700)] 
bpo-46998: Allow subclassing Any at runtime (GH-31841)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-47007: [doc] `str` special method lookup (GH-31863)
Vanshaj Singhania [Tue, 5 Apr 2022 02:34:28 +0000 (19:34 -0700)] 
bpo-47007: [doc] `str` special method lookup (GH-31863)

Clarify the `str()` docs to point out that `object.__str__()`
follows special method lookup.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)
yyyyyyyan [Tue, 5 Apr 2022 02:01:36 +0000 (02:01 +0000)] 
bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)

Co-authored-by: Andrew Kuchling <amk@amk.ca>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agoFix "Contributed ... in bpo-bpo-45847" (GH-32299)
Oleg Iarygin [Tue, 5 Apr 2022 01:17:54 +0000 (04:17 +0300)] 
Fix "Contributed ... in bpo-bpo-45847" (GH-32299)

3 years agobpo-47097: Add documentation for TypeVarTuple (#32103)
Matthew Rahtz [Mon, 4 Apr 2022 23:37:01 +0000 (00:37 +0100)] 
bpo-47097: Add documentation for TypeVarTuple (#32103)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)
Christian Heimes [Mon, 4 Apr 2022 17:31:31 +0000 (20:31 +0300)] 
bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)

3 years agobpo-46484:Add test for Calendar.iterweekdays (GH-30825)
180909 [Mon, 4 Apr 2022 17:16:56 +0000 (01:16 +0800)] 
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)

3 years agobpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297)
Christian Heimes [Mon, 4 Apr 2022 17:13:42 +0000 (20:13 +0300)] 
bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297)

3 years agoDemonstrate `py --list` in the quickstart section of the Windows doc page (GH-29383)
Christian Clauss [Mon, 4 Apr 2022 15:35:51 +0000 (17:35 +0200)] 
Demonstrate `py --list` in the quickstart section of the Windows doc page (GH-29383)

3 years agoRevert "bpo-44800: Document internal frame naming conventions (GH-32281)" (#32301)
Mark Shannon [Mon, 4 Apr 2022 14:09:40 +0000 (15:09 +0100)] 
Revert "bpo-44800: Document internal frame naming conventions (GH-32281)" (#32301)

This reverts commit 124227c95f310d2ecd4b567271ab1919fc7000cb.

3 years agobpo-47152: Remove unused import in re (GH-32298)
Serhiy Storchaka [Mon, 4 Apr 2022 09:00:53 +0000 (12:00 +0300)] 
bpo-47152: Remove unused import in re (GH-32298)

3 years agobpo-47152: Move sources of the _sre module into a subdirectory (GH-32290)
Serhiy Storchaka [Mon, 4 Apr 2022 07:53:26 +0000 (10:53 +0300)] 
bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290)