[issue12900] Use universal newlines mode for setup.cfg
report at bugs.python.org
Mon Sep 5 18:05:19 CEST 2011
New submission from Éric Araujo <merwok at netwok.org>:
We need tests to make sure that setup.cfg files using CRLF or CR as newline character work. We could require that people use LF in the spec, but I don’t think it’s worth it, as it’s simple enough to support all newlines whereas Windows users can’t always use LF easily.
For packaging in 3.3, opening the file in text mode gives us universal newlines for free, so the code is good but we need tests. For distutils2 in 2.x, we need to pass 'rU' as open flags.
nosy: alexis, eric.araujo, tarek
stage: needs patch
title: Use universal newlines mode for setup.cfg
versions: 3rd party, Python 3.3
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list