You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/01/12 03:51:04 UTC
[jira] [Updated] (BEAM-3872) BaseException.message deprecated as of Python 2.6 and removed in Python 3
[ https://issues.apache.org/jira/browse/BEAM-3872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles updated BEAM-3872:
----------------------------------
This Jira ticket has a pull request attached to it, but is still open. Did the pull request resolve the issue? If so, could you please mark it resolved? This will help the project have a clear view of its open issues.
> 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
> Priority: P3
> Original Estimate: 1m
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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[0] should be used in place of e.message
--
This message was sent by Atlassian Jira
(v8.20.1#820001)