Contents Menu Expand Light mode Dark mode Auto light/dark mode
Python Developer's Guide
Logo
Python Developer's Guide
  • Getting Started
  • Where to Get Help
  • Lifecycle of a Pull Request
  • Running & Writing Tests
  • Increase Test Coverage
  • Helping with Documentation
  • Documenting Python
  • Silence Warnings From the Test Suite
  • Fixing “easy” Issues (and Beyond)
  • Issue Tracking
  • Triaging an Issue
  • Following Python’s Development
  • Porting Python to a new platform
  • How to Become a Core Developer
  • Developer Log
  • Accepting Pull Requests
  • Development Cycle
  • Continuous Integration
  • Adding to the Stdlib
  • Changing the Python Language
  • Experts Index
  • gdb Support
  • Exploring CPython’s Internals
  • Changing CPython’s Grammar
  • Guide to CPython’s Parser
  • Design of CPython’s Compiler
  • Design of CPython’s Garbage Collector
  • Updating standard library extension modules
  • Changing Python’s C API
  • Coverity Scan
  • Dynamic Analysis with Clang
  • Running a buildbot worker
  • Core Developer Motivations and Affiliations
  • Git Bootcamp and Cheat Sheet
  • Appendix: Topics

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
Changing Python’s C API
Previous
Design of CPython’s Garbage Collector
Copyright © 2011-2022, Python Software Foundation | 最后更新于 3月 10, 2022. | Created using Sphinx and @pradyunsg's Furo theme. | 显示源代码