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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
110
PyLadies Valentines: "Matchmaking for Coders! And why 1+1=3!" by Isabella Hoesch
pyladiesdublin
0
57
PyLadies Dublin Aug Meetup: Text Classification using HuggingFace Transformers
pyladiesdublin
0
55
PyLadies Dublin August Meetup: PySpark 101: Tips and Tricks
pyladiesdublin
0
40
PyLadies Dublin Sep Meetup: Building Conversational Bot using Twilio & Python
pyladiesdublin
0
120
Python imports, reloads, and associated dangers by Sorcha Bowler
pyladiesdublin
0
45
My First Maker Project: Print Your Own Adventure Game
pyladiesdublin
0
71
Introduction to Jupyter Notebooks & Data Analysis using Kaggle
pyladiesdublin
0
110
Big Data Analytics with Time-Series Database kdb+
pyladiesdublin
0
200
Other Decks in Technology
See All in Technology
Agentic Coding 実践ワークショップ
watany
41
28k
re:Inventで見つけた「運用を捨てる」技術。
ezaki
1
160
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
400
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
66k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
セキュリティ はじめの一歩
nikinusu
0
1.2k
Databricks Free Edition講座 データサイエンス編
taka_aki
0
240
GCASアップデート(202510-202601)
techniczna
0
200
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
200
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
BPaaSオペレーション・kubell社内 n8n活用による効率化検証事例紹介
kubell_hr
0
370
The Engineer with a Three-Year Cycle - 2
e99h2121
0
200
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
How to build a perfect <img>
jonoalderson
1
4.9k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Embracing the Ebb and Flow
colly
88
5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
Evolving SEO for Evolving Search Engines
ryanjones
0
110
What does AI have to do with Human Rights?
axbom
PRO
0
2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
61
49k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
300
Documentation Writing (for coders)
carmenintech
77
5.2k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
630
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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!