• Victor Stinner's avatar
    Don't use deprecated 'U' flag to read manifest · 4720c481
    Victor Stinner authored
    The universal newlines mode ('U' flag) is deprecated since Python
    3.4. It only replaces "\r\n" with "\n", but it doesn't split lines at
    "\r" (Mac newline). In practice, the flag was useless, the
    sdist.read_manifest() method already uses line.strip() and so removes
    newline characters.
    4720c481
sdist.py 6.88 KB