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 — unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found · Issue #90988 · python/cpython

unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found #90988

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found#90988
Copy link
Labels
3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtopic-subinterpreters

Description

moytrage
mannequin
opened on Feb 23, 2022
Issue body actions
BPO 46832
Nosy @vstinner, @ericsnowcurrently, @kumaraditya303
Files
  • unicodeobject.c
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2022-02-23.06:12:09.073>
    labels = ['expert-subinterpreters', 'build', '3.10']
    title = 'unicodeobject.c doesn\'t compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found'
    updated_at = <Date 2022-03-03.11:29:31.887>
    user = 'https://bugs.python.org/moytrage'

    bugs.python.org fields:

    activity = <Date 2022-03-03.11:29:31.887>
    actor = 'kumaraditya'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Subinterpreters']
    creation = <Date 2022-02-23.06:12:09.073>
    creator = 'moytrage'
    dependencies = []
    files = ['50637']
    hgrepos = []
    issue_num = 46832
    keywords = []
    message_count = 3.0
    messages = ['413774', '414429', '414431']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'eric.snow', 'kumaraditya', 'moytrage']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue46832'
    versions = ['Python 3.10']

    Activity

    1. moytrage commented on Feb 23, 2022

      @moytrage
      moytragemannequin
      on Feb 23, 2022
      MannequinAuthor
      More actions
      1. Downloaded https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tar.xz

      2. Compiled under MSVC 2019 with define EXPERIMENTAL_ISOLATED_SUBINTERPRETERS

      3. Got compilation error of file Objects/unicodeobject.c at line 15931, about undefined variable "interned", it is function _PyUnicode_ClearInterned(), uncompilable code is "if (interned == NULL) {".

      This happens because when EXPERIMENTAL_ISOLATED_SUBINTERPRETERS is defined then INTERNED_STRINGS is undefined hence global variable "static PyObject *interned = NULL;" is not created, and _PyUnicode_ClearInterned() uses this global variable "interned".

      For reference attaching my version of "unicodeobject.c" which has compilation error at line 15931.

    2. moytrage
      added
      3.10 (EOL)end of lifeend of life
      topic-subinterpreters
      buildThe build process and cross-buildThe build process and cross-build
      on Feb 23, 2022
    3. vstinner commented on Mar 3, 2022

      @vstinner
      vstinner
      on Mar 3, 2022
      Member
      More actions

      This build flag is experimental and unsupported. If you care, you should target Python 3.11 which is currently under development.

    4. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    5. ezio-melotti
      added this to Subinterpreterson Apr 15, 2022
    6. ezio-melotti
      moved this to Todo in Subinterpreterson Apr 15, 2022
    7. kumaraditya303
      added
      3.11only security fixesonly security fixes
      3.10 (EOL)end of lifeend of life
      and removed
      3.10 (EOL)end of lifeend of life
      on Apr 15, 2022
    8. kumaraditya303 commented on Jul 10, 2022

      @kumaraditya303
      kumaraditya303
      on Jul 10, 2022
      Contributor
      More actions

      Closing as EXPERIMENTAL_ISOLATED_SUBINTERPRETERS was removed in #93185

    9. kumaraditya303
      closed this as not plannedon Jul 10, 2022
    10. Repository owner moved this from Todo to Done in Subinterpreterson Jul 10, 2022
    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.10 (EOL)end of lifeend of life3.11only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtopic-subinterpreters

      Projects

      • Subinterpreters
        Status
        Done
        Show more project fields

      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.