Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-3724

Make the coders package compatible with Python 3

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      The coders package is affect a lot by the fact that Strings are unicode in Python 3.

       

      The planned approach is to

      • Prefix bytestrings with 'b' where appropriate
      • Replace uses of 'str' with 'bytes' where appropriate
      • Use python-modernize to solve syntax and import errors

      The goal of this subtask is not to make the coders package completely compatible with Python 3.

        Attachments

          Activity

            People

            • Assignee:
              luke-zhu Luke Zhu
              Reporter:
              luke-zhu Luke Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: