Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Closed
Description
Bug report
Bug description:
I just noticed that in 3.14rc1, tab completion is broken onconcurrent.futures. Tryingdir, I got:
>>> import concurrent.futures>>> dir(concurrent.futures)Traceback (most recent call last): File "<python-input-2>", line 1, in <module> dir(concurrent.futures) ~~~^^^^^^^^^^^^^^^^^^^^ File "/Users/henryschreiner/.local/share/uv/python/cpython-3.14.0rc1+freethreaded-macos-x86_64-none/lib/python3.14t/concurrent/futures/__init__.py", line 47, in __dir__ return __all__ + ('__author__', '__doc__') ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~TypeError: can only concatenate list (not "tuple") to listThere's a typo in the__dir__ function; it is trying to concatenate a list and a tuple.
Bug introduced in#136381. Fix in#137214.
CPython versions tested on:
3.14
Operating systems tested on:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done