Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
tutorial.
This commit is contained in:
parent
aa6389e13b
commit
e827437f45
26
Misc/NEWS
26
Misc/NEWS
@ -23,6 +23,9 @@ Core and builtins
|
|||||||
signal handlers and threads, complicated by readline's behaviour.
|
signal handlers and threads, complicated by readline's behaviour.
|
||||||
It's quite possible that there are still bugs here.
|
It's quite possible that there are still bugs here.
|
||||||
|
|
||||||
|
- Added C macros Py_CLEAR and Py_VISIT to ease the implementation of
|
||||||
|
types that support garbage collection.
|
||||||
|
|
||||||
Extension modules
|
Extension modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
@ -71,6 +74,16 @@ Library
|
|||||||
- Non-blocking SSL sockets work again; they were broken in Python 2.3.
|
- Non-blocking SSL sockets work again; they were broken in Python 2.3.
|
||||||
SF patch 945642.
|
SF patch 945642.
|
||||||
|
|
||||||
|
- doctest unittest integration improvements:
|
||||||
|
|
||||||
|
o Improved the unitest test output for doctest-based unit tests
|
||||||
|
|
||||||
|
o Can now pass setUp and tearDown functions when creating
|
||||||
|
DocTestSuites.
|
||||||
|
|
||||||
|
- The threading module has a new class, local, for creating objects
|
||||||
|
that provide thread-local data.
|
||||||
|
|
||||||
Tools/Demos
|
Tools/Demos
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
@ -83,6 +96,19 @@ C API
|
|||||||
- A large pile of datetime field-extraction macros is now documented,
|
- A large pile of datetime field-extraction macros is now documented,
|
||||||
thanks to Anthony Tuininga (patch #986010).
|
thanks to Anthony Tuininga (patch #986010).
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Improved the tutorial on creating types in C.
|
||||||
|
|
||||||
|
- point out the importance of reassigning data members before
|
||||||
|
assigning thier values
|
||||||
|
|
||||||
|
- correct my missconception about return values from visitprocs. Sigh.
|
||||||
|
|
||||||
|
- mention the labor saving Py_VISIT and Py_CLEAR macros.
|
||||||
|
|
||||||
|
|
||||||
New platforms
|
New platforms
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user