You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Zhu (JIRA)" <ji...@apache.org> on 2017/12/21 07:18:00 UTC

[jira] [Created] (BEAM-3380) Make type inference compatible with Python 3.6

Luke Zhu created BEAM-3380:
------------------------------

             Summary: Make type inference compatible with Python 3.6
                 Key: BEAM-3380
                 URL: https://issues.apache.org/jira/browse/BEAM-3380
             Project: Beam
          Issue Type: Task
          Components: sdk-py-core
            Reporter: Luke Zhu
            Assignee: Ahmet Altay
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)