Skip to content

Implement typing.reveal_locals #90637

Closed
Closed

Description

@JelleZijlstra
BPO 46479
Nosy @gvanrossum, @JelleZijlstra, @sobolevn, @Fidget-Spinner, @AlexWaygood
PRs
  • bpo-46479: add typing.reveal_locals #30839
  • 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 = 'https://github.com/JelleZijlstra'
    closed_at = <Date 2022-02-05.16:09:18.756>
    created_at = <Date 2022-01-23.05:15:50.715>
    labels = ['type-feature', 'library', '3.11']
    title = 'Implement typing.reveal_locals'
    updated_at = <Date 2022-02-05.16:09:18.755>
    user = 'https://github.com/JelleZijlstra'

    bugs.python.org fields:

    activity = <Date 2022-02-05.16:09:18.755>
    actor = 'JelleZijlstra'
    assignee = 'JelleZijlstra'
    closed = True
    closed_date = <Date 2022-02-05.16:09:18.756>
    closer = 'JelleZijlstra'
    components = ['Library (Lib)']
    creation = <Date 2022-01-23.05:15:50.715>
    creator = 'JelleZijlstra'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46479
    keywords = ['patch']
    message_count = 2.0
    messages = ['411344', '412579']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'JelleZijlstra', 'sobolevn', 'kj', 'AlexWaygood']
    pr_nums = ['30839']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46479'
    versions = ['Python 3.11']

    Activity

    1. JelleZijlstra commented on Jan 23, 2022

      @JelleZijlstra
      MemberAuthor

      Implement typing.reveal_locals() as proposed in https://mail.python.org/archives/list/[email protected]/thread/5MGN6HZWTJELNLIUOXTHLIXVLKZCEWY2/. This is a marker for type checkers that causes them to emit the types of all local variables.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      3.11only security fixes
      on Jan 23, 2022
    3. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Jan 23, 2022
    4. JelleZijlstra commented on Feb 5, 2022

      @JelleZijlstra
      MemberAuthor

      Withdrawn as there's insufficient demand for this function.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions