Demystifying Python's Internals Diving into CPython by implementing a pipe operator|Sebastiaan Zeeff
PyCon Taiwan
PyCon APAC 2022|一般演講 Talks|國泰金控 Cathay Financial Holdings / 美光科技 Micron 冠名贊助
✏️ 共筆 Note:https://hackmd.io/@pycontw/SyOpLpmkj 🖐🏻 Slido:https://app.sli.do/event/4u3ARAHdFep9SSeVgb6Smr 💬 語言 Language:英文 English 🎯 層級 Level:中階 Intermediate 🔎 分類 Category:Python 核心 Python Core
💡 摘要 Abstract 💡 Diving into the Python source code can feel daunting. In my talk, I will take you through Python's internals by showing you how to implement a new operator, a pipe operator. This will take you on a journey through all the steps Python takes to execute your code, from parsing your code to evaluating bytecode. By the end, you will have a mental framework that allows you to dive into more comprehensive resources with more confidence. You don't have to be an expert in Python to follow along, although some affinity with Python will help.
🪄 說明 Description 🪄 Diving into the Python source code can feel daunting. Whether you want to start contributing or just want to get a better understanding of Python by exploring its source code, it’s often difficult to know where to start or what you’re missing.
In my talk, I will take you through Python's internals by showing you how to implement a new operator, a pipe operator. This will take us on a journey that touches upon all the steps necessary to execute a Python application, from parsing source code to evaluating bytecode.
By the end, you will have a general understanding of how Python executes code and the mental frameork to dive into more comprehensive resources, like the excellent Python Developer’s Guide and Anthony Shaw's CPython Internals.
My talk is aimed at everyone who wants to explore CPython’s internals. You don’t have to be an expert in Python, although some affinity with Python helps with understanding the internals. I will also use C to implement some of the operator logic, but knowledge of C is by no means required. In short, if you’re interested in diving into the CPython source code, this talk is for you.
🚀 講者介紹 About Speaker - Sebastiaan Zeeff 🚀 Sebastiaan is a Software Engineer for the Ordina Pythoneers and a Fellow of the Python Software Foundation. He has a passion for teaching Python and writing clean code. Sebastiaan is also active in the Python community, as an owner of Python Discord, open-source contributor, and Python educator. As a public speaker, he makes frequent appearances at Python conferences, including various regional PyCons, EuroPython, FOSDEM, and Pyjamas Conf. Sebastiaan lives in The Netherlands.
#pycontw #pyconapac2022 #python #cpython #pipeoperator
Follow “PyCon Taiwan” ⭐️ Official Website: https://tw.pycon.org ⭐️ Facebook: https://www.facebook.com/pycontw ⭐️ Instagram: https://www.instagram.com/pycontw ⭐️ Twitter: https://twitter.com/PyConTW ⭐️ LinkedIn: https://www.linkedin.com/company/pycontw ⭐️ Blogger: https://pycontw.blogspot.com ... https://www.youtube.com/watch?v=P7vboWN8eqY
115639690 Bytes