[all-commits] [llvm/llvm-project] 6475dd: [M68k] Fix extract-section.py under Python 3

Ricky Taylor via All-commits all-commits at lists.llvm.org
Sun Mar 14 11:39:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6475ddb1d898a830689fd9b1c3e22dba247ba718
      https://github.com/llvm/llvm-project/commit/6475ddb1d898a830689fd9b1c3e22dba247ba718
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-03-14 (Sun, 14 Mar 2021)

  Changed paths:
    M llvm/utils/extract-section.py

  Log Message:
  -----------
  [M68k] Fix extract-section.py under Python 3

read_raw_stdin() was opening a file in binary mode, but Popen
was being told to use text mode (universal_newlines). This is
benign on Python 2 but an error on Python 3.

Differential Revision: https://reviews.llvm.org/D98428




More information about the All-commits mailing list