nirinA / erfa_python

Python wrapper for ERFA library
The Unlicense
6 stars 0 forks source link

backport to Python version < 3.3 #1

Closed nirinA closed 11 years ago

nirinA commented 11 years ago

this version is mainly for Python 3.3+. need backport for older version, especially for Python 2x.

Traceback (most recent call last): File "ex_pn.py", line 91, in print(" = %s%dd%dm%d.%ds"%erfa.a2af(6, GST)) SystemError: bad format char passed to Py_BuildValue

nirinA commented 11 years ago

"C" format for Py_BuildValue is for Py3x only. add "c" format for Py2x