[
https://issues.apache.org/jira/browse/BEAM-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16348982#comment-16348982
]
Ahmet Altay commented on BEAM-3591:
-----------------------------------
Thank you for noticing and fixing this. I merged
https://github.com/apache/beam/pull/4559
> Undefined name: exc_info
> ------------------------
>
> Key: BEAM-3591
> URL: https://issues.apache.org/jira/browse/BEAM-3591
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: cclauss
> Assignee: Ahmet Altay
> Priority: Minor
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> __exc_info__ is an undefined name which might result in NameError being
> raised instead of the desired error. Proposed fix is
> https://github.com/apache/beam/pull/4559
> flake8 testing of https://github.com/apache/beam
> $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source
> --statistics__
> ```
> ./sdks/python/apache_beam/runners/worker/data_plane.py:185:19: F821 undefined
> name 'exc_info'
> raise exc_info[0], exc_info[1], exc_info[2]
> ^
> ./sdks/python/apache_beam/runners/worker/data_plane.py:185:32: F821 undefined
> name 'exc_info'
> raise exc_info[0], exc_info[1], exc_info[2]
> ^
> ./sdks/python/apache_beam/runners/worker/data_plane.py:185:45: F821 undefined
> name 'exc_info'
> raise exc_info[0], exc_info[1], exc_info[2]
> ^
> ```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)