GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Migrate pyexpat from API deprecated in Expat 2.9.0 · Issue #159893 · python/cpython

Migrate pyexpat from API deprecated in Expat 2.9.0 #159893

Copy link
Copy link
Closed as not planned
Closed as not planned
Migrate pyexpat from API deprecated in Expat 2.9.0#159893
Copy link
Assignees
encukoupicnixz
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-XMLtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)

Description

@encukou
encukou
opened on Oct 20, 2026
Issue body actions

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.

Reacted by Stan Ulbrych and Sebastian Pipping

Activity

  1. encukou
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
    on Oct 20, 2026
  2. StanFromIreland
    added
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    topic-XML
    and removed
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Oct 20, 2026
  3. picnixz commented on Oct 20, 2026

    @picnixz
    picnixz
    on Oct 20, 2026
    Member
    More actions

    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.

    Reacted by Sebastian Pipping
  4. picnixz
    assigned
    picnixz
    and
    encukou
    on Oct 20, 2026
  5. encukou commented on Oct 21, 2026

    @encukou
    encukou
    on Oct 21, 2026
    MemberAuthor
    More actions

    Ah, false alarm. The capsule doesn't expose the old functions (and Stan took care of pyexpat's usage).

    @picnixz, could you open a separate issue?

    Sorry for the noise.

    Reacted by Bénédikt Tran
  6. encukou
    closed this as not plannedon Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @encukou
    encukou
  • @picnixz
    picnixz

Labels

extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-XMLtype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.