cpython/Misc/NEWS.d/next/C API
Victor Stinner 03c4080c71
gh-108765: Python.h no longer includes <ctype.h> (#108831)
Remove <ctype.h> in C files which don't use it; only sre.c and
_decimal.c still use it.

Remove _PY_PORT_CTYPE_UTF8_ISSUE code from pyport.h:

* Code added by commit b5047fd019
  in 2004 for MacOSX and FreeBSD.
* Test removed by commit 52ddaefb6b
  in 2007, since Python str type now uses locale independent
  functions like Py_ISALPHA() and Py_TOLOWER() and the Unicode
  database.

Modules/_sre/sre.c replaces _PY_PORT_CTYPE_UTF8_ISSUE with new
functions: sre_isalnum(), sre_tolower(), sre_toupper().

Remove unused includes:

* _localemodule.c: remove <stdio.h>.
* getargs.c: remove <float.h>.
* dynload_win.c: remove <direct.h>, it no longer calls _getcwd()
  since commit fb1f68ed7c (in 2001).
2023-09-03 18:54:27 +02:00
..
2020-11-11-22-36-29.bpo-42327.ODSZBM.rst gh-107091: Fix some uses of :func: role (GH-107378) 2023-07-29 08:43:10 +03:00
2023-05-19-10-22-34.gh-issue-104668.MLX1g9.rst GH-104668: Don't call PyOS_* hooks in subinterpreters (GH-104674) 2023-05-22 19:34:34 +00:00
2023-05-25-15-44-48.gh-issue-104584.cSAoRh.rst GH-104584: Plugin optimizer API (GH-105100) 2023-06-02 11:46:18 +01:00
2023-05-29-16-09-27.gh-issue-104922.L23qaU.rst gh-104922: Make `PY_SSIZE_T_CLEAN` not mandatory again (#105051) 2023-05-31 18:38:55 +09:00
2023-05-30-10-15-13.gh-issue-105071.dPtp7c.rst gh-105071: add PyUnstable_Exc_PrepReraiseStar to expose except* implementation in the unstable API (#105072) 2023-05-30 15:03:36 +01:00
2023-05-30-17-45-32.gh-issue-105115.iRho1K.rst gh-105020: Share tp_bases and tp_mro Between Interpreters For All Static Builtin Types (gh-105115) 2023-05-31 00:13:35 +00:00
2023-05-30-19-11-09.gh-issue-105107.YQwMnm.rst gh-105107: Remove PyCFunction_Call() function (#105181) 2023-06-01 11:25:55 +02:00
2023-05-31-16-51-18.gh-issue-105145.b3B6lJ.rst gh-105145: Remove old functions to config Python init (#105154) 2023-06-01 09:14:02 +02:00
2023-05-31-18-37-57.gh-issue-105156.R4El5V.rst gh-106948: Add standard external names to nitpick_ignore (GH-106949) 2023-07-22 21:35:22 +03:00
2023-05-31-19-38-45.gh-issue-85275.doojgE.rst gh-85275: Remove old buffer APIs (#105137) 2023-06-02 01:12:40 +00:00
2023-06-01-09-40-30.gh-issue-105145.WOOE-w.rst gh-105145: Deprecate Py_GetPath() function (#105179) 2023-06-01 12:06:32 +00:00
2023-06-01-11-23-28.gh-issue-105182.kLEHl-.rst gh-105182: Remove PyEval_AcquireLock() and PyEval_InitThreads() (#105183) 2023-06-01 13:41:56 +02:00
2023-06-01-11-24-03.gh-issue-105182.l5sCw4.rst gh-105182: Remove PyEval_AcquireLock() and PyEval_InitThreads() (#105183) 2023-06-01 13:41:56 +02:00
2023-06-06-10-57-18.gh-issue-105268.OTJUko.rst gh-105268: Remove _PyGC_FINALIZED() macro (#105350) 2023-06-06 11:54:23 +02:00
2023-06-06-14-14-41.gh-issue-103968.BTO6II.rst gh-103968: PyType_FromMetaclass: Allow metaclasses with tp_new=NULL (GH-105386) 2023-06-12 17:45:49 +02:00
2023-06-06-17-43-28.gh-issue-105396.FQJG5B.rst gh-105396: Deprecate PyImport_ImportModuleNoBlock() function (#105397) 2023-06-09 10:30:57 +02:00
2023-06-09-12-35-55.gh-issue-105387.wM_oL-.rst gh-105387: Limited C API implements Py_INCREF() as func (#105388) 2023-06-14 02:33:00 +02:00
2023-06-09-19-16-57.gh-issue-105603.-z6G22.rst gh-105603: Change the PyInterpreterConfig.own gil Field (gh-105620) 2023-06-13 11:08:32 -06:00
2023-06-09-23-34-25.gh-issue-105375.n7amiF.rst gh-105375: Improve PyErr_WarnExplicit() error handling (#105610) 2023-06-11 21:23:28 +02:00
2023-06-13-14-24-55.gh-issue-105227.HDL9aF.rst gh-105227: Add PyType_GetDict() (GH-105747) 2023-07-10 18:41:02 +02:00
2023-06-19-20-02-16.gh-issue-105922.o4T6wO.rst gh-105922: Add PyImport_AddModuleRef() function (#105923) 2023-06-20 08:48:14 +02:00
2023-06-20-08-59-05.gh-issue-105927.DfGeEA.rst gh-105927: Add PyWeakref_GetRef() function (#105932) 2023-06-21 11:40:09 +02:00
2023-06-22-00-25-55.gh-issue-105927.GRxZtI.rst gh-105927: Deprecate PyWeakref_GetObject() function (#106006) 2023-06-26 12:10:53 +02:00
2023-06-23-02-57-15.gh-issue-106004.-OToh6.rst gh-106004: Add PyDict_GetItemRef() function (#106005) 2023-07-21 23:10:51 +02:00
2023-06-25-18-01-27.gh-issue-106084.PEzqU3.rst gh-106084: Remove old PyObject call aliases (#106085) 2023-06-26 08:08:12 +02:00
2023-06-28-02-30-50.gh-issue-106168.NFOZPv.rst gh-106168: PyTuple_SET_ITEM() now checks the index (#106164) 2023-06-28 03:45:57 +02:00
2023-06-30-09-33-25.gh-issue-106023.YvYiE4.rst gh-106023: Remove _PyObject_FastCall() function (#106265) 2023-06-30 11:46:43 +02:00
2023-07-01-21-23-33.gh-issue-106316.hp2Ijw.rst gh-106316: Remove pytime.h header file (#106317) 2023-07-01 22:27:18 +00:00
2023-07-02-00-00-20.gh-issue-106320.tZWcvG.rst gh-106320: Remove _PyInterpreterState_Get() alias (#106321) 2023-07-01 23:44:07 +00:00
2023-07-07-19-14-00.gh-issue-106521.Veh9f3.rst gh-106521: Add PyObject_GetOptionalAttr() function (GH-106522) 2023-07-11 22:13:27 +03:00
2023-07-08-12-24-17.gh-issue-106307.FVnkBw.rst gh-106307: C API: Add PyMapping_GetOptionalItem() function (GH-106308) 2023-07-11 23:04:12 +03:00
2023-07-11-01-07-39.gh-issue-106572.y1b35X.rst gh-106572: Convert PyObject_DelAttr() to a function (#106611) 2023-07-11 11:38:22 +02:00
2023-07-22-14-40-48.gh-issue-106320.H3u7x4.rst gh-106320: Remove private _PyUnicode_AsString() alias (#107021) 2023-07-22 13:15:05 +00:00
2023-07-25-13-41-09.gh-issue-107226.N919zH.rst gh-107226: PyModule_AddObjectRef() should only be in the limited API 3.10 (GH-107227) 2023-07-25 22:01:45 +03:00
2023-07-25-17-23-08.gh-issue-107249.xqk2ke.rst gh-107249: Implement Py_UNUSED() for MSVC (#107250) 2023-07-25 19:28:16 +02:00
2023-08-10-11-12-25.gh-issue-107810.oJ40Qx.rst gh-107810: Improve DeprecationWarning for metaclasses with custom tp_new (GH-107834) 2023-08-10 15:55:47 +00:00
2023-08-13-12-33-00.gh-issue-107915.jQ0wOi.rst gh-107915: Handle errors in C API functions PyErr_Set*() and PyErr_Format() (GH-107918) 2023-08-19 14:51:03 +03:00
2023-08-14-10-59-03.gh-issue-107916.KH4Muo.rst gh-107916: Save the error code before decoding the filename in PyErr_SetFromErrnoWithFilename() etc (GH-107929) 2023-08-21 14:16:31 +03:00
2023-08-16-17-16-19.gh-issue-108014.wXN3CF.rst gh-108014: Add Py_IsFinalizing() function (#108032) 2023-08-18 12:34:41 +02:00
2023-08-22-13-00-54.gh-issue-108337.wceHZm.rst gh-108337: Add pyatomic.h header (#108701) 2023-08-31 21:41:18 +00:00
2023-08-22-18-45-20.gh-issue-108314.nOlmwq.rst gh-108314: Add PyDict_ContainsString() function (#108323) 2023-08-24 15:59:12 +02:00
2023-08-24-20-08-02.gh-issue-108014.20DOSS.rst gh-108444: Add PyLong_AsInt() public function (#108445) 2023-08-24 23:55:30 +02:00
2023-08-30-02-54-06.gh-issue-108634.oV3Xzk.rst gh-108634: Py_TRACE_REFS uses a hash table (#108663) 2023-08-31 18:33:34 +02:00
2023-09-01-18-42-31.gh-issue-108765.IyYNDu.rst gh-108765: Python.h no longer includes <sys/time.h> (#108775) 2023-09-02 17:51:19 +02:00
2023-09-01-20-41-49.gh-issue-108765.5dXc1r.rst gh-108765: Python.h no longer includes <ieeefp.h> (#108781) 2023-09-02 15:48:32 +02:00
2023-09-01-21-10-29.gh-issue-108765.eeXtYF.rst gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
2023-09-02-22-35-55.gh-issue-108765.4TOdBT.rst gh-108765: Python.h no longer includes <ctype.h> (#108831) 2023-09-03 18:54:27 +02:00
README.rst

README.rst

Put news entry `blurb`_ files for the *C API* section in this directory.

.. _blurb: https://pypi.org/project/blurb/