From Newsgroup: comp.lang.python.announce
I am pleased to announce v0.3 of "Python Extension Patterns", the guide to writing Python C/C++ extensions.
*Added Chapters*
- "Containers and Reference Counts" which corrects the Python documentation where that is wrong, misleading or missing.
- "Struct Sequences (namedtuple in C)" which corrects the Python
documentation where that is wrong, misleading or missing.
- "Context Managers" with practical C code examples.
- "Watchers" with practical examples for dictionary watchers (Python 3.12+).
- "Installation" for the project.
- "Source Code Layout" for the project.
*Changed Chapters*
- Update the "Homogeneous Python Containers and C++" chapter.
- Expand the "Memory Leaks" chapter.
- Extended the "Logging" chapter to show how to access the CPython Frame
from C.
- Add "Emulating Sequence Types" to the "Creating New Types" chapter.
- Expand the Index.
*Other*
- Python versions supported: 3.9, 3.10, 3.11, 3.12, 3.13.
- Development Status :: 5 - Production/Stable
- The documentation content, example and test code has roughly doubled
since version 0.2.2.
- PDF Documentation is 339 pages.
*Project Links*
- Source is on GitHub:
https://github.com/paulross/PythonExtensionPatterns
- Documentation on Read the Docs
http://pythonextensionpatterns.readthedocs.org/en/latest/index.html
- Project is on PyPi:
https://pypi.org/project/cPyExtPatt
Paul Ross
--- Synchronet 3.20c-Linux NewsLink 1.2