mirror of
https://github.com/aaiyer/rfoo.git
synced 2025-04-16 03:20:33 +03:00
When marshal.version used is >= 3, we would fail the `buffer[0] != INTEGER` check in the Connection class, and so this commit always uses marshal.version of 2, which is the latest version that passes the check (and also the default version used by Python 2). The latest marshal.version is 2 for Python 2, and up to Python 3.3. Starting with Python 3.4, the latest marshal.version is 4.