Support sync code breakpointing via built-in

Override `breakpoint()` for sync code making it work
properly with `trio` as per:

https://github.com/python-trio/trio/issues/1155#issuecomment-742964018

Relates to #193
wip_fix_asyncio_gen_streaming
Tyler Goodlet 2021-02-15 19:23:53 -05:00
parent d6b16cabbe
commit b1d3e97697
1 changed files with 0 additions and 2 deletions

View File

@ -69,8 +69,6 @@ def _trio_main(
""" """
log.info(f"Started new trio process for {actor.uid}") log.info(f"Started new trio process for {actor.uid}")
log.info(f"Started new trio process for {actor.uid}")
if actor.loglevel is not None: if actor.loglevel is not None:
log.info( log.info(
f"Setting loglevel for {actor.uid} to {actor.loglevel}") f"Setting loglevel for {actor.uid} to {actor.loglevel}")