Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Your First Patch! Submitting a Patch to CPython...
Search
PyLadies Dublin
June 20, 2017
Technology
0
140
Your First Patch! Submitting a Patch to CPython by Lisa Roach, Facebook Production Engineer
PyLadies Dublin @ Facebook
https://www.meetup.com/PyLadiesDublin/events/236605261/
PyLadies Dublin
June 20, 2017
Tweet
Share
More Decks by PyLadies Dublin
See All by PyLadies Dublin
Python in the Community
pyladiesdublin
0
73
PyLadies Valentines: "Matchmaking for Coders! And why 1+1=3!" by Isabella Hoesch
pyladiesdublin
0
52
PyLadies Dublin Aug Meetup: Text Classification using HuggingFace Transformers
pyladiesdublin
0
36
PyLadies Dublin August Meetup: PySpark 101: Tips and Tricks
pyladiesdublin
0
32
PyLadies Dublin Sep Meetup: Building Conversational Bot using Twilio & Python
pyladiesdublin
0
100
Python imports, reloads, and associated dangers by Sorcha Bowler
pyladiesdublin
0
26
My First Maker Project: Print Your Own Adventure Game
pyladiesdublin
0
41
Introduction to Jupyter Notebooks & Data Analysis using Kaggle
pyladiesdublin
0
85
Big Data Analytics with Time-Series Database kdb+
pyladiesdublin
0
160
Other Decks in Technology
See All in Technology
AI AgentOps LT大会(2025/04/16) Algomatic伊藤発表資料
kosukeito
0
120
10分でわかるfreeeのQA
freee
1
12k
さくらの夕べ Debianナイト - さくらのVPS編
dictoss
0
180
こんなデータマートは嫌だ。どんな? / waiwai-data-meetup-202504
shuntak
6
1.7k
MCPを活用した検索システムの作り方/How to implement search systems with MCP #catalks
quiver
2
760
Spice up your notifications/try!Swift25
noppefoxwolf
2
340
“パスワードレス認証への道" ユーザー認証の変遷とパスキーの関係
ritou
1
430
Micro Frontends: Necessity, Implementation, and Challenges
rainerhahnekamp
2
340
Startups On Rails 2025 @ Tropical on Rails
irinanazarova
0
250
Automatically generating types by running tests
sinsoku
1
430
システムとの会話から生まれる先手のDevOps
kakehashi
PRO
0
210
入社後SREチームのミッションや課題の整理をした話
morix1500
1
240
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Automating Front-end Workflow
addyosmani
1369
200k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.6k
Designing for Performance
lara
607
69k
The Language of Interfaces
destraynor
157
24k
Code Review Best Practice
trishagee
67
18k
Done Done
chrislema
183
16k
What's in a price? How to price your products and services
michaelherold
245
12k
Building an army of robots
kneath
304
45k
Building Adaptive Systems
keathley
41
2.5k
GitHub's CSS Performance
jonrohan
1030
460k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
Your First Patch! Submitting a patch to CPython Lisa N
Roach Facebook Production Engineer
Me • Production Engineer at Facebook in Infrastructure Security •
Been contributing to CPython for ~1 year
What is CPython? The main implementation of Python
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
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
2% C++ 1% C 40% Python 58% Languages of CPython
Patches? But Python is Perfect! • Bug Fixes • Feature
Enhancements • Performance Enhancements • New Features • Documentation Updates
Python Developer’s Guide https://docs.python.org/devguide/
Lifecycle of a Patch 1. Find an issue
Python Issues List http://bugs.python.org/
None
None
None
None
Issue30486: Allow setting cell value
None
None
Lifecycle of a Patch 1. Find an issue 2. Update
the code
Updating the Code 1. Code it 2. Write unit tests
3. Update documentation 4. Update Misc/NEWS
Updating the Code: Code It Objects/cellobject.c
Updating the Code: Write unit tests Lib/test/test_funcattrs.py
Updating the Code: Update documentation Doc/reference/datamodel.rst
Updating the Code: Update Misc/NEWS Misc/NEWS
Lifecycle of a Patch 1. Find an issue 2. Update
the code 3. Submit a Pull Request 4. Receive feedback 5. Make updates 6. Get merged
Pull Request
Get Help! • Slack channel: PyLadies: #cpython-dev • Github: pyladies/pyladies-maintainers
• Mailers: • Core-mentorship-request • Python-ideas
We Need You!