diff options
author | Guido van Rossum <guido@python.org> | 2003-04-17 17:29:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-04-17 17:29:22 (GMT) |
commit | e13ddc9ec85287b17fd03454f836f495c1167de9 (patch) | |
tree | 20de9aa63915e14e39d87fc7a4e88a39c9eb03c7 /Misc | |
parent | cf8d285ba321dcb1c479a16d15e0224b3ad05970 (diff) | |
download | cpython-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/NEWS | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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. |