Skip to content

is_dataclass returns True if getattr always succeeds. #82049

Description

@JohanHidding
BPO 37868
Nosy @ericvsmith, @serhiy-storchaka, @miss-islington
PRs
  • bpo-37868: Improve is_dataclass for instances. #15325
  • [3.8] bpo-37868: Improve is_dataclass for instances. (GH-15325) #15339
  • [3.7] bpo-37868: Improve is_dataclass for instances. (GH-15325) #15340
  • 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 2019-08-20.06:05:07.986>
    created_at = <Date 2019-08-15.12:02:15.512>
    labels = ['3.7', 'type-bug', 'library']
    title = '`is_dataclass` returns `True` if `getattr` always succeeds.'
    updated_at = <Date 2019-08-20.06:05:07.985>
    user = 'https://bugs.python.org/JohanHidding'

    bugs.python.org fields:

    activity = <Date 2019-08-20.06:05:07.985>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2019-08-20.06:05:07.986>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2019-08-15.12:02:15.512>
    creator = 'Johan Hidding'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37868
    keywords = ['patch']
    message_count = 7.0
    messages = ['349802', '349821', '349822', '349832', '349989', '349990', '349991']
    nosy_count = 4.0
    nosy_names = ['eric.smith', 'serhiy.storchaka', 'miss-islington', 'Johan Hidding']
    pr_nums = ['15325', '15339', '15340']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37868'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions