fixup! Add support for Python 3

This is another fixup for commit
1c8269b2.

This is not covered by tests since they use a fake_send method.
81 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds