Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3380

Make type inference compatible with Python 3.6

Details

    • Task
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-core
    • None

    Description

      Starting in Python 3.6, instructions always use two bytes. As the Python SDKs implementation of trivial type inference relies on these disassembled instructions, typehints/trivial_inference.py should be updated to be compatible with this change. This can be done by comparing https://github.com/python/cpython/blob/3.6/Lib/dis.py to https://github.com/python/cpython/blob/3.5/Lib/dis.py

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: