Kaydet (Commit) e827437f authored tarafından Jim Fulton's avatar Jim Fulton

Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type

tutorial.
üst aa6389e1
...@@ -23,6 +23,9 @@ Core and builtins ...@@ -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 ...@@ -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 ...@@ -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
------------- -------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment