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

Fix Python 3 cmp function

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • Missing
    • sdk-py-core
    • None

    Description

      Various functions don't exist in Python 3 that did in python 2. This Jira is to fix the use of cmp (which often will involve rewriting _cmp_ as well).

       

      Note: there are existing PRs for basestring and unicode ( https://github.com/apache/beam/pull/4697 , https://github.com/apache/beam/pull/4730 )

       

      Note once all of the missing names/functions are fixed we can enable F821 in falke8 python 3.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              holden Holden Karau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14h 20m
                  14h 20m