You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tab completion / dir broken on concurrent.futures #137282
3.14bugs and security fixes3.15bugs and security fixesrelease-blockerstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
I just noticed that in 3.14rc1, tab completion is broken on concurrent.futures. Trying dir, 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 list
There's a typo in the __dir__ function; it is trying to concatenate a list and a tuple.
3.14bugs and security fixes3.15bugs and security fixesrelease-blockerstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
Activity
ZeroIntensity commentedon Jul 31, 2025
This is a 3.14 regression so I've marked this as a blocker.
gh-137282: Fix `TypeError` in tab completion and `dir()` of `concurre…
pythongh-137282: Fix `TypeError` in tab completion and `dir()` of `co…
[3.14] gh-137282: Fix `TypeError` in tab completion and `dir()` of `c…
pythongh-137282: Fix `TypeError` in tab completion and `dir()` of `co…
[3.14] pythongh-137282: Fix `TypeError` in tab completion and `dir()`…