Skip to content
Snippets Groups Projects
Unverified Commit 3824b5dc authored by Xavier Morel's avatar Xavier Morel Committed by Olivier Dony
Browse files

[FIX] P3: fix base64 and StringIO uses

* StringIO removed from stdlib, replace with io
* try to correctly handle BytesIO/StringIO (one is for bytes the other
  is for text)
* fix base64: Python 3 removed bytes-encoding and bytes-bytes
  codecs (via #encode) so replace all calls to str.encode('base64'),
  also b64encode is a bytes->bytes conversion so attempt to properly
  handle that

issue #8530
parent 1b687131
No related branches found
No related tags found
No related merge requests found
Showing
with 54 additions and 52 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment