]> granicus.if.org Git - python/commit
Fix distutils.filelist.FileList under Windows (#13193).
authorÉric Araujo <merwok@netwok.org>
Sun, 12 Feb 2012 03:41:36 +0000 (04:41 +0100)
committerÉric Araujo <merwok@netwok.org>
Sun, 12 Feb 2012 03:41:36 +0000 (04:41 +0100)
commit6faad8de7f6c4b5d13d018d552147766dd5bf12e
treee1971c5b7b41567b78c088c25179b286acf9cddf
parentc47a4592514568215aa617fc25121a9a9a83e3f1
Fix distutils.filelist.FileList under Windows (#13193).

The code used to call os.path.join to build a regex but without escaping
the backslash, which lead to test failures on Windows.  Antoine Pitrou
fixed it in 557a973709de by enhancing the code to accept both / and \,
with proper escaping, but in my opinion this goes against the distutils
feature freeze, hence this change.
Lib/distutils/filelist.py
Misc/NEWS