prompt-toolkit / prompt-toolkit/python-prompt-toolkit

GeneratorExit in history loading on Python 3.6

Open
#1,337 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

I once got this error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/buffer.py", line 412, in load_history
    async for item in self.history.load():
GeneratorExit

Can't reproduce anymore.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at prompt_toolkit/buffer.py line 412, where load_history awaits history.load(), and inspect the surrounding history-loading flow under Python 3.6. There is no named test or reproducible case in the report. Done would require reproducing the GeneratorExit, identifying its cause, and verifying a fix or clarifying that no action is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.