Commit Graph
113363 Commits
Author SHA1 Message Date
Erlend Egeberg AaslandandGitHub 3edda031e4 CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (#92535)
Signed-off-by: Erlend E. Aasland <[email protected]>
2022-05-09 10:06:03 +02:00
Raymond HettingerandGitHub e01eeb7b4b Fix inconsistent return type for statistics median_grouped() gh-92531 (#92533) 2022-05-09 02:08:41 -05:00
5bc2390229 bpo-38056: overhaul Error Handlers section in codecs documentation (#15732)
* Some handlers were wrongly described as text-encoding only, but actually they can also be used in text-decoding.
* Add more description to each handler.
* Add two REPL examples.
* Add indexes for Error Handler's name.

Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
2022-05-08 19:58:55 -07:00
Rafael FontenelleandGitHub f298ba1f27 bpo-39229: fix formatting in library/functions.rst (#17857)
Missing reference of auditing event presents error when building translated documentation
2022-05-08 16:21:19 -07:00
2888b1107f pdb docs: workaround for double semicolon in strings (#17011)
see https://github.com/gotcha/ipdb/issues/172

Co-authored-by: Jelle Zijlstra <[email protected]>
2022-05-08 16:20:42 -07:00
9d85aba9e2 gh-91968: Add socket constants SO_USER_COOKIE/SO_RTABLE from BSD (#91967)
Those are somewhat equivalent to Linux' SO_MARK.

Co-authored-by: Jelle Zijlstra <[email protected]>
2022-05-08 16:19:41 -07:00
859250cc55 gh-77521: Add link to builtin module names in modules tutorial (#92438)
Co-authored-by: Jelle Zijlstra <[email protected]>
2022-05-08 12:30:38 -07:00
Ken JinandGitHub 9304f98558 Use percentage over factor for 3.11 whatsnew performance (GH-92496) 2022-05-09 00:44:55 +08:00
Gregory P. SmithandGitHub ebb37fc3fd gh-90622: Do not spawn ProcessPool workers on demand via fork method. (#91598)
Do not spawn ProcessPool workers on demand when they spawn via fork.

This avoids potential deadlocks in the child processes due to forking from
a multithreaded process.
2022-05-08 09:20:34 -07:00
Serhiy StorchakaandGitHub a84a56d80f gh-91760: More strict rules for numerical group references and group names in RE (GH-91792)
Only sequence of ASCII digits is now accepted as a numerical reference.
The group name in bytes patterns and replacement strings can now only
contain ASCII letters and digits and underscore.
2022-05-08 19:19:29 +03:00
7b024e3a3f gh-80856: doc: reveal doctest directives (#92318)
* Doc: Reveal doctest directives.

* Fix whitespace.

Co-authored-by: Julien Palard <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
2022-05-08 18:14:55 +02:00
Ezio MelottiandGitHub 5c3ecddad7 Fix typo in whatsnew (GH-92488)
Automerge-Triggered-By: GH:ezio-melotti
2022-05-08 09:02:27 -07:00
Oleg IaryginandGitHub 063e8ab72b Fix the versionadded for asyncio.StreamWriter.start_tls() (#92378) 2022-05-08 08:44:54 -07:00
Alex WaygoodandGitHub 318c4e91ef gh-92417: logging docs: Remove warning that only applies to Python <3.2 (#92425) 2022-05-08 08:36:38 -07:00
Serhiy StorchakaandGitHub 9d25db9db1 gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335) 2022-05-08 18:32:32 +03:00
Serhiy StorchakaandGitHub 9c005c5deb Fix What's New for 3.12 (GH-92482) 2022-05-08 18:23:08 +03:00
bdc99a830f typing.Text: tweak deprecation notice (#92405)
https://github.com/python/cpython/pull/92351/files#r866869469

Co-authored-by: Jelle Zijlstra <[email protected]>
2022-05-08 08:22:32 -07:00
Ken JinandGitHub b7380948f2 Update What's New in 3.11 faster cpython figures and contributors (GH-92401) 2022-05-08 23:05:30 +08:00
Serhiy StorchakaandGitHub 086c6b1b0f bpo-45046: Support context managers in unittest (GH-28045)
Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
2022-05-08 17:49:09 +03:00
slatenyandGitHub 8f29318079 gh-77630: Change Charset to charset (GH-92439) 2022-05-08 17:35:32 +03:00
Marc MuellerandGitHub 5ed5c56123 Add __class_getitem__ to csv.DictReader and csv.DictWriter (#92393) 2022-05-08 07:24:54 -07:00
Serhiy StorchakaandGitHub 3680ebed7f bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294)
I suppose it is a remnants of very old code written when str, int, list, dict, etc
were functions and not classes.
2022-05-08 17:10:11 +03:00
Dong-hee NaandGitHub c826867b7c gh-89474: Improve Semaphore/BoundedSemaphore.release() for multiple thread waiting (GH-92447) 2022-05-08 22:33:53 +09:00
Alex WaygoodandGitHub 8efda1e7c6 gh-92417: stdtypes docs: delete discussion of Python 2 differences (GH-92423)
Given that 2.7 has now been end-of-life for two and a half years,
I don't think we need such a detailed explanation here anymore of
the differences between Python 2 and Python 3.
2022-05-08 16:23:22 +03:00
Matthew RahtzandGitHub 4739997e14 gh-92261: Disallow iteration of Union (and other special forms) (GH-92262) 2022-05-08 16:21:28 +03:00
Hugo van KemenadeandGitHub 788ef54bc9 GH-92431: Fix footnotes in Doc/c-api/exceptions.rst (GH-92432)
* Remove redundant footnote ref: the footnote has been removed
* Fix footnote ref to match footnote
* Convert footnotes into reST footnotes: will error if missing
2022-05-08 16:19:16 +03:00
Alex WaygoodandGitHub 5639ea1ef9 gh-92417: doctest docs: remove references to Python <3.6 (GH-92420) 2022-05-08 16:17:23 +03:00
Alex WaygoodandGitHub bc098cfdb7 gh-92417: json docs: dict is ordered on all supported Python versions (GH-92422) 2022-05-08 16:16:52 +03:00
Alex WaygoodandGitHub f4e317b304 gh-92417: asyncio docs: asyncio.run() is available on all supported Python versions (GH-92419) 2022-05-08 16:16:19 +03:00
Alex WaygoodandGitHub e5b4bd4d60 gh-92417: typing docs: from __future__ import annotations can be used in all supported Python versions (GH-92418) 2022-05-08 16:15:38 +03:00
Dong-hee NaandGitHub 45e1721d10 gh-92448: Update the documentation builder to render the GitHub issue. (GH-92449) 2022-05-08 21:50:40 +09:00
Dong-hee NaandGitHub d284e8b3e3 Update CPyhton configuration for 3.12 (#92451)
* Update CPyhton configuration for 3.12

* Fix PC/pyconfig.h

* Add expect failure
2022-05-08 13:44:12 +01:00
Pablo Galindo 9478b263a3 Add the 3.11 branch to the CI files 2022-05-08 04:01:20 +01:00
Pablo Galindo 09f0ad48ef Update the SOURCE_URI in pyspecific.py to point to the new branch 2022-05-08 03:48:31 +01:00
Pablo Galindo 75de8e69b4 Merge remote-tracking branch 'upstream/main' 2022-05-08 03:43:47 +01:00
Pablo Galindo e851177536 Python 3.12.0a0 2022-05-08 03:40:52 +01:00
Serhiy StorchakaandGitHub bd030b633f gh-88279: Fix compiler warning for using deprecated PySys_SetArgvEx (#92428) 2022-05-07 19:21:11 +01:00
0924b95f6e gh-92308: Add Pending Removal section to 3.11 What's New (#92309)
* gh-92308: Add Pending Removal section to 3.11 What's New

* Use compact list; drop attributions

* Add short text, and also missing PyUnicode_InternImmortal

* Fix formatting

* markup fix

* Update Doc/whatsnew/3.11.rst

Co-authored-by: Victor Stinner <[email protected]>

* Apply suggestions from code review

Co-authored-by: Victor Stinner <[email protected]>

Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
2022-05-07 06:23:13 +02:00
Pablo Galindo 8d32a5c8c4 Update the SOURCE_URI in pyspecific.py to point to the new branch v3.11.0b1 2022-05-06 23:56:26 +01:00
Pablo Galindo 0e5fe7f9e9 Python 3.11.0b1 2022-05-06 23:53:50 +01:00
Brandt BucherandGitHub 3f61db4756 gh-90997: Move CACHE handling into _unpack_opargs (#92409)
* Move CACHE handling into _unpack_opargs

* Remove auto-added import

* blurb add
2022-05-06 18:57:08 +01:00
larryhastingsandGitHub 5021064390 gh-92203: Add closure support to exec(). (#92204)
Add a closure keyword-only parameter to exec(). It can only be specified when exec-ing a code object that uses free variables. When specified, it must be a tuple, with exactly the number of cell variables referenced by the code object. closure has a default value of None, and it must be None if the code object doesn't refer to any free variables.
2022-05-06 10:09:35 -07:00
Victor StinnerandGitHub 973a5203c1 gh-90978: test_ssl of test_asyncio uses LONG_TIMEOUT (#92402)
On slow buildbot workers, some test_ssl tests fail randomly because
of short timeout (30 seconds). Use support.LONG_TIMEOUT instead which
is longer and also adjusted (by regrtest --timeout option) on
buildbot workers known to be slow.
2022-05-06 15:18:56 +01:00
Brandt BucherandGitHub 93a666b5a5 gh-90997: Show cached inline values in dis output (#92360) 2022-05-06 15:18:09 +01:00
gophraandGitHub a79001ee16 gh-92368: Fix missing possessive apostrophe (#92397)
* Fix missing possessive apostrophe
2022-05-06 15:39:16 +02:00
Victor StinnerandGitHub c33d67c450 gh-91321: Fix _PyObject_EXTRA_INIT for C++ (#92396)
In C++, the _PyObject_EXTRA_INIT macro now uses nullptr, rather than
0, to initialize the _ob_next and _ob_prev members of the PyObject
structure.

Fix test_cppext failure when Python is built with
./configure --with-trace-refs.
2022-05-06 13:40:08 +01:00
Serhiy StorchakaandGitHub 5fbaf80057 Fix What's New: use :gh: instead of :issue: (#92395) 2022-05-06 13:32:10 +01:00
Serhiy StorchakaandGitHub 15dbe8570f gh-91827: Add method info_pathlevel() in tkinter (GH-91829) 2022-05-06 13:50:38 +03:00
slatenyandGitHub d707d073be Add source for character mappings (#92014) 2022-05-06 12:28:09 +02:00
6f18b86fda gh-92332: Docs-only deprecation of typing.Text (GH-92351)
Co-authored-by: Shantanu <[email protected]>
2022-05-06 18:15:18 +08:00