I'd say its safe to manually construct static paths. Whenever url components are specified by the user you should use urllib.quote() or similar to ensure validity.
On Friday, March 11, 2011 8:12:23 PM UTC, John H Palmieri wrote: > > If you need to build a path, you should always use os.path.join. > > +1. It would be good to fix parts of the Sage library which do otherwise. > However, if you want to construct a URL (as in some of the scripts, like > sage-update), I think you should explicitly use slashes, right? > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org