cpython/Misc/NEWS.d
Victor Stinner 424049cc11
gh-105145: Remove old functions to config Python init (#105154)
Remove the following old functions to configure the Python
initialization, deprecated in Python 3.11:

* PySys_AddWarnOptionUnicode()
* PySys_AddWarnOption()
* PySys_AddXOption()
* PySys_HasWarnOptions()
* PySys_SetArgvEx()
* PySys_SetArgv()
* PySys_SetPath()
* Py_SetPath()
* Py_SetProgramName()
* Py_SetPythonHome()
* Py_SetStandardStreamEncoding()
* _Py_SetProgramFullPath()

Most of these functions are kept in the stable ABI, except:

* Py_SetStandardStreamEncoding()
* _Py_SetProgramFullPath()

Update Doc/extending/embedding.rst and Doc/extending/extending.rst to
use the new PyConfig API.

_testembed.c:

* check_stdio_details() now sets stdio_encoding and stdio_errors
  of PyConfig.
* Add definitions of functions removed from the API but kept in the
  stable ABI.
* test_init_from_config() and test_init_read_set() now use
  PyConfig_SetString() instead of PyConfig_SetBytesString().

Remove _Py_ClearStandardStreamEncoding() internal function.
2023-06-01 09:14:02 +02:00
..
next gh-105145: Remove old functions to config Python init (#105154) 2023-06-01 09:14:02 +02:00
3.5.0.rst
3.5.0a1.rst gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (#97768) 2022-10-05 11:01:14 -07:00
3.5.0a2.rst
3.5.0a3.rst
3.5.0a4.rst
3.5.0b1.rst
3.5.0b2.rst
3.5.0b3.rst
3.5.0b4.rst
3.5.0rc1.rst
3.5.0rc2.rst
3.5.0rc3.rst
3.5.0rc4.rst
3.5.1.rst
3.5.1rc1.rst gh-95454: Replace truthy/falsy with true/false (GH-95456) 2022-07-30 00:42:21 -07:00
3.5.2.rst
3.5.2rc1.rst NEWS: Reorder items by section (GH-92373) 2022-05-06 13:58:58 +09:00
3.5.3.rst
3.5.3rc1.rst gh-95454: Replace truthy/falsy with true/false (GH-95456) 2022-07-30 00:42:21 -07:00
3.5.4.rst
3.5.4rc1.rst
3.5.5.rst
3.5.5rc1.rst
3.6.0.rst
3.6.0a1.rst NEWS: Reorder items by section (GH-92373) 2022-05-06 13:58:58 +09:00
3.6.0a2.rst NEWS: Reorder items by section (GH-92373) 2022-05-06 13:58:58 +09:00
3.6.0a3.rst NEWS: Reorder items by section (GH-92373) 2022-05-06 13:58:58 +09:00
3.6.0a4.rst
3.6.0b1.rst
3.6.0b2.rst gh-95454: Replace truthy/falsy with true/false (GH-95456) 2022-07-30 00:42:21 -07:00
3.6.0b3.rst
3.6.0b4.rst
3.6.0rc1.rst
3.6.0rc2.rst
3.6.1.rst
3.6.1rc1.rst
3.6.2.rst
3.6.2rc1.rst NEWS: Reorder items by section (GH-92373) 2022-05-06 13:58:58 +09:00
3.6.2rc2.rst
3.6.3.rst
3.6.3rc1.rst
3.6.4.rst
3.6.4rc1.rst gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
3.6.5.rst
3.6.5rc1.rst
3.6.6.rst
3.6.6rc1.rst
3.7.0.rst
3.7.0a1.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
3.7.0a2.rst
3.7.0a3.rst gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
3.7.0a4.rst [docs] Use full names for time units (GH-28611) 2021-09-29 12:09:56 +03:00
3.7.0b1.rst
3.7.0b2.rst GH-103484: Fix broken links reported by linkcheck (#103608) 2023-04-22 08:24:47 -06:00
3.7.0b3.rst gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
3.7.0b4.rst
3.7.0b5.rst
3.7.0rc1.rst
3.8.0a1.rst gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
3.8.0a2.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
3.8.0a3.rst
3.8.0a4.rst gh-93738: Documentation C syntax (:c:type: to :c:expr:, misc. cases) (#97775) 2022-10-04 16:32:27 -07:00
3.8.0b1.rst gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
3.9.0a1.rst gh-104773: PEP 594: Remove the crypt module (#104908) 2023-05-25 15:45:46 +02:00
3.9.0a2.rst GH-103484: Fix broken links reported by linkcheck (#103608) 2023-04-22 08:24:47 -06:00
3.9.0a3.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.9.0a4.rst GH-103484: Fix broken links reported by linkcheck (#103608) 2023-04-22 08:24:47 -06:00
3.9.0a5.rst gh-85454: Remove links from historical mentions of distutils (GH-95192) 2022-07-25 12:20:09 +02:00
3.9.0a6.rst gh-104780: Remove 2to3 program and lib2to3 module (#104781) 2023-05-23 19:40:02 +02:00
3.9.0b1.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.10.0a1.rst gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
3.10.0a2.rst gh-101100: Test docs in nit-picky mode (#102513) 2023-03-24 13:23:35 +02:00
3.10.0a3.rst gh-104773: PEP 594: Remove the spwd module (#104871) 2023-05-24 20:34:41 +00:00
3.10.0a4.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
3.10.0a5.rst GH-97850: Suppress cross-references to removed ``importlib.util`` functions (#104134) 2023-05-03 14:13:03 +01:00
3.10.0a6.rst gh-92448: Update the documentation builder to render the GitHub issue. (GH-92449) 2022-05-08 21:50:40 +09:00
3.10.0a7.rst gh-92448: Update the documentation builder to render the GitHub issue. (GH-92449) 2022-05-08 21:50:40 +09:00
3.10.0b1.rst gh-85454: Remove links from historical mentions of distutils (GH-95192) 2022-07-25 12:20:09 +02:00
3.11.0a1.rst gh-104804: Remove webbrowser.MacOSX class, deprecated in Python 3.11 (#104816) 2023-05-26 16:54:15 +03:00
3.11.0a2.rst Fix name of removed `inspect.Signature.from_builtin` method in 3.11.0a2 changelog (#100525) 2022-12-26 17:04:18 +05:30
3.11.0a3.rst gh-104876: Remove deprecated turtle.RawTurtle.settiltangle (#104877) 2023-05-26 07:25:52 +03:00
3.11.0a4.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) 2022-07-05 11:16:10 +02:00
3.11.0a5.rst Python 3.11.0a5 2022-02-03 18:37:08 +00:00
3.11.0a6.rst Fix duplicated words in the docs (GH-102629) 2023-03-12 11:03:59 -07:00
3.11.0a7.rst gh-104992: Remove deprecated unittest.TestProgram.usageExit (#104993) 2023-05-27 21:34:14 +00:00
3.11.0b1.rst gh-104773: PEP 594: Remove the mailcap module (#104867) 2023-05-24 14:16:55 +00:00
3.12.0a1.rst gh-104773: PEP 594: Remove the crypt module (#104908) 2023-05-25 15:45:46 +02:00
3.12.0a2.rst Remove misformatted exclamation marks in docs (#102694) 2023-03-15 09:06:32 +02:00
3.12.0a3.rst Python 3.12.0a3 2022-12-06 19:33:02 +01:00
3.12.0a4.rst Python 3.12.0a4 2023-01-10 13:09:15 +01:00
3.12.0a5.rst Python 3.12.0a5 2023-02-07 13:21:15 +01:00
3.12.0a6.rst GH-84783: Mention Author for GH-101264 (make slices hashable) (#103146) 2023-03-31 09:54:17 -04:00
3.12.0a7.rst Python 3.12.0a7 2023-04-04 17:52:42 +02:00
3.12.0b1.rst gh-104773: PEP 594: Remove the uu module (#104932) 2023-05-25 16:25:27 +02:00