back to courses
Python
Python, from real production code
Learn real Python engineering idioms and CPython internals through actual merged pull requests -- from application-level code in Apache Airflow to the CPython interpreter itself. Assumes you already know core Python syntax.
[ PRACTITIONER ]
- File encoding and Unicode handlingEnsuring Robust Unicode Handling by Explicitly Setting UTF-8 Encoding in File I/Opython/cpython · PR #156811
- Error handling patternsRefined Exception Handling for Specific Error Cases in Tarfile Processingpython/cpython · PR #149647
- API design for XML serializationDesigning Flexible XML Serialization APIs with Standalone Declaration Supportpython/cpython · PR #156730
- Input sanitization and validationSanitizing Kubernetes Labels to Ensure Valid Deploymentapache/airflow · PR #72200
[ ADVANCED ]
- XML whitespace handling and parsing nuancesPrecise XML Whitespace Handling in Python's XML Librariespython/cpython · PR #156659
- Error handling and resource cleanup in asynchronous network programmingRobust Error Handling and Socket Cleanup in Asyncio Server Connectionspython/cpython · PR #155936
- Memory management with PyBytesWriterAdvanced Memory Management Using PyBytesWriter in CPythonpython/cpython · PR #155743
- Iterator protocol extension with exception-based terminationExtending Python's Iterator Protocol with Exception-Based Terminationpython/cpython · PR #156298
[ EXPERT ]
- Thread safety in interpreter internalsEnsuring Thread Safety for Generator Frame Access in Python Interpreterpython/cpython · PR #156037
- Memory managementEfficient Memory Management with PyMem_Raw Allocators in Python's _ssl and _hashlib Modulespython/cpython · PR #156229
- JIT optimization and constant propagationJIT Optimization: Constant Narrowing via Predicate Symbols for `is` Comparisonspython/cpython · PR #143895
- Reference counting optimization in JIT compilationOptimizing Reference Counting with Unique Reference Tracking in JITpython/cpython · PR #144300