HomePhabricator

Portable Python script across Python version

Authored by Serge Guelton <sguelton@quarkslab.com> on Jan 3 2019, 6:26 AM.

Description

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

llvm-svn: 350318

Event Timeline

Serge Guelton <sguelton@quarkslab.com> committed rGf886c03e4709: Portable Python script across Python version (authored by Serge Guelton <sguelton@quarkslab.com>).Jan 3 2019, 6:26 AM