New submission from Éric Araujo <mer...@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. ---------- assignee: tarek components: Distutils2 keywords: easy messages: 143539 nosy: alexis, eric.araujo, tarek priority: normal severity: normal stage: needs patch status: open title: Use universal newlines mode for setup.cfg type: behavior versions: 3rd party, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com