Skip to content

better error message when __all__ contains non-str objects #77113

@zhangyangyu

Description

@zhangyangyu
BPO 32932
Nosy @warsaw, @brettcannon, @ncoghlan, @ericsnowcurrently, @serhiy-storchaka, @zhangyangyu
PRs
  • bpo-32932: More revealing error message when non-str objects in __all__ #5848
  • 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 = <Date 2018-03-24.10:41:16.825>
    created_at = <Date 2018-02-24.08:51:48.133>
    labels = ['interpreter-core', 'type-feature', '3.8']
    title = 'better error message when __all__ contains non-str objects'
    updated_at = <Date 2018-03-24.10:41:16.824>
    user = 'https://github.com/zhangyangyu'

    bugs.python.org fields:

    activity = <Date 2018-03-24.10:41:16.824>
    actor = 'xiang.zhang'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-24.10:41:16.825>
    closer = 'xiang.zhang'
    components = ['Interpreter Core']
    creation = <Date 2018-02-24.08:51:48.133>
    creator = 'xiang.zhang'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32932
    keywords = ['patch']
    message_count = 13.0
    messages = ['312704', '312705', '312707', '312716', '312743', '312756', '312769', '312792', '312832', '312901', '312906', '312983', '314364']
    nosy_count = 6.0
    nosy_names = ['barry', 'brett.cannon', 'ncoghlan', 'eric.snow', 'serhiy.storchaka', 'xiang.zhang']
    pr_nums = ['5848']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32932'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions