[Python-announce] Python Extension Patterns v0.3

Paul Ross via Python-announce-list <[email protected]> Thu, 20 Mar 2025 11:47:52 +0000
Newsgroups gmane.comp.python.announce
Message-ID <CAFQeoW7DX87q7NKfNF--7Ox+GTGLkS8SwPVV3YbNYjNhUUMvLA@mail.gmail.com>
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
_______________________________________________
Python-announce-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: [email protected]