Skip to content

shlex behaves unexpected if newlines are not whitespace #51338

@jjdmol2

Description

@jjdmol2
mannequin
BPO 7089
Nosy @iritkatriel
Files
  • lexertest.py
  • lexer-newline-tokens.patch
  • lexer-newline-tokens-patch-2.0.patch: improved patch, includes test cases
  • 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 = None
    created_at = <Date 2009-10-09.08:11:52.254>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'shlex behaves unexpected if newlines are not whitespace'
    updated_at = <Date 2021-06-14.20:18:08.262>
    user = 'https://bugs.python.org/jjdmol2'

    bugs.python.org fields:

    activity = <Date 2021-06-14.20:18:08.262>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2009-10-09.08:11:52.254>
    creator = 'jjdmol2'
    dependencies = []
    files = ['15087', '15088', '15708']
    hgrepos = []
    issue_num = 7089
    keywords = ['patch']
    message_count = 6.0
    messages = ['93776', '93778', '93820', '97080', '141486', '395847']
    nosy_count = 6.0
    nosy_names = ['ggenellina', 'ferringb', 'jjdmol2', 'kanru', 'elliotta', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7089'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesstdlibStandard 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