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 — Data race of `should_auto_add_history` in file `Modules/readline.c` · Issue #154539 · python/cpython

Data race of should_auto_add_history in file Modules/readline.c #154539

New issue
Copy link
New issue
Copy link
Open
Open
Data race of should_auto_add_history in file Modules/readline.c#154539
Copy link
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@xxyzz
xxyzz
opened on Jul 23, 2026
Issue body actions

Bug report

Bug description:

Read and write of variable should_auto_add_history in file Modules/readline.c is not atomic, thus could be data race in free thread build. For detailed report please see TSAN-0025 from the parent issue #153852.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

  • gh-154539: Use atomic read and write with should_auto_add_history #154531

Activity

  1. xxyzz
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jul 23, 2026
  2. xxyzz
    added a commit that references this issue on Jul 23, 2026

    pythongh-154539: Use atomic read and write with `should_auto_add_hist…

    4be5829
  3. picnixz
    added
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    on Jul 24, 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

    extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      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.