Skip to content

from __future__ import annotations breaks dataclasses ClassVar and InitVar handling #77634

Closed
@Ricyteach

Description

@Ricyteach
mannequin
BPO 33453
Nosy @gpshead, @ericvsmith, @ned-deily, @methane, @ambv, @ilevkivskyi, @miss-islington, @Ricyteach, @FFY00
PRs
  • bpo-33453: Handle string type annotations in dataclasses. #6768
  • bpo-33453: Handle string type annotations in dataclasses. #6768
  • [3.7] bpo-33453: Handle string type annotations in dataclasses. (GH-6768) #6889
  • 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/ericvsmith'
    closed_at = <Date 2018-05-16.07:15:34.374>
    created_at = <Date 2018-05-09.21:38:42.693>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'from __future__ import annotations breaks dataclasses ClassVar and InitVar handling'
    updated_at = <Date 2020-05-04.11:56:05.334>
    user = 'https://github.com/Ricyteach'

    bugs.python.org fields:

    activity = <Date 2020-05-04.11:56:05.334>
    actor = 'FFY00'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2018-05-16.07:15:34.374>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-05-09.21:38:42.693>
    creator = 'Ricyteach'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33453
    keywords = ['patch', 'patch']
    message_count = 21.0
    messages = ['316333', '316335', '316336', '316338', '316345', '316346', '316350', '316351', '316362', '316391', '316392', '316394', '316396', '316411', '316412', '316417', '316419', '316481', '316523', '316755', '316762']
    nosy_count = 9.0
    nosy_names = ['gregory.p.smith', 'eric.smith', 'ned.deily', 'methane', 'lukasz.langa', 'levkivskyi', 'miss-islington', 'Ricyteach', 'FFY00']
    pr_nums = ['6768', '6768', '6889']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33453'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifestdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions