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 — Instructions for adding a new definition to the limited API don't work on platforms without `make` · Issue #1102 · python/devguide

Instructions for adding a new definition to the limited API don't work on platforms without make #1102

New issue
Copy link
New issue
Copy link
Closed
#1103
Closed
Instructions for adding a new definition to the limited API don't work on platforms without make#1102
#1103
Copy link

Description

@AlexWaygood
AlexWaygood
opened on May 30, 2023
Issue body actions

Describe the bug

In the devguide here, it states:

Regenerate the autogenerated files using make regen-limited-abi. On platforms without make, run this command directly:

./python ./Tools/scripts/stable_abi.py --generate-all ./Misc/stable_abi.toml

I'm using a platform without make, so I went for the second option. Unfortunately, there's no such script! Tools/scripts/stable_api.py doesn't exist in the CPython repo currently. As such, the instructions didn't work.

Expected behavior

I expected the instructions to work

Activity

  1. encukou commented on May 30, 2023

    @encukou
    encukou
    on May 30, 2023
    Member
    More actions

    Ugh. Yes, looks like it was moved to Tools/build/stable_abi.py in python/cpython#97963

    There might be more:

    $ git grep Tools/scripts
    developer-workflow/c-api.rst:381:     ./python ./Tools/scripts/stable_abi.py --generate-all ./Misc/stable_abi.toml
    developer-workflow/c-api.rst:388:    ./python ./Tools/scripts/stable_abi.py --all ./Misc/stable_abi.toml
    internals/interpreter.rst:49:Some code objects are pre-loaded into the interpreter using ``Tools/scripts/deepfreeze.py``, which writes ``Python/deepfreeze/deepfreeze.c``.
    testing/run-write-tests.rst:94:You can also execute the ``Tools/scripts/run_tests.py`` script as  found in a
    
  2. encukou commented on May 30, 2023

    @encukou
    encukou
    on May 30, 2023
    Member
    More actions

    False alarm: internals/interpreter.rst is 3.11-specific, and Tools/scripts/run_tests.py still exists.

    #1103 should fix this.

    Reacted by Alex Waygood
  3. encukou
    closed this as completedin #1103on May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — 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.