Development workflow¶
- Following Python’s development
- Changing Python
- Development cycle
- Adding to the stdlib
- Standard library extension modules
- Changing Python’s C API
- Changing CPython’s grammar
- Specializing a bytecode instruction
- Overview of components
- Step-by-step checklist
- Step 1: Define the cache structure and function declaration
- Step 2: Update Python/bytecodes.c
- Step 3: Implement the specializing function in Python/specialize.c
- Step 4: Expose internal fast-path C helpers if needed
- Step 5: Add cache layout in Lib/opcode.py
- Step 6: Bump the bytecode magic number
- Step 7: Regenerate code files
- Step 8: Testing and benchmarking
- See also
- Porting and platform support