On 6 December 2012 00:21, Thomas Kluyver <[email protected]> wrote:
> I still think the basic way to get the runtime directory should raise an > error if the environment variable isn't set - after all, PyXDG is an > implementation of the spec. I might offer a wrapper function with a > strict=True/False parameter, which would fall back on /tmp/app-username. This felt like the right balance of strictness and convenience - by default, it will raise an error, but the caller can pass strict=False to get an automatic fallback. Here's the new documentation: http://pyxdg.readthedocs.org/en/latest/basedirectory.html#runtime-directory Thanks, Thomas
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
