Your First Patch!
Submitting a patch to CPython
Lisa N Roach
Facebook Production Engineer
Slide 2
Slide 2 text
Me
• Production Engineer at Facebook in Infrastructure
Security
• Been contributing to CPython for ~1 year
Slide 3
Slide 3 text
What is CPython?
The main implementation of Python
Slide 4
Slide 4 text
Two Truths and a Lie
1. CPython is an interpreter
2. The majority of CPython is written in C
3. CPython is the most widely used implementation of
Python
Slide 5
Slide 5 text
Two Truths and a Lie
1. CPython is an interpreter
2. The majority of CPython is written in C
3. CPython is the most widely used implementation of
Python
Slide 6
Slide 6 text
2%
C++
1%
C
40%
Python
58%
Languages of
CPython
Slide 7
Slide 7 text
Patches? But Python is Perfect!
• Bug Fixes
• Feature Enhancements
• Performance Enhancements
• New Features
• Documentation Updates