Skip to content

ModuleNotFoundError: No module named 'test.support' #136153

Open
@killcoder

Description

@killcoder

Bug report

Bug description:

Using the standard version of python 3.13.5, getting data from empty subinterpreter queue or adding more data to a subinterpreter queue when it exceeds the maxsize triggers ModuleNotFoundError: No module named 'test.support'.

test.support is only available in the free threaded versions of python i.e. 3.13.5t and is not part of the standard version.

  • python 3.13.5
  • uv 0.7.15
import _interpreters as interpreters
import _interpqueues as queues

queue_id = queues.create(maxsize=2, fmt=1, unboundop=1)

queues.put(queue_id,1,1,1)
queues.put(queue_id,1,1,1)
queues.put(queue_id,1,1,1)
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[39], line 1
----> 1 queues.put(queue_id,1,1,1)

ModuleNotFoundError: No module named 'test.support'

queues.get(queue_id)
queues.get(queue_id)
queues.get(queue_id)
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[42], line 1
----> 1 queues.get(queue_id)

ModuleNotFoundError: No module named 'test.support'

CPython versions tested on:

3.13.5

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions