1
0
Fork 0
tractor/tractor/ipc
Tyler Goodlet 7a3c9d0458 Even more `tractor._addr.Address` simplifying
Namely reducing the duplication of class-fields and `TypeVar`s used
for parametrizing the `Address` protocol type,
- drop all of the `TypeVar` types and just stick with all concrete addrs
  types inheriting from `Address` only.
- rename `Address.name_key` -> `.proto_key`.
- rename `Address.address_type` -> `.unwrapped_type`
- rename `.namespace` -> `.bindspace` to better reflect that this "part"
  of the address represents the possible "space for binding endpoints".
 |_ also linux already uses "namespace" to mean the `netns` and i'd
   prefer to stick with their semantics for that.
- add `TCPAddress/UDSAddress.def_bindspace` values.
- drop commented `.open_stream()` method; never used.
- simplify `UnwrappedAdress` to just a `tuple` of union types.
- add logging to `USDAddress.open_listener()` for now.
- adjust `tractor.ipc/_uds/tcp` transport to use new addr field names.
2025-07-08 12:57:29 -04:00
..
__init__.py Finally switch to using address protocol in all runtime 2025-07-08 12:57:28 -04:00
_chan.py Even more `tractor._addr.Address` simplifying 2025-07-08 12:57:29 -04:00
_linux.py Handle cancelation on EventFD.read 2025-07-08 12:57:28 -04:00
_mp_bs.py Add buf_size to RBToken and add sender cancel test, move disable_mantracker to its own _mp_bs module 2025-07-08 12:57:28 -04:00
_ringbuf.py Add buf_size to RBToken and add sender cancel test, move disable_mantracker to its own _mp_bs module 2025-07-08 12:57:28 -04:00
_shm.py Slight typing and multi-line styling tweaks in `.ipc` sugpkg 2025-07-08 12:57:28 -04:00
_tcp.py Even more `tractor._addr.Address` simplifying 2025-07-08 12:57:29 -04:00
_transport.py Handle broken-pipes from `MsgpackTransport.send()` 2025-07-08 12:57:28 -04:00
_types.py Slight typing and multi-line styling tweaks in `.ipc` sugpkg 2025-07-08 12:57:28 -04:00
_uds.py Even more `tractor._addr.Address` simplifying 2025-07-08 12:57:29 -04:00