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

Fix over-aggressive division futurization.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      When converting from Python 2 to Python 3, `a / b` becomes `a // b` only for ints, but it is incorrect to do this substitution for floating point division. 

       

      I noticed this change in the microbenchmarks, but we should do an audit to make sure we haven't broken things elsewhere. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tvalentyn Valentyn Tymofieiev
                Reporter:
                robertwb Robert Bradshaw
              • 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 - 40m
                  40m