]> granicus.if.org Git - clang/commit
Portable Python script across Python version
authorSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 14:26:56 +0000 (14:26 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 14:26:56 +0000 (14:26 +0000)
commit903bbb72f3332216c5f8f64dd452d10f52d4eb5c
treebe839eb0a6186846dbc24e2038ae67a9bd0647cc
parentec8c48fb7d4ee1ee940ab3255f3e25b3e289ab8d
Portable Python script across Python version

StringIO is obsoleted in Python3, replaced by io.BytesIO or io.StringIO depending on the use.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350318 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/tests/cindex/test_translation_unit.py
tools/clang-format/clang-format-diff.py
tools/scan-view/share/ScanView.py