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 — CPython build failed with `--enable-pystats` after #118450 · Issue #121082 · python/cpython

CPython build failed with --enable-pystats after #118450 #121082

New issue
Copy link
New issue
Copy link
Closed
#121083
Closed
CPython build failed with --enable-pystats after #118450#121082
#121083
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@Zheaoli
Zheaoli
opened on Jun 27, 2024
Issue body actions

Bug report

Bug description:

Python/specialize.c: In function ‘_Py_Specialize_ForIter’:
Python/specialize.c:2392:60: error: incompatible type for argument 1 of ‘_PySpecialization_ClassifyIterator’
 2392 |                         _PySpecialization_ClassifyIterator(iter));
      |                                                            ^~~~
      |                                                            |
      |                                                            _PyStackRef
Python/specialize.c:409:70: note: in definition of macro ‘SPECIALIZATION_FAIL’
  409 |         _Py_stats->opcode_stats[opcode].specialization.failure_kinds[kind]++; \
      |                                                                      ^~~~
Python/specialize.c:2290:47: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘_PyStackRef’
 2290 |  _PySpecialization_ClassifyIterator(PyObject *iter)
      |                                     ~~~~~~~~~~^~~~

Introduced after #118450

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

  • gh-121082: Fix build failure when the developer use --enable-pystats arguments in configuration command after #118450 #121083

Activity

  1. Zheaoli
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jun 27, 2024
  2. Zheaoli commented on Jun 27, 2024

    @Zheaoli
    Zheaoli
    on Jun 27, 2024
    ContributorAuthor
    More actions

    cc @Fidget-Spinner

  3. Fidget-Spinner
    added a commit that references this issue on Jun 27, 2024

    gh-121082: Fix build failure when the developer use `--enable-pystats…

    223c03a
  4. Fidget-Spinner
    closed this as completedin #121083on Jun 27, 2024
  5. mrahtz
    added a commit that references this issue on Jun 30, 2024

    pythongh-121082: Fix build failure when the developer use `--enable-p…

    794f146
  6. estyxx
    added a commit that references this issue on Jul 17, 2024

    pythongh-121082: Fix build failure when the developer use `--enable-p…

    7aea987
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

    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.