Skip to content

test_builtin.PtyTests fail on non-ASCII characters if the readline module is loaded #58094

@nadeemvawda

Description

@nadeemvawda
BPO 13886
Nosy @doko42, @vstinner, @ezio-melotti, @akheron, @vadmium, @serhiy-storchaka, @miss-islington, @iritkatriel
PRs
  • bpo-13886: Fix test_builtin.PtyTests tests when readline is loaded #7133
  • bpo-13886: Skip PTY non-ASCII tests if readline is loaded #30631
  • [3.10] bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631) #30634
  • [3.9] bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631) #30635
  • Files
  • rl-locale.diff: Fix readline to not discard chars that can't be decoded with sys.stdin.encoding
  • rl-test.diff: Ensure that input() tty tests always use readline
  • input-readline.patch
  • input-readline.v2.patch: stderr=DEVNULL
  • input-readline.v3.patch
  • input-readline.v4.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 2022-01-17.13:48:59.793>
    created_at = <Date 2012-01-27.10:23:39.123>
    labels = ['type-bug', 'tests', '3.9', '3.10', '3.11']
    title = 'test_builtin.PtyTests fail on non-ASCII characters if the readline module is loaded'
    updated_at = <Date 2022-01-17.13:48:59.792>
    user = 'https://bugs.python.org/nadeemvawda'

    bugs.python.org fields:

    activity = <Date 2022-01-17.13:48:59.792>
    actor = 'vstinner'
    assignee = 'nadeem.vawda'
    closed = True
    closed_date = <Date 2022-01-17.13:48:59.793>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2012-01-27.10:23:39.123>
    creator = 'nadeem.vawda'
    dependencies = []
    files = ['24337', '24338', '41653', '45771', '46296', '46340']
    hgrepos = []
    issue_num = 13886
    keywords = ['patch']
    message_count = 41.0
    messages = ['152080', '152082', '164253', '180732', '180766', '180767', '180769', '180770', '180837', '181200', '181201', '181205', '181207', '181208', '191272', '211077', '258517', '258564', '282399', '282496', '283932', '283961', '285539', '285810', '303770', '303772', '317353', '317757', '318018', '410714', '410715', '410759', '410761', '410766', '410767', '410772', '410774', '410777', '410782', '410784', '410786']
    nosy_count = 11.0
    nosy_names = ['doko', 'vstinner', 'nadeem.vawda', 'ezio.melotti', 'Arfrever', 'python-dev', 'petri.lehtinen', 'martin.panter', 'serhiy.storchaka', 'miss-islington', 'iritkatriel']
    pr_nums = ['7133', '30631', '30634', '30635']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13886'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifetestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions