cpython/Doc/whatsnew
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
..
2.0.rst gh-104773: PEP 594: Remove the chunk module (#104868) 2023-05-25 16:27:55 +00:00
2.1.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
2.2.rst GH-103484: Fix redirected permanently URLs (#104001) 2023-05-02 09:34:44 +03:00
2.3.rst gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
2.4.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
2.5.rst gh-104773: PEP 594: Remove the audioop module (#104937) 2023-05-25 17:59:00 +02:00
2.6.rst gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
2.7.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.0.rst gh-104780: Remove 2to3 program and lib2to3 module (#104781) 2023-05-23 19:40:02 +02:00
3.1.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.2.rst gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
3.3.rst gh-104773: PEP 594: Remove the crypt module (#104908) 2023-05-25 15:45:46 +02:00
3.4.rst gh-104773: PEP 594: Remove the audioop module (#104937) 2023-05-25 17:59:00 +02:00
3.5.rst gh-104773: PEP 594: Remove the imghdr module (#104777) 2023-05-26 13:29:45 +00:00
3.6.rst gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
3.7.rst gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
3.8.rst gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
3.9.rst gh-104773: PEP 594: Remove the audioop module (#104937) 2023-05-25 17:59:00 +02:00
3.10.rst gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
3.11.rst gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (#104994) 2023-05-26 19:09:47 -07:00
3.12.rst Clarify that error messages are better with PEP 701 (#105150) 2023-05-31 22:01:29 +01:00
3.13.rst gh-105145: Remove old functions to config Python init (#105154) 2023-06-01 09:14:02 +02:00
changelog.rst Include additional changes to support blurbified NEWS (#3340) 2017-09-05 00:46:18 -07:00
index.rst Fix whatsnew for 3.13. (GH-104756) 2023-05-22 16:05:27 -04:00