Skip to content

Offer suggestions on AttributeError and NameError #82711

Closed
@pablogsal

Description

@pablogsal
BPO 38530
Nosy @vstinner, @aroberge, @serhiy-storchaka, @1st1, @pablogsal, @tirkarthi, @isidentical, @sweeneyde
PRs
  • bpo-38530: Offer suggestions on AttributeError #16850
  • bpo-38530: Offer suggestions on AttributeError #16856
  • bpo-38530: Offer suggestions on NameError #25397
  • bpo-38530: Clean exceptions if dir() fails when making suggestions for AttributeError #25408
  • bpo-38530: Optimize the calculation of string sizes when offering suggestions #25412
  • bpo-38530: Match exactly AttributeError and NameError when offering suggestions #25443
  • bpo-38530: Properly extend UnboundLocalError from NameError #25444
  • bpo-38530: Include builtins in NameError suggestions #25460
  • bpo-38530: Cover more error paths in error suggestion functions #25462
  • bpo-38530: Surround suggestions by quotes #25473
  • bpo-38530: Require 50% similarity in NameError suggestions #25584
  • bpo-38530: Refactor AttributeError suggestions #25776
  • 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 2021-04-14.23:32:49.056>
    created_at = <Date 2019-10-19.18:57:31.623>
    labels = ['interpreter-core', 'type-feature', '3.9']
    title = 'Offer suggestions on AttributeError and NameError'
    updated_at = <Date 2021-05-03.15:47:35.739>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2021-05-03.15:47:35.739>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-14.23:32:49.056>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2019-10-19.18:57:31.623>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38530
    keywords = ['patch']
    message_count = 40.0
    messages = ['354954', '354955', '354956', '354957', '354958', '354959', '354960', '354964', '354965', '354967', '354969', '354970', '354971', '354972', '354973', '354975', '354979', '354981', '355499', '355503', '355527', '355530', '355531', '355533', '359977', '391026', '391080', '391090', '391108', '391123', '391219', '391224', '391312', '391316', '391834', '392007', '392513', '392543', '392581', '392817']
    nosy_count = 9.0
    nosy_names = ['vstinner', 'aroberge', 'serhiy.storchaka', 'yselivanov', 'james', 'pablogsal', 'xtreak', 'BTaskaya', 'Dennis Sweeney']
    pr_nums = ['16850', '16856', '25397', '25408', '25412', '25443', '25444', '25460', '25462', '25473', '25584', '25776']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38530'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9only security fixesinterpreter-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