Move tractor._shm to tractor.ipc._shm

Guillermo Rodriguez 2025-03-13 20:59:14 -03:00
parent 7b1f42942e
commit 41e84cc701
No known key found for this signature in database
GPG Key ID: 002CC5F1E6BDA53E
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import time
import trio
import pytest
import tractor
from tractor._shm import (
from tractor.ipc._shm import (
EFD_NONBLOCK,
open_eventfd,
RingBuffSender,

View File

@ -8,7 +8,7 @@ import uuid
import pytest
import trio
import tractor
from tractor._shm import (
from tractor.ipc._shm import (
open_shm_list,
attach_shm_list,
)

View File

@ -7,5 +7,5 @@ from ._chan import (
__all__ = [
'_connect_chan',
'MsgTransport',
'Channel'
'Channel',
]

View File

@ -36,7 +36,7 @@ from multiprocessing.shared_memory import (
from msgspec import Struct, to_builtins
import tractor
from .log import get_logger
from tractor.log import get_logger
_USE_POSIX = getattr(shm, '_USE_POSIX', False)