[issue13175] packaging uses wrong line endings in RECORD files on Windows
Éric Araujo
report at bugs.python.org
Mon Oct 17 15:15:12 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
> I found the problem - it's in packaging.util.write_record_file.
We have two functions that write RECORD files; I’ve opened a report to kill one.
> The file passed to csv.writer should be opened with newline=''.
How will we port this to 2.x?
> I don't expect the test will catch the issue except on Windows...
Do you mean that the test will fail or be a no-op on other OSes? We can mark it as Windows-specific (@unittest.skipIf(sys.platform != 'win32', 'test only relevant on win32')) or just let it run if it’s harmless. The important point is: does it fail before the fix, does it pass after?
----------
assignee: tarek -> eric.araujo
dependencies: +Remove duplicate definition of write_record_file
versions: +3rd party
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13175>
_______________________________________
More information about the Python-bugs-list
mailing list