[PATCH] D56429: fix python3 compability issue

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 8 00:51:07 PST 2019


serge-sans-paille added inline comments.


================
Comment at: bindings/python/clang/cindex.py:2998
+            for i,(name,contents) in enumerate(unsaved_files):
+                if hasattr(contents, "read"):
+                    contents = contents.read()
----------------
Why did you remove the FIXME comment?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56429/new/

https://reviews.llvm.org/D56429





More information about the cfe-commits mailing list