Files
RustPython/crates/stdlib/src
Kwak Byoung Min fe7993572c Forward pyexpat lexical events (#8264)
* Restore pyexpat lexical callback compatibility

Forward processing instructions, comments, and CDATA boundaries already emitted by xml-rs so registered Python handlers observe CPython-compatible events.

Constraint: Reuse existing xml-rs events without changing the dependency
Confidence: high
Scope-risk: narrow
Tested: prek; test_pyexpat; test_sax; 402 extra tests; workspace tests; clippy
Assisted-by: Codex:gpt-5.6-sol

* Recognize XML compatibility restored by lexical events

Remove stale expected-failure markers for CPython XML tests now satisfied by pyexpat lexical-event forwarding, and simplify parser event error propagation.

Constraint: CPython test edits are limited to removing stale expectedFailure markers
Confidence: high
Scope-risk: narrow
Directive: Keep parser event dispatch aligned with pyexpat handler behavior
Tested: user-verified full suite; prek run --all-files; cargo run --release -- -m test test_pyexpat test_xml_etree test_xml_etree_c test_minidom test_sax
Assisted-by: Codex:gpt-5.6-sol
2026-07-13 18:40:18 +09:00
..
2026-07-07 18:14:45 +09:00
2026-05-28 12:16:08 +09:00
2026-06-22 16:30:51 +09:00
2026-06-11 12:11:54 +09:00
2026-05-16 19:01:40 +09:00
2026-05-04 10:18:24 +09:00
2026-06-17 13:24:36 +09:00
2026-07-12 12:35:00 +00:00
2026-06-10 11:14:05 +09:00
2026-01-21 22:39:40 +09:00
2026-01-21 22:39:40 +09:00
2026-07-13 14:11:41 +09:00
2026-07-07 18:14:45 +09:00
2026-07-07 18:14:45 +09:00
2026-06-11 12:11:54 +09:00
2026-07-07 18:14:45 +09:00
2026-06-04 00:18:55 +09:00
2026-02-14 21:40:04 +09:00
2026-07-07 18:14:45 +09:00
2026-07-07 18:14:45 +09:00
2026-06-22 13:17:21 +09:00
2026-07-07 18:14:45 +09:00
2026-07-07 18:14:45 +09:00
2026-07-07 18:14:45 +09:00
2026-02-14 21:40:04 +09:00
2026-02-14 21:40:04 +09:00
2026-07-07 18:14:45 +09:00
2026-07-12 12:35:00 +00:00
2026-05-15 10:38:36 +00:00
2026-01-21 22:39:40 +09:00
2026-07-07 18:14:45 +09:00
2026-07-07 18:14:45 +09:00
2026-05-13 09:45:15 +09:00
2026-07-07 09:19:25 +09:00
2026-07-07 18:14:45 +09:00