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 — [3.15.0a8] Build error if specialization is disabled · Issue #148825 · python/cpython

[3.15.0a8] Build error if specialization is disabled #148825

New issue
Copy link
New issue
Copy link
Closed
Closed
[3.15.0a8] Build error if specialization is disabled#148825
Copy link
Labels
3.15bugs and security fixesbugs and security fixesbuildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@cdce8p
cdce8p
opened on Apr 21, 2026
Issue body actions

Bug report

Bug description:

Set ENABLE_SPECIFICATION = 0 and run make.

cpython/Include/internal/pycore_code.h

Line 301 in d206d42

#define ENABLE_SPECIALIZATION 1

Python/specialize.c:119:31: error: use of undeclared identifier 'opcode'
  119 |         i += _PyOpcode_Caches[opcode];
      |                               ^
1 error generated.
make: *** [Python/specialize.o] Error 1

The bug was introduced in 879c85f, released with 3.15.0a8.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

  • gh-148825: Fix build error if specialization is disabled #148826
  • [3.15] gh-148825: Fix build error if specialization is disabled (GH-148826) #152206

Activity

  1. cdce8p
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 21, 2026
  2. picnixz
    added
    buildThe build process and cross-buildThe build process and cross-build
    3.15bugs and security fixesbugs and security fixes
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Apr 21, 2026
  3. JelleZijlstra
    added 2 commits that reference this issue on Jun 25, 2026

    gh-148825: Fix build error if specialization is disabled (#148826)

    56ae0b8

    [3.15] gh-148825: Fix build error if specialization is disabled (GH-1…

    eaf4d73
  4. cdce8p
    closed this as completedon Jun 25, 2026
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

    3.15bugs and security fixesbugs and security fixesbuildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.