Skip to content

Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators #87999

@sco1

Description

@sco1
mannequin
BPO 43833
Nosy @gvanrossum, @rhettinger, @cfbolz, @nedbat, @serhiy-storchaka, @zooba, @gvanrossum, @asottile, @pablogsal, @miss-islington, @sco1, @pxeger, @shreyanavigyan, @alimuldal
PRs
  • bpo-43833: Emit warnings for numeric literals followed by keyword #25466
  • [3.10] bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466) #26614
  • 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-06-09.00:25:00.346> created_at = <Date 2021-04-13.18:27:19.816> labels = ['interpreter-core', 'type-bug', '3.10'] title = 'Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators' updated_at = <Date 2021-11-08.13:52:29.794> user = 'https://github.com/sco1'

    bugs.python.org fields:

    activity = <Date 2021-11-08.13:52:29.794> actor = 'pablogsal' assignee = 'none' closed = True closed_date = <Date 2021-06-09.00:25:00.346> closer = 'pablogsal' components = ['Interpreter Core'] creation = <Date 2021-04-13.18:27:19.816> creator = 'sco1' dependencies = [] files = [] hgrepos = [] issue_num = 43833 keywords = ['patch'] message_count = 27.0 messages = ['390981', '390984', '390988', '390991', '390993', '390995', '390996', '390997', '390998', '390999', '391001', '391002', '391003', '391042', '391050', '391051', '391335', '391336', '391340', '391341', '391351', '391354', '395367', '395368', '396498', '405939', '405949'] nosy_count = 16.0 nosy_names = ['gvanrossum', 'rhettinger', 'Carl.Friedrich.Bolz', 'nedbat', 'Joshua.Landau', 'serhiy.storchaka', 'steve.dower', 'Guido.van.Rossum', 'Anthony Sottile', 'pablogsal', 'miss-islington', 'sco1', 'pxeger', 'shreyanavigyan', 'alimuldal', 'rrauenza'] pr_nums = ['25466', '26614'] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue43833' versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions