Skip to content

Can we decide if xx* modules are supposed to be packaged? #127484

@thatch

Description

@thatch

Bug report

Bug description:

(Observed on archlinux, but also present on docker run -ti python:3.13 so I assume it affects at least all Linux).

There are a number of demo/test extensions included (by accident?) when you run make install. For example, the one I found today:

  • xx (Modules/xxmodule.c, not installed)
  • xxlimited (Modules/xxlimited.c, installed)
  • xxsubtype (Modules/xxsubtype.c, installed)

None of them appear listed in sys.stdlib_module_names and they also have invalid docs links like https://docs.python.org/3.12/library/xxlimited.html which leads me to think they weren't intended to be this public?

I'm maintainer of the stdlibs project (used by usort and ruff) and was spot-checking the differences with the stdlib-list project before filing an PR there.

CPython versions tested on:

3.12, 3.13

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions