Skip to content

curses.ascii.isblank() function is broken. It confuses backspace (BS 0x08) with tab (0x09) #53979

@kevinpt

Description

@kevinpt
mannequin
BPO 9770
Nosy @4kir4, @serhiy-storchaka
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • curses_ascii_isblank_issue9770.patch: fix isblank, add tests for character classification functions from curses.ascii module
  • curses-ascii-negative.patch
  • 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 2016-12-28.08:08:42.885>
    created_at = <Date 2010-09-04.00:01:48.509>
    labels = ['3.7', 'type-bug', 'library']
    title = 'curses.ascii.isblank() function is broken. It confuses backspace (BS 0x08) with tab (0x09)'
    updated_at = <Date 2017-03-31.16:36:08.553>
    user = 'https://bugs.python.org/kevinpt'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:08.553>
    actor = 'dstufft'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-12-28.08:08:42.885>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2010-09-04.00:01:48.509>
    creator = 'kevinpt'
    dependencies = []
    files = ['35693', '45938']
    hgrepos = []
    issue_num = 9770
    keywords = ['patch']
    message_count = 6.0
    messages = ['115544', '220852', '221008', '223833', '283484', '284161']
    nosy_count = 4.0
    nosy_names = ['akira', 'kevinpt', 'python-dev', 'serhiy.storchaka']
    pr_nums = ['552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9770'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard 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