GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_readline fails with libeditline+musl · Issue #159424 · python/cpython

test_readline fails with libeditline+musl #159424

New issue
Copy link
New issue
Copy link
Open
Open
test_readline fails with libeditline+musl#159424
Copy link
Labels
3.14bugs and security fixesbugs and security fixesOS-unsupportedextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@rossburton
rossburton
opened on Oct 14, 2026
Issue body actions

Bug report

When building cpython 3.14.8 on Linux with editline (instead of readline) and musl, the test_readline tests fail:

FAIL: test_append_limited_history (test.test_readline.TestHistoryManipulation.test_append_limited_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.14/test/test_readline.py", line 208, in test_append_limited_history
    self.assertEqual(readline.get_history_item(1), "second line")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '_HiStOrY_V2_' != 'second line'
- _HiStOrY_V2_
+ second line


======================================================================
FAIL: test_write_read_append (test.test_readline.TestHistoryManipulation.test_write_read_append)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.14/test/test_readline.py", line 101, in test_write_read_append
    self.assertEqual(readline.get_current_history_length(), 3)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 4 != 3

The tests succeed when glibc is used in an otherwise identical configuration, and also worked in 3.14.7. e87da80 feels relevant.

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Activity

  1. rossburton
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Oct 14, 2026
  2. aisk
    added
    3.14bugs and security fixesbugs and security fixes
    on Oct 14, 2026
  3. picnixz
    added
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    on Oct 14, 2026
  4. encukou
    added
    OS-unsupported
    on Oct 15, 2026
  5. github-project-automation
    added this to Unsupported platformson Oct 15, 2026
  6. kevinprimeraquecreo-stack
    added this to Project_VKon Oct 18, 2026
  7. github-project-automation
    moved this to Todo in Project_VKon Oct 18, 2026
  8. kevinprimeraquecreo-stack
    added this to Project_VKon Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesbugs and security fixesOS-unsupportedextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    • Unsupported platforms
      Status
      No status
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.