py-amqp
py-amqp copied to clipboard
Tables with unicode values fail to be serialized correctly
On Python 2 the following dictionary:
{'': '\x80'}
is deserialized as:
{'': '\xc2\x80'}
That's incorrect and we should find a way to fix it.
The problem is the fact that '\x80' is a byte string but it is not specified as such. It should not be encoded to a unicode string. On Python 3, this is fixed because unicode is fixed.
This is a very low priority issue. If it's not fixed before py-amqp 5.0 we will close it as we're dropping Python 2.7 support.