Re: [Python-Dev] splitext('.cshrc')

2007-03-06 Thread Hans Meine
Am Dienstag, 06. März 2007 13:36 schrieb Martin v. Löwis: > #1115886 complains that in the file name '.cshrc', the > entire file name is treated as an extension, with no > root. > > #1462106 contains a patch for that, changing the behavior > so that there will always be a root file name (and no > e

[Python-Dev] Old bug still unfixed? [ python-Patches-1183712 ] package_data chops off first char of default package

2007-02-23 Thread Hans Meine
Hi! (I first posted this to distutils-sig but was told that distutils is a bit neglected there, so I decided to try to push these simple patches in via python-dev.) Lately, a student came to me complaining about an old distutils bug which bit him: http://mail.python.org/pipermail/patches/20

[Python-Dev] [PATCH] Handling of scripts / substitution of python executable path

2007-02-23 Thread Hans Meine
Hi! For a long time, I have been annoyed by distutils behavior concerning "scripts": I always put #!/usr/bin/env python into the first line in order to let the incredibly useful "env" program start the right python version. I know that it is quite evil to hardcode /usr/bin/python or /usr/l