frontera icon indicating copy to clipboard operation
frontera copied to clipboard

Frontera Request/Response decoding/encoding doesnt work between python 2/3 versions

Open whalebot-helmsman opened this issue 8 years ago • 1 comments

There is an error when you encode Request or Response in one python (e.g. python2) and decode it in another(e.g. python3).

How to reproduce? All information in one gist

I split tests/test_codecs.py in three parts - common.py(request shared between read and write for comparison), read.py(requests read from msgpack and compare with requests from common) and write.py(write to msgpack requests from common)

if I write/read in same python, all is work. But if switch between versions error appears. Look at attached to gist write-2-read-3.txt and write-3-read2.txt files.

whalebot-helmsman avatar Sep 20 '17 12:09 whalebot-helmsman

Thank you for the report. Could track down where the problem is, and submit a PR?

sibiryakov avatar Sep 21 '17 12:09 sibiryakov