/plushcap/analysis/aerospike/aerospike-aerospike-python-client-2-0-support-for-python-3

Aerospike Python Client 2.0: Support for Python 3

What's this blog post about?

The Aerospike Python Client 2.0 introduces support for Python 3, making it compatible with versions 2.6, 2.7, 3.4, and 3.5. Key differences between Python 2 and 3 include changes in string handling, division operation behavior, the elimination of xrange() function, and altered syntax for raising and handling exceptions. The migration from Python 2 to 3 requires adjustments in code that uses Unicode, encodings, or binary data, as well as changes in file opening methods and exception handling. Tools like 2to3 can aid in the conversion process.

Company
Aerospike

Date published
March 7, 2016

Author(s)
Jeff Boone

Word count
539

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.