Skip to content

Add Void type to typing library #87408

Closed
Closed

Description

@ocket8888
mannequin
BPO 43242
Nosy @ocket8888
PRs
  • Add Void type #24557
  • 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 2021-02-17.17:14:52.078>
    labels = ['type-feature', 'library', '3.10']
    title = 'Add Void type to typing library'
    updated_at = <Date 2021-02-17.17:16:53.722>
    user = 'https://github.com/ocket8888'

    bugs.python.org fields:

    activity = <Date 2021-02-17.17:16:53.722>
    actor = 'ocket8888'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-02-17.17:14:52.078>
    creator = 'ocket8888'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43242
    keywords = ['patch']
    message_count = 1.0
    messages = ['387166']
    nosy_count = 1.0
    nosy_names = ['ocket8888']
    pr_nums = ['24557']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue43242'
    versions = ['Python 3.10']

    Activity

    1. ocket8888 commented on Feb 17, 2021

      ocket8888mannequin
      MannequinAuthor

      It'd be nice to have a "void" type that indicates to static type checkers that a function/method cannot be used in a valid assignment.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Feb 17, 2021
    3. transferred this issue fromon Apr 10, 2022
    4. AlexWaygood commented on Apr 14, 2022

      @AlexWaygood
      Member

      As @gvanrossum stated in the linked PR, proposals like this need substantial discussion, either on the typing-sig mailing list or at https://github.com/python/typing/issues, before a CPython issue can be created. If you're able to find substantial support for your proposal in one of those forums, please feel free to open a new CPython issue and/or PR for this feature proposal.

    5. moved this from Todo to Done in Contribution Queueon Feb 6, 2023
    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 fixesstdlibStandard Library Python modules in the Lib/ directorytopic-typingtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions