At long last, this should get PyEphem working again for people whose Python 3 version is recent enough that it has deprecated and removed the essential string-to-float function we were using! Please try it out and let me know it if works. If not, then please open a bug on GitHub, where I am now hosting the project:
Thanks, everyone, for letting me know about this problem, even though it took me on a long journey to get it fixed—I guess I should not have left the obvious solution, of abandoning libc and Python's library entirely, as my last option!
I have finally solved the problem by making a several-hour search for an alternative strtod implementation we could use, and finally finding one here:
http:// www.netlib. org/fp/ dtoa.c
I have just released a new version of the "ephem" package that includes this change:
http:// pypi.python. org/pypi/ ephem/
At long last, this should get PyEphem working again for people whose Python 3 version is recent enough that it has deprecated and removed the essential string-to-float function we were using! Please try it out and let me know it if works. If not, then please open a bug on GitHub, where I am now hosting the project:
https:/ /github. com/brandon- rhodes/ pyephem/ issues? state=open
Thanks, everyone, for letting me know about this problem, even though it took me on a long journey to get it fixed—I guess I should not have left the obvious solution, of abandoning libc and Python's library entirely, as my last option!