Issue 12900: Use universal newlines mode for setup.cfg
Created on 2011-09-05 16:05 by eric.araujo, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (1) | |||
|---|---|---|---|
| msg143539 - (view) | Author: Éric Araujo (eric.araujo) * ![]() |
Date: 2011-09-05 16:05 | |
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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:21 | admin | set | github: 57109 |
| 2014-03-12 10:39:57 | eric.araujo | set | status: open -> closed resolution: out of date stage: needs patch -> resolved |
| 2011-09-05 16:05:18 | eric.araujo | create | |
