1
0
Fork 0
tractor/tractor
Tyler Goodlet 346b5d2eda Blade runner it
Get rid of all the (requirements for) clones of the underlying
receivable. We can just use a uuid generated key for each instance
(thinking now this can probably just be `id(self)`). I'm fully convinced
now that channel cloning is only a source of confusion and anti-patterns
when we already have nurseries to define resource lifetimes. There is no
benefit in particular when you allocate subscriptions using a context
manager (not sure why `trio.open_memory_channel()` doesn't enforce
this).

Further refinements:
- add a `._closed` state that will error the receiver on reuse
- drop module script section;  it's been moved to a real test
- call the "receiver" duck-type stub a new name
2021-09-02 21:12:54 -04:00
..
testing Drop trailing comma 2021-07-06 08:23:29 -04:00
__init__.py Export portal type at top level 2021-09-02 16:22:59 -04:00
_actor.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_broadcast.py Blade runner it 2021-09-02 21:12:54 -04:00
_child.py Docstring to the top\!, and redundant spaces goodbye\! 2020-07-29 15:39:38 -03:00
_debug.py Unlock pdb tty on all possible net faults 2021-09-02 16:23:38 -04:00
_discovery.py De-densify some code 2021-07-06 08:23:30 -04:00
_entry.py Try not masking SIGINT in child processes 2021-09-02 16:22:59 -04:00
_exceptions.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_forkserver_override.py Ignore type checks on stdlib overrides 2021-02-21 14:08:23 -05:00
_ipc.py Change trace to transport level 2021-07-07 14:31:15 -04:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py Mypy fixes 2021-07-08 12:48:34 -04:00
_root.py Don't log cancelled inceptions seen by the root 2021-08-02 21:15:42 -04:00
_spawn.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py Store handle to underlying channel's `.receive()` 2021-09-02 21:12:54 -04:00
_trionics.py Drop shielding on root lock acquire; seems to prevent hangs 2021-09-02 16:23:38 -04:00
log.py Define explicit adapter level methods for mypy 2021-07-08 12:51:35 -04:00
msg.py Adjustments for non-frozen context dataclass change 2021-07-06 08:23:29 -04:00