Python: XML Parser Enhancement and Cygwin Compatibility

Python developers merged 20 pull requests on May 26th, with a major XML parser update adding multi-byte encoding support and several fixes improving Cygwin platform compatibility.

Duration: PT2M3S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-05-27T10:01:51Z
  • Audio duration: PT2M3S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. This is your Python developer briefing for May 27th, 2026.

Yesterday saw significant activity with 20 merged pull requests and 9 additional commits to the CPython repository.

The headline change comes from Serhiy Storchaka, who merged support for multi-byte encodings in the XML parser. This adds support for encodings including CP932, CP949, Big5, EUC-JP, GB2312, GBK, and Shift_JIS, with partial support for Big5-HKSCS and UTF-8-sig variants. The parser now properly raises ValueError for…

Mark Shannon merged improvements to the machine stack pointer implementation, making the recursion limit check inline again and consolidating C stack switching logic into the recursive call checker.

Victor Stinner contributed multiple Cygwin compatibility fixes, addressing issues in test_embed, test_venv, and test_grp modules. The venv module now properly copies the cygpython DLL in copy mode.

Storchaka also completed a cleanup effort, merging fixes for overly long docstrings across builtins, the IO module, and sqlite3 module, with backports to Python 3.13 and 3.14 branches.

Nearby episodes from Python

  1. Cleanup and Cross-Platform Fixes
  2. Weekly Recap - Documentation Cleanup & Maintenance
  3. Performance Fixes and Security Updates
  4. Documentation and Maintenance Updates
  5. Documentation Cleanup and Platform Fixes
  6. Security Fixes and Documentation Cleanup
  7. Memory Fixes and Performance Improvements
  8. Weekly Recap - JIT Optimization & Performance Focus