Python 3 compatibility tools.
Copied from numpy/compat/py3k
Please prefer the routines in externals/six.py when possible
BSD license
asbytes_nested(x) | |
asunicode(s) | |
asunicode_nested(x) | |
getexception() | |
ints2bytes(seq) | |
isfileobj(f) | |
open_latin1(filename[, mode]) |