Skip to content

Better explain "TypeError: 'tuple' object is not callable" #59453

@o11c

Description

@o11c
mannequin
BPO 15248
Nosy @gvanrossum, @rhettinger, @terryjreedy, @ezio-melotti, @merwok, @stevendaprano, @serhiy-storchaka, @o11c, @storymode7
PRs
  • bpo-15248: Emit a compiler warning when missed a comma before tuple or list. #11757
  • bpo-15248: Emit a compiler warning when missed a comma before tuple or list. #11757
  • Fix syntax warnings in tests introduced in bpo-15248. #11932
  • [3.7] Fix syntax warnings in tests introduced in bpo-15248. (GH-11932) #11935
  • Fix syntax warnings in tests introduced in bpo-35942. #11934
  • Files
  • compile-warnings.diff
  • 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 2019-08-11.16:26:06.728>
    created_at = <Date 2012-07-04.05:28:42.223>
    labels = ['interpreter-core', 'easy', 'type-feature', '3.8']
    title = 'Better explain "TypeError: \'tuple\' object is not callable"'
    updated_at = <Date 2019-08-12.03:38:14.664>
    user = 'https://github.com/o11c'

    bugs.python.org fields:

    activity = <Date 2019-08-12.03:38:14.664>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-08-11.16:26:06.728>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2012-07-04.05:28:42.223>
    creator = 'o11c'
    dependencies = []
    files = ['47496']
    hgrepos = []
    issue_num = 15248
    keywords = ['patch', 'easy']
    message_count = 16.0
    messages = ['164637', '164711', '164716', '164741', '164774', '314197', '314218', '314220', '334306', '334324', '335668', '335934', '349375', '349380', '349395', '349432']
    nosy_count = 10.0
    nosy_names = ['gvanrossum', 'rhettinger', 'terry.reedy', 'ezio.melotti', 'eric.araujo', 'steven.daprano', 'docs@python', 'serhiy.storchaka', 'o11c', 'storymode7']
    pr_nums = ['11757', '11757', '11932', '11935', '11934']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15248'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeeasyinterpreter-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