Sergey B Kirpichev
b19c9da401
gh-115119: Defer removal of bundled libmpdec to 3.16 ( #133997 )
...
Rename libmpdecimal -> libmpdec
see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html
2025-07-02 11:20:00 +02:00
Stan Ulbrych
93809a918f
gh-105456: Remove 3 deprecated sre_*
modules ( #135994 )
2025-07-01 17:31:07 +02:00
Bénédikt Tran
ee65ebdb50
gh-134978: deprecate string
keyword parameter for hash function constructors ( #134979 )
2025-06-02 10:25:50 +02:00
Bénédikt Tran
faac627e47
gh-133810: remove http.server.CGIHTTPRequestHandler
and --cgi
flag ( #133811 )
...
The CGI HTTP request handler has been deprecated since Python 3.13.
2025-05-17 09:58:16 +02:00
Alexey Makridenko
7a4a6cf2b8
gh-133604: remove deprecated java_ver
function ( #133888 )
2025-05-16 16:17:54 +02:00
Bénédikt Tran
3f61ea3add
gh-133873: remove deprecated mark interface for wave.Wave_{read,write}
objects ( #133874 )
2025-05-15 14:52:07 +00:00
Bénédikt Tran
f91127ae1a
gh-133823: update "Pending Removal in 3.15" notes about TypedDict
( #133864 )
2025-05-11 10:10:54 +02:00
Bénédikt Tran
5044e85265
gh-133644: Remove deprecated Python initialization getter functions ( #133661 )
...
Remove functions:
* Py_GetExecPrefix()
* Py_GetPath()
* Py_GetPrefix()
* Py_GetProgramFullPath()
* Py_GetProgramName()
* Py_GetPythonHome()
2025-05-09 11:39:23 +00:00
Rafael Fontenelle
9546eeea90
Fix typo in pending-removal-in-3.14.rst (GH-133680)
2025-05-08 18:57:23 +00:00
Bénédikt Tran
a2c4467d06
gh-133644: remove deprecated PyImport_ImportModuleNoBlock
( #133655 )
2025-05-08 13:08:43 +00:00
Petr Viktorin
59f78d7b06
gh-131747: ctypes: Deprecate _pack_ implicitly setting _layout_ = 'ms' (GH-133205)
...
On non-Windows, warn when _pack_ implicitly changes default _layout_
to 'ms'.
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-05-05 15:32:06 +02:00
Hugo van Kemenade
39afd290ae
gh-123299: Add missing pending removals ( #133082 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-02 11:18:24 +03:00
Inada Naoki
4e294f6feb
gh-133036: Deprecate codecs.open ( #133038 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-30 10:11:09 +09:00
Stan Ulbrych
59ff42155a
gh-57281: Fix duplicate deprecation note: array 'u' format ( #133113 )
2025-04-29 13:22:15 +02:00
Hugo van Kemenade
ee9102a535
gh-75223: Deprecate undotted extensions in mimetypes.MimeTypes.add_type
( #128638 )
...
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Daniel Watkins <daniel@daniel-watkins.co.uk>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2025-04-28 14:23:57 +00:00
Stan Ulbrych
f6fb498c97
gh-132798: Schedule removal of PyUnicode_AsDecoded/Encoded
functions for 3.15 ( #132799 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-25 15:07:41 +02:00
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
8783cec9b6
gh-129027: Raise DeprecationWarning for sys._clear_type_cache ( #129043 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-25 15:01:48 +03:00
Kumar Aditya
05d27a84f4
gh-130322: drop deprecation of asyncio.set_event_loop
( #132349 )
2025-04-12 12:03:52 +05:30
Hugo van Kemenade
3d797e49c8
gh-92897: Doc: the check_home removal has been scheduled for 3.15 ( #130586 )
2025-03-14 12:29:23 +02:00
Jelle Zijlstra
dc6d66f44c
gh-105499: Merge typing.Union and types.UnionType ( #105511 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: Carl Meyer <carl@oddbird.net>
2025-03-04 11:44:19 -08:00
Victor Stinner
519c2c6740
gh-128863: Deprecate the private _PyUnicodeWriter API ( #129245 )
...
Deprecate private C API functions:
* _PyUnicodeWriter_Init()
* _PyUnicodeWriter_Finish()
* _PyUnicodeWriter_Dealloc()
* _PyUnicodeWriter_WriteChar()
* _PyUnicodeWriter_WriteStr()
* _PyUnicodeWriter_WriteSubstring()
* _PyUnicodeWriter_WriteASCIIString()
* _PyUnicodeWriter_WriteLatin1String()
These functions are not deprecated in the internal C API (if the
Py_BUILD_CORE macro is defined).
2025-02-20 14:02:02 +01:00
Wulian233
06ac157c53
gh-125746: Delay deprecated zipimport.zipimporter.load_module
removal time to 3.15 ( #125748 )
2025-02-11 23:59:09 +00:00
Tomas R.
aa81a6f6e4
gh-97850: Update the deprecation warning of importlib.abc.Loader.load_module
(GH-129855)
2025-02-11 11:04:16 -08:00
Victor Stinner
632ca56821
gh-129342: Explain how to replace Py_GetProgramName() in C ( #129361 )
2025-02-03 12:36:41 +01:00
Victor Stinner
d8e16ef703
Cleanup What's New in Python 3.14 (C API changes) ( #129341 )
...
* Document PyDictObject.ma_version_tag removal.
* Add "Limited C API Changes" section.
* Move entries from New Features to Porting to Python 3.14.
* Include Pending removal documents at the right place.
2025-01-27 16:06:07 +01:00
Sergey B Kirpichev
233fd00f0a
gh-128863: Deprecate _PyLong_FromDigits() function ( #127939 )
2025-01-24 13:17:10 +01:00
Sergey B Kirpichev
5c9a63f62c
gh-128863: Deprecate _PyLong_New() function ( #129212 )
2025-01-23 13:50:34 +01:00
Victor Stinner
1d485db953
gh-128863: Deprecate _PyLong_Sign() function ( #129176 )
...
Replace _PyLong_Sign() with PyLong_GetSign().
2025-01-23 03:11:53 +01:00
Victor Stinner
9012fa741d
gh-128863: Deprecate private C API functions ( #128864 )
...
Deprecate private C API functions:
* _PyBytes_Join()
* _PyDict_GetItemStringWithError()
* _PyDict_Pop()
* _PyThreadState_UncheckedGet()
* _PyUnicode_AsString()
* _Py_HashPointer()
* _Py_fopen_obj()
Replace _Py_HashPointer() with Py_HashPointer().
Remove references to deprecated functions.
2025-01-22 11:04:19 +00:00
Bénédikt Tran
6a0f915aae
gh-129064: Fix RST markup for the NEWS and What's New entries ( #129131 )
...
This amends the NEWS and What's New entries introduced in 0a6412f9cc
.
2025-01-21 12:43:09 +01:00
Filipe Laíns 🇵🇸
e52ab564da
GH-92897: schedule the check_home deprecation to 3.15 ( #129102 )
2025-01-20 21:25:14 +00:00
Filipe Laíns 🇵🇸
0a6412f9cc
GH-129064: deprecate sysconfig.expand_makefile_vars ( #129082 )
2025-01-20 17:03:44 +00:00
Victor Stinner
bbeb219354
Complete doc of pending C API removals in Python 3.15 ( #129032 )
2025-01-19 22:47:05 +01:00
Victor Stinner
d57b2d83dd
gh-77782: Postpone Py_VerboseFlag removal to Python 3.15 ( #129024 )
...
Postpone the global configuration variables removal to Python 3.15.
Do the same for PySys_SetArgvEx(), PySys_SetArgv(),
Py_SetProgramName() and Py_SetPythonHome().
2025-01-19 20:51:17 +01:00
Hugo van Kemenade
98301326e4
gh-123299: Copyedit "What's New in Python 3.14" ( #128814 )
2025-01-14 08:53:03 +00:00
Kirill Podoprigora
d903b17499
gh-121676: Raise a `DeprecationWarning
if the Python implementation of
functools.reduce
is called with
function or
sequence` as a keyword args ( #121677 )
...
Python implementation of `functools` allows calling `reduce`
with `function` or `sequence` as keyword args. This doesn't
match behavior of our C accelerator and our documentation
for `functools.reduce` states that `function`and `sequence`
are positional-only arguments.
Now calling a Python implementation of `functools.reduce`
with `function` or `sequence` as keyword args would raise
a `DeprecationWarning` and is planned to be prohibited in
Python 3.16.
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-01-01 13:36:47 +02:00
Kumar Aditya
64173cd6f2
gh-127949: make deprecation of policy system more prominent ( #128290 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-12-27 15:13:41 +00:00
Barney Gale
4d771977b1
GH-84850: Remove urllib.request.URLopener
and FancyURLopener
( #125739 )
2024-11-19 16:01:49 +02:00
Hugo van Kemenade
450db61a78
Postpone module.__loader__
deprecation to Python 3.16 ( #126482 )
2024-11-09 16:48:33 -08:00
Hugo van Kemenade
eac41c5ddf
gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14 ( #126392 )
2024-11-04 18:49:59 +02:00
Hugo van Kemenade
9441993f27
Docs: Delist sqlite3 deprecation from "Pending removal in 3.14" ( #126370 )
2024-11-03 21:22:49 +00:00
Bénédikt Tran
464a7a91d0
gh-97850: remove `find_loader
and
get_loader
from
pkgutil
` ( #119656 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
2024-11-01 18:35:22 +02:00
Hugo van Kemenade
d4b6d84cc8
gh-58032: Docs: Sort argparse alphabetically (GH-125871)
...
Sort argparse alphabetically
2024-10-29 17:13:11 -07:00
Serhiy Storchaka
834ba5aaf2
gh-58032: Deprecate the argparse.FileType type converter (GH-124664)
2024-10-23 10:50:29 +03:00
Y5
7d88140d52
gh-125313: Prefer sys.base_*
paths in Py_Get(Exec)Prefix
deprecation notes ( #125317 )
...
Prefer `sys.base_*` paths in `Py_Get(Exec)Prefix` deprecation notes.
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
2024-10-21 11:35:54 +02:00
Savannah Ostrowski
7b04496e5c
gh-125542: Deprecate prefix_chars in ArgumentParser.add_argument_group() (GH-125563)
2024-10-17 09:11:47 +00:00
Hugo van Kemenade
66064c342c
gh-123299: Copyedit "What's New in Python 3.14" ( #125438 )
2024-10-15 10:39:15 +03:00
Alex Waygood
3024b16d51
gh-101100: Consolidate documentation on ModuleType
attributes ( #124709 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Barry Warsaw <barry@python.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-10-09 10:53:57 +00:00
Jelle Zijlstra
1ba35ea385
gh-123299: Copy-edit the 3.14 What's New ( #124670 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-28 01:25:33 +03:00
Brett Cannon
67201ad53f
GH-65961: Document the deprecation of __package__
and __cached__
(GH-124377)
...
The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system.
2024-09-23 14:14:33 -07:00