Weird behaviour with tmux send-keys
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
Hi,
I'm experiencing some weird behaviour only in python 3.13, up to 3.12, this bug never appeared. I'm gonna try to explain it in the best possible way..
I use tmux send-keys to send a couple lines to my python prompt, to run a script from within the python interpreter, clear vars, change the working directory, etc. Now, in python 3.13, after a couple times of sending text to the python prompt this way, some weird behaviour happens.
I'm gonna make a simple example, let's say i send the text (again, using tmux send-keys function) to my python (3.13) prompt:
a = 3\u000D
Which would be a var definition + Enter, if i open a pytho nprompt and do that, it works perfect, now, after a while of sending text this way, when i do it again, the line doesn't get executed, in the prompt "appears" the first char in the line that i sent (in this example, "a"), and it the prompt gets like "paused". If i press any key on it, the line goes through. and it works normally.
This only happens to me in 3.13, i'm not sure if it's a tmux or python issue, my guess is python.
Any idea what could this be, or has anyone experienced something similar?
Thanks in advance !
CPython versions tested on:
3.13
Operating systems tested on:
Linux
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Linux 上で tmux send-keys を使用して Python 3.13 のプロンプトでの動作を再現し、その後 Python 3.12 と比較して、tmux と Python のどちらが原因かを判断してください。最小限の再現可能な手順で問題を確認し、プロンプトが停止しなくなったことを示す変更またはテストを記録してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100