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 — Crash in substitution of nested TypeVar after TypeVarTuple · Issue #93345 · python/cpython

Crash in substitution of nested TypeVar after TypeVarTuple #93345

New issue
Copy link
New issue
Copy link
Closed
#93346
Closed
Crash in substitution of nested TypeVar after TypeVarTuple#93345
#93346
Copy link
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixestopic-typingtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump

Description

@serhiy-storchaka
serhiy-storchaka
opened on May 30, 2022
Issue body actions

During work on #93330 I have found an error in the C code which causes crash when substitute a TypeVar in nested generic alias after TypeVarTuple.

For example:

>>> from typing import *
>>> T = TypeVar('T')
>>> Ts = TypeVarTuple('Ts')
>>> tuple[*Ts, list[T]][int, str, bool]
Segmentation fault (core dumped)

Activity

  1. serhiy-storchaka
    added
    3.11only security fixesonly security fixes
    type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
    topic-typing
    3.12only security fixesonly security fixes
    on May 30, 2022
  2. serhiy-storchaka
    added a commit that references this issue on May 30, 2022

    pythongh-93345: Fix a crash in substitution of nested TypeVar after T…

    f8005fc
  3. serhiy-storchaka
    closed this as completedin #93346on May 31, 2022
  4. serhiy-storchaka
    added a commit that references this issue on May 31, 2022

    gh-93345: Fix a crash in substitution of nested TypeVar after TypeVar…

    f545fc9
  5. serhiy-storchaka
    reopened this on May 31, 2022
  6. serhiy-storchaka
    added
    release-blocker
    on May 31, 2022
  7. miss-islington
    added 2 commits that reference this issue on Jun 1, 2022

    pythongh-93345: Fix a crash in substitution of nested TypeVar after T…

    ba4da2a

    gh-93345: Fix a crash in substitution of nested TypeVar after TypeVar…

    3265ff9
  8. serhiy-storchaka
    removed
    release-blocker
    on Jun 1, 2022
  9. serhiy-storchaka
    closed this as completedon Jun 1, 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.11only security fixesonly security fixes3.12only security fixesonly security fixestopic-typingtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump

    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.