beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-3872) BaseException.message deprecated as of Python 2.6 and removed in Python 3
Date Sun, 18 Mar 2018 06:36:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-3872?focusedWorklogId=81627&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-81627
]

ASF GitHub Bot logged work on BEAM-3872:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Mar/18 06:35
            Start Date: 18/Mar/18 06:35
    Worklog Time Spent: 10m 
      Work Description: cclauss commented on issue #4886: [BEAM-3872] Change Exception.message
--> Exception.args[0]
URL: https://github.com/apache/beam/pull/4886#issuecomment-373976251
 
 
   Retest this please
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 81627)
    Time Spent: 20m  (was: 10m)

> 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
>            Priority: Minor
>   Original Estimate: 1m
>          Time Spent: 20m
>  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
(v7.6.3#76005)

Mime
View raw message