.. include:: pending-removal-in-3.17.rst
+.. include:: pending-removal-in-3.18.rst
+
.. include:: pending-removal-in-3.19.rst
.. include:: pending-removal-in-3.20.rst
--- /dev/null
+Pending removal in Python 3.18
+------------------------------
+
+* :mod:`decimal`:
+
+ * The non-standard and undocumented :class:`~decimal.Decimal` format
+ specifier ``'N'``, which is only supported in the :mod:`!decimal` module's
+ C implementation, has been deprecated since Python 3.13.
+ (Contributed by Serhiy Storchaka in :gh:`89902`.)
* Deprecate the non-standard and undocumented :class:`~decimal.Decimal`
format specifier ``'N'``,
which is only supported in the :mod:`!decimal` module's C implementation.
+ Scheduled to be removed in Python 3.18.
(Contributed by Serhiy Storchaka in :gh:`89902`.)
* :mod:`dis`:
.. include:: ../deprecations/pending-removal-in-3.17.rst
+.. include:: ../deprecations/pending-removal-in-3.18.rst
+
.. include:: ../deprecations/pending-removal-in-3.19.rst
.. include:: ../deprecations/pending-removal-in-3.20.rst
.. include:: ../deprecations/pending-removal-in-3.17.rst
+.. include:: ../deprecations/pending-removal-in-3.18.rst
+
.. include:: ../deprecations/pending-removal-in-3.19.rst
.. include:: ../deprecations/pending-removal-in-3.20.rst
.. include:: ../deprecations/pending-removal-in-3.17.rst
+.. include:: ../deprecations/pending-removal-in-3.18.rst
+
.. include:: ../deprecations/pending-removal-in-3.19.rst
.. include:: ../deprecations/pending-removal-in-3.20.rst
if (size > 0 && fmt[size-1] == 'N') {
if (PyErr_WarnEx(PyExc_DeprecationWarning,
- "Format specifier 'N' is deprecated", 1) < 0) {
+ "Format specifier 'N' is deprecated and "
+ "slated for removal in Python 3.18", 1) < 0) {
return NULL;
}
}