Skip to content

Migrate pyexpat from API deprecated in Expat 2.9.0 #159893

Open

Description

@encukou

Expat 2.9.0 deprecates some functions in favour of a 64-bit-size replacements:

  • XML_GetCurrentLineNumber → XML_GetCurrentLineNumber64
  • XML_GetCurrentColumnNumber → XML_GetCurrentColumnNumber64
  • XML_GetCurrentByteIndex → XML_GetCurrentByteIndex64
  • XML_GetCurrentByteCount → XML_GetCurrentByteCount64
  • XML_GetInputContext → XML_GetInputContext64

We should adapt for the ones we use.

Activity

  1. added
    stdlibStandard Library Python modules in the Lib/ directory
    type-refactorCode refactoring (with no changes in behavior)
    on Oct 20, 2026
  2. added and removed
    stdlibStandard Library Python modules in the Lib/ directory
    on Oct 20, 2026
  3. picnixz commented on Oct 20, 2026

    @picnixz
    Member

    There are a few new functions that I'd like to use as well with the Properties API. It could simplify the code we use. I will try to address it at the sprint as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions