1. 28 3月, 2017 2 次提交
  2. 27 3月, 2017 1 次提交
    • Jayanth Koushik's avatar
      Open tempfile in mode 'w' to prevent TypeError · 36184075
      Jayanth Koushik 提交于
      For printing compilation errors, a NamedTemporaryFile object is opened in the default mode ('w+b'), and strings are written to it. This is not an issue in Python 2, but in Python 3, strings cannot be implicitly converted to bytes so a TypeError occurs on line 2310 (previously 2309). This commit explicitly opens the NamedTemporaryFile in mode 'w'.
      36184075
  3. 25 3月, 2017 4 次提交
  4. 24 3月, 2017 33 次提交