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

Fix Python 3 cmp function

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-core
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                holdenk holdenk
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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