beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cclauss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-3872) BaseException.message deprecated as of Python 2.6 and removed in Python 3
Date Sat, 17 Mar 2018 10:12:00 GMT
cclauss created BEAM-3872:
-----------------------------

             Summary: BaseException.message deprecated as of Python 2.6 and removed in Python
3
                 Key: BEAM-3872
                 URL: https://issues.apache.org/jira/browse/BEAM-3872
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
            Reporter: cclauss
            Assignee: Ahmet Altay


>From the Travis logs...

./sdks/python/apache_beam/typehints/typecheck.py:179: DeprecationWarning: BaseException.message
has been deprecated as of Python 2.6
  six.raise_from(TypeCheckError(e.message), sys.exc_info()[2])

e.args[1] should be used in place of e.message



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message