support module: add backward-compatible support for Python 3.3+

This module has no unit tests, and integration tests failed because my account is not eligible:

"AWS Premium Support Subscription is required to use this service."

But the changes are trivial and should work :)