Author cgohlke
Recipients BreamoreBoy, amaury.forgeotdarc, atuining, brian.curtin, cgohlke, hnrqbaggio, janssen, loewis, tim.golden
Date 2010-10-22.09:18:59
SpamBayes Score 0.00452189
Marked as misclassified No
Message-id <1287739142.85.0.660119827482.issue1128@psf.upfronthosting.co.za>
In-reply-to
Content
The revised patch for issue7639 now generates better short names for file names containing spaces, '+', and leading '.'.

http://bugs.python.org/file19334/msilib.diff

Test cases that could be added to MsilibTest.test_makeshort():

TEST          :  test
TES~1.T       :  t.e.s.t
TEST~1        :  .test
TESTTEST      :  testtest
TESTTE~1      :  .testtest
TESTTE~2      :  test test
TESTTE~3      :  test test test
AFILE~1.DOC   :  A file.doc
THISIS~1.TXT  :  This is a really long filename.123.456.789.txt
THISIS~1.789  :  This is a really long filename.123.456.7890
TEST__~1      :  test++
TE____~1      :  te++++++
TEST~1.__     :  test.++
TEST.123      :  test.123
TEST~1.123    :  test.1234
TEXT~1.123    :  text.1234
TESTTE~1.__   :  testtest.++
FOO.TXT       :  foo.txt
FOO2~1.TXT    :  foo.2.txt
SOMELO~1.TXT  :  someLongName.txt
SOMELO~2.TXT  :  someLongerName.txt
PY~15~1.~     :  py.~1.5.~
History
Date User Action Args
2010-10-22 09:19:03cgohlkesetrecipients: + cgohlke, loewis, amaury.forgeotdarc, atuining, janssen, tim.golden, brian.curtin, hnrqbaggio, BreamoreBoy
2010-10-22 09:19:02cgohlkesetmessageid: <1287739142.85.0.660119827482.issue1128@psf.upfronthosting.co.za>
2010-10-22 09:19:00cgohlkelinkissue1128 messages
2010-10-22 09:18:59cgohlkecreate