Use lists by default like `msgspec`

msgpack_lists_by_default
Tyler Goodlet 2022-02-07 12:47:50 -05:00
parent 26bebc42b7
commit 77ddc073e8
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,8 @@ class MsgTransport(Protocol[MsgType]):
class MsgpackTCPStream: class MsgpackTCPStream:
'''A ``trio.SocketStream`` delivering ``msgpack`` formatted data '''
A ``trio.SocketStream`` delivering ``msgpack`` formatted data
using ``msgpack-python``. using ``msgpack-python``.
''' '''
@ -124,7 +125,6 @@ class MsgpackTCPStream:
""" """
unpacker = msgpack.Unpacker( unpacker = msgpack.Unpacker(
raw=False, raw=False,
use_list=False,
strict_map_key=False strict_map_key=False
) )
while True: while True: