This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Dennis Sweeney, GBeauregard, zohim
Date 2021-10-15.00:08:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634256503.13.0.0715364378226.issue45443@roundup.psfhosted.org>
In-reply-to
Content
I was also unable to replicate on any of 3.7-3.11, including 3.9.6. Is it possible that one of your Python stdlib source files was modified? Does this still happen with a fresh install of Python?

Does your problem still happen if you run the file using a python executable directly rather than using IPython/Jupyter? If it's just a problem with Jupyter, this bug report belongs there.

Can you run:

>>> from concurrent.futures import ThreadPoolExecutor as TPE
>>> TPE.__mro__
(<class 'concurrent.futures.thread.ThreadPoolExecutor'>, <class 'concurrent.futures._base.Executor'>, <class 'object'>)
>>> TPE.__mro__[1]
<class 'concurrent.futures._base.Executor'>
>>> dir(TPE.__mro__[1])
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'map', 'shutdown', 'submit']
History
Date User Action Args
2021-10-15 00:08:23Dennis Sweeneysetrecipients: + Dennis Sweeney, GBeauregard, zohim
2021-10-15 00:08:23Dennis Sweeneysetmessageid: <1634256503.13.0.0715364378226.issue45443@roundup.psfhosted.org>
2021-10-15 00:08:23Dennis Sweeneylinkissue45443 messages
2021-10-15 00:08:22Dennis Sweeneycreate