Enno, thank you very much for reporting this! And sorry for any trouble that this bug caused you; I'll buy you a beer if we ever wind up at a conference together. :-)
There was indeed a memory leak in separation() in the specific case that it is given coordinate sequences instead of bodies or observers. I have pushed a fix to the PyEphem Bitbucket repository, and will be releasing a new PyEphem version this weekend with the fix. Here is the changeset in the repository in case you want to try the new version before I do the release:
Enno, thank you very much for reporting this! And sorry for any trouble that this bug caused you; I'll buy you a beer if we ever wind up at a conference together. :-)
There was indeed a memory leak in separation() in the specific case that it is given coordinate sequences instead of bodies or observers. I have pushed a fix to the PyEphem Bitbucket repository, and will be releasing a new PyEphem version this weekend with the fix. Here is the changeset in the repository in case you want to try the new version before I do the release:
http:// bitbucket. org/brandon/ pyephem/ changeset/ 95bf603370e7
Let me know if you have any further problems!