From 0edc6a26bc28f13c80746b57d6ee67c33aa907d0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 15 Feb 2022 08:48:43 -0500 Subject: [PATCH] Go back to strict map keys --- tractor/_ipc.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tractor/_ipc.py b/tractor/_ipc.py index 9e0ced1..b996c5f 100644 --- a/tractor/_ipc.py +++ b/tractor/_ipc.py @@ -121,11 +121,12 @@ class MsgpackTCPStream: self.drained: list[dict] = [] async def _iter_packets(self) -> AsyncGenerator[dict, None]: - """Yield packets from the underlying stream. - """ + ''' + Yield packets from the underlying stream. + + ''' unpacker = msgpack.Unpacker( raw=False, - strict_map_key=False ) while True: try: