--- title: "CPython Past, Current, and Future - Donghee Na" tags: PyConTW2025, 2025-organize, 2025-共筆 --- # CPython Past, Current, and Future - Donghee Na {%hackmd L_RLmFdeSD--CldirtUhCw %} <iframe src=https://app.sli.do/event/5vkNTK2BeeoH4sBoUnBM1Z height=450 width=100%></iframe> :::success 本演講提供 AI 翻譯字幕及摘要,請點選這裡前往 >> [PyCon Taiwan AI Notebook](https://pycontw.connyaku.app/?room=aDijNwxdBr1gpcF9YeaP) AI translation subtitles and summaries are available for this talk. Click here to access >> [PyCon Taiwan AI Notebook](https://pycontw.connyaku.app/?room=aDijNwxdBr1gpcF9YeaP) ::: > Collaborative writing start from below > 從這裡開始共筆 ## QAs ### Can you share the pros and cons of the Faster CPython project maintained by company vs maintained by the community? Community-driven version don't consider much about sponsors. On the other hand, making of CPython needs a lot of money. If we need fund, we still need sponsors. ### Do all these performance improvements make the CPython implementation harder to work with for the core developers? Yes, and everyone is worried about this. They have too many features, too many knowledges to understand. We tried to solve this issue every year though. ### As a Python developer, is free-threading change the way we code? Like we have to care about the thread lock, racing conditions or third party library? Still use the mutex lock for I\O bounded tasks. But most people don't care about it. If consider to use dict, consider other concurrency that is faster. (Not complete.) ### How does the CPython core dev team collaborate? Since everyone is in different time zones, I can imagine it's not easy to find a time that fits everyone. Internal discord server to discuss asynchronously. ### Rumor has it that we "might" have some rust in CPython Is this true? What could be the potential impact? Would it make it RustPython? Yeah it's a rumor. Some of the core dev members want to write in Rust, domain problem is that Python is too widely used. C compiler covers almost all the platform, while Rust is more limited. Let's wait. ### Can you compare the JIT between PyPy and CPython, how is the core PyPy team involved to CPython's development? The relation betweem the two is complex. Pypy team is good at how to make python faster. They also send patches to CPython. ### Does the CPython core dev team use AI tools like Gemini, Claude for developing CPython? Is it helpful for this use case? LLM is good at understanding. But they are bad having a for new solutions. ### How is being in the steering council help you holistically understand CPython's future? Have to read a bunch of pathes everything, have to decide something. Frequently as ChatGPT about what some implement means. ### How long do you think It will take to have the entire ecosystem to support free-threading CPython and get rid of GIL version? ### How do you align with your CPython expertise to your day job? Internal team to solve company-wide issues related to this. ### Just curious, what are the prioritized/important topics in CPython at this moment besides free-threading? JIT. Translation, documentation. Provides documentation to non-English users. ### I would like to ask about the recent news that GitHub will now report directly to Microsoft. How do you think this change might affect the open-source ecosystem GitHub is very supportive to CPython. One story is that they crushes GitHub when migrating. The cooperates well. ### What do you think about the approach Mojo is taking? ### What motivates you to become a core developer and even a member of the steering council? ### Why do we need a 5-person Steering Council to continue a single BDFL? Can think about widely perspective. People communicates with the group instead of a person. That's the way to protect people in python projects. ### What language feature do you hate and want to get rid of from Python? Python core dev is trying to remove out-dated modules that are not maintained anymore. ### What is the future of Python versioning, and will there be a Python 4? Not same as Python 2 to 3, it's more like Python 1 to 2. Who knows ### What do you recommend a person to do if he/she wants to contribute to CPython or even become a core developer? Be patience, give a long walk. Many people jump in and disappear after a short while. Make credits starting from simple issues. Their view is that they want to see the person's ability and if the person can understand the workflow. Core team members are human as well, discuss more deeply, keep ...(?) ### What do you think we can do to increase the CPython involvement in the APAC area? Or do we really need to? And why is that? Set CPython aside, in some case, the framework doesn't support your use case, the devs can't imagine every use cases. The value is that it brings in more perspevtives. ### Some Python-related features are kinda replaced by Astral's products (e.g., uv, ruff). What's your opinion on this? No comments. --- Below is the part that speaker updated the talk/tutorial after speech 講者於演講後有更新或勘誤投影片的部份