27. Updating standard library extension modules - Python Developer's GuideContentsMenuExpand - web.archive.org 27. Updating standard library extension modules - Python Developer's GuideContentsMenuExpand - web.archive.org 27. Updating standard library extension modules - Python Developer's GuideContentsMenuExpand - web.archive.org
Python Developer's Guide
Logo
Python Developer's Guide
  • 1. Getting Started
  • 2. Where to Get Help
  • 3. Lifecycle of a Pull Request
  • 4. Running & Writing Tests
  • 5. Increase Test Coverage
  • 6. Helping with Documentation
  • 7. Documenting Python
  • 8. Silence Warnings From the Test Suite
  • 9. Fixing β€œeasy” Issues (and Beyond)
  • 10. Issue Tracking
  • 11. Triaging an Issue
  • 12. Following Python’s Development
  • 13. Porting Python to a new platform
  • 14. How to Become a Core Developer
  • 15. Developer Log
  • 16. Accepting Pull Requests
  • 17. Development Cycle
  • 18. Continuous Integration
  • 19. Adding to the Stdlib
  • 20. Changing the Python Language
  • 21. Experts Index
  • 22. gdb Support
  • 23. Exploring CPython’s Internals
  • 24. Changing CPython’s Grammar
  • 25. Design of CPython’s Compiler
  • 26. Design of CPython’s Garbage Collector
  • 27. Updating standard library extension modules
  • 28. Changing Python’s C API
  • 29. Coverity Scan
  • 30. Dynamic Analysis with Clang
  • 31. Running a buildbot worker
  • 32. Core Developer Motivations and Affiliations
  • 33. Git Bootcamp and Cheat Sheet
  • 34. Appendix: Topics

27. Updating standard library extension modulesΒΆ

In this section, we could explain how to write a CPython extension with the C language, but the topic can take a complete book.

For this reason, we prefer to give you some links where you can read a very good documentation.

Read the following references:

  • https://docs.python.org/dev/c-api/

  • https://docs.python.org/dev/extending/

  • https://www.python.org/dev/peps/pep-0399/

  • https://pythonextensionpatterns.readthedocs.io/en/latest/

Next
28. Changing Python’s C API
Previous
26. Design of CPython’s Garbage Collector
Copyright Β© 2011-2021, Python Software Foundation | Last updated on Jul 17, 2021. | Built with Sphinx and @pradyunsg's Furo theme. | Show Source