[New-bugs-announce] [issue12900] Use universal newlines mode for setup.cfg

Éric Araujo 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.

----------
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 <report at bugs.python.org>
<http://bugs.python.org/issue12900>
_______________________________________


More information about the New-bugs-announce mailing list