Created attachment 438468 [details, diff] Patch for 2.7.11 Expat commit https://sourceforge.net/p/expat/code_git/ci/550eb6bbaa7e6efc44e94cab945fe9c781c01211 fixed a bug that the Python test suite relies on, changing the byte error offset from 14 to 13 for a specific malformed XML input. Attached you find patches for consideration to fix all supported Python versions in Gentoo.
Created attachment 438470 [details, diff] Patch for 3.x.x
The issue is know upstream at http://bugs.python.org/issue27369 know.
Marked as resolved upstream for py3.6. Is this bug affecting >3.6 ?
(In reply to David Denoncin from comment #3) > Marked as resolved upstream for py3.6. Is this bug affecting >3.6 ? I ran the tests on python-3.6.11-r2.ebuild.ebuild just now and with dev-libs/expat-2.2.9 installed and the log said: 0:01:48 load avg: 4.06 [190/406] test_pyexpat passed -- running: test_multiprocessing_fork (57 sec 888 ms) So without having looked further, that looks good and fixed to me.
I get something similar for python-3.7.8-r2. Closing as fixed.