Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3591

Undefined name: exc_info

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.4.0
    • sdk-py-core
    • None

    Description

      _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]
                                                  ^
      ```

      Attachments

        Activity

          People

            altay Ahmet Altay
            cclauss cclauss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified