Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
topic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
At first I thought it was because the window was small but it happens even if the window is large.
>>>importthreading>>>thread=threading.Thread(target=lambda: threading.current_thread().name=='MainThread') >>>thread.run() >>>thread.join() Traceback (mostrecentcalllast): File"<python-input-3>", line1, in<module>thread.join() ~~~~~~~~~~~^^File"/Users/codyscott_1/.pyenv/versions/3.13t-dev/lib/python3.13t/threading.py", line1083, injoinraiseRuntimeError("cannot join thread before it is started") RuntimeError: cannotjointhreadbeforeitisstarted>>>thread.start() ExceptioninthreadThread-1 (<lambda>): >>>Traceback (mostrecentcalllast): File"/Users/codyscott_1/.pyenv/versions/3.13t-dev/lib/python3.13t/threading.py", line991, inrunifself._targetisnotNone: ^^^^^^^^^^^^AttributeError: 'Thread'objecthasnoattribute'_target'. Didyoumean: '_started'? Duringhandlingoftheaboveexception, anotherexceptionoccurred: Traceback (mostrecentcalllast): File"/Users/codyscott_1/.pyenv/versions/3.13t-dev/lib/python3.13t/threading.py", line1041, in_bootstrap_innerself.run() ~~~~~~~~^^File"/Users/codyscott_1/.pyenv/versions/3.13t-dev/lib/python3.13t/threading.py", line996, inrundelself._target, self._args, self._kwargs^^^^^^^^^^^^AttributeError: 'Thread'objecthasnoattribute'_target'>>>CPython versions tested on:
3.13
Operating systems tested on:
macOS
Metadata
Metadata
Assignees
Labels
topic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error