summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-17 17:29:22 (GMT)
committerGuido van Rossum <guido@python.org>2003-04-17 17:29:22 (GMT)
commite13ddc9ec85287b17fd03454f836f495c1167de9 (patch)
tree20de9aa63915e14e39d87fc7a4e88a39c9eb03c7 /Misc
parentcf8d285ba321dcb1c479a16d15e0224b3ad05970 (diff)
downloadcpython-e13ddc9ec85287b17fd03454f836f495c1167de9.zip
cpython-e13ddc9ec85287b17fd03454f836f495c1167de9.tar.gz
cpython-e13ddc9ec85287b17fd03454f836f495c1167de9.tar.bz2
- New C API PyGC_Collect(), same as calling gc.collect().
- Call this in Py_Finalize(). - Expand the Misc/NEWS text on PY_LONG_LONG.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS8
1 files changed, 7 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0c96ac9..7efea39 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -169,11 +169,17 @@ Build
C API
-----
+- Added PyGC_Collect(), equivalent to calling gc.collect().
+
- PyThreadState_GetDict() was changed not to raise an exception or
issue a fatal error when no current thread state is available. This
makes it possible to print dictionaries when no thread is active.
-- LONG_LONG was renamed to PY_LONG_LONG.
+- LONG_LONG was renamed to PY_LONG_LONG. Extensions that use this and
+ need compatibility with previous versions can use this:
+ #ifndef PY_LONG_LONG
+ #define PY_LONG_LONG LONG_LONG
+ #endif
- Added PyObject_SelfIter() to fill the tp_iter slot for the
typical case where the method returns its self argument.