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 — Unused `FVC_NONE` definition · Issue #148986 · python/cpython

Unused FVC_NONE definition #148986

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Unused FVC_NONE definition#148986
Copy link

Description

@ShaharNaveh
ShaharNaveh
opened on Apr 25, 2026
Issue body actions

Code in question:

cpython/Include/ceval.h

Line 129 in c650b51

#define FVC_NONE 0x0

This confused me about the possible oparg values for CONVERT_VALUE.

#6132 Added FORMAT_SIMPLE that's what that value used to be for.

Even the docs don't specify a possible value of "0" as an oparg:

cpython/Doc/library/dis.rst

Lines 1719 to 1723 in c650b51

* ``oparg == 1``: call :func:`str` on *value*
* ``oparg == 2``: call :func:`repr` on *value*
* ``oparg == 3``: call :func:`ascii` on *value*

Linked PRs

  • gh-148986: Remove unused FVC_NONE definition #148996

Activity

  1. picnixz commented on Apr 25, 2026

    @picnixz
    picnixz
    on Apr 25, 2026
    Member
    More actions

    Sorry but this cannot be removed,. it's part of public headers. You don't know how it's used in the wild. It doesn't hurt IMO.

  2. picnixz
    closed this as not plannedon Apr 25, 2026
  3. ShaharNaveh commented on Apr 25, 2026

    @ShaharNaveh
    ShaharNaveh
    on Apr 25, 2026
    ContributorAuthor
    More actions

    Sorry but this cannot be removed,. it's part of public headers. You don't know how it's used in the wild. It doesn't hurt IMO.

    Good point!
    thanks for the feedback:)

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.