On 6/4/12 8:04 AM, Ruslan Kiianchuk wrote:
So I'm using Martin Albrecht's /anf2cnf.py /script which relies on
`tmp_filename()` function to store the CNF representation of a
polynomial system. SAGE 5.0 returns the following path and file name:

||
sage:tmp_filename()
'/home/zoresvit/.local/share/sage///temp/shekel/27631//tmp_13'


At what directory is the path undefined? In other words, where does the path stop existing?



How to fix the problem with `tmp_filename()`?


I also worked on the double and triple slash problem a while ago. The problem there is that the tmp_filename and related functions just blindly concatenate strings, and don't pay attention to repeated slashes. I had a prototype patch that changed things to use os.path.join everywhere, but I'm not sure where it is anymore.

Thanks,

Jason

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to