[Python-modules-team] Bug#568757: PyXDG and the BaseDir Spec

Éric Araujo merwok at netwok.org
Sun Feb 7 16:21:21 UTC 2010


Package: pyxdg
Severity: normal

Two precisions. First, I hope I chose the right severity for the bug;
it seems to me that not respecting the spec in this sem-corner
case is really bad for the official XDG Python package.

Second, I changed os.getenv('HOME') to os.path.expanduser('~')
because $HOME is not guaranteed to work in every situation,
whereas getent (in shell) and expanduser (in Python) are. I can’t
remember where I read a vert good explanation about this, but I
hope you’ll concur.

Regards


-- System Information:
Debian Release: squeeze
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash






More information about the Python-modules-team mailing list