[issue7639] bdist_msi fails on files with long names
Mark Mc Mahon
report at bugs.python.org
Sun Mar 27 12:37:13 CEST 2011
Mark Mc Mahon <mtnbikingmark at gmail.com> added the comment:
For Directory.make_short() the only things which are left could be considered splitting hairs.
1. Do we need to remove '"\/:' from the file name - if these characters are there then the file name is not valid in the first place.
2. These characters '+,;=[]' should really be changed to '_' if we want to match more closely how Windows makes short names.
I can write a patch for the above if they should be fixed and either way I can add tests for this function. (the test I had for testing my own patch - almost completely pass - but the only failure was depending on point 2.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7639>
_______________________________________
More information about the Python-bugs-list
mailing list