python / python/cpython

`make test` alters `~/.python_history`

Đang mở
#139,352 10 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ambv đang làm issue này rồi.

Từ ngày 14/3/2026.

3.13 3.14 3.15 tests topic-repl type-bug
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

Bug report

Bug description:
make test

after make test all history for repl gone and add values below

➜  cpython git:(hy/close_issue_139349) cat ~/.python_history         
pip install sampleproject
pip3 install sampleproject
python -m pip install sampleproject
python3 -m pip install sampleproject
sorted(dir())
import runpy
runpy._run_module_code('blech', {0: '', 'bluch': ''}, '')
runpy._run_module_code('blech', {0: '', 'bluch': ''}, '')d
runpy._run_module_code('blech', {0: '', 'bluch': ''}, '')

cc @picnixz

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs
  • gh-139380

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.