Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6984 Python 3.7 Support
  3. BEAM-5787

test_translate_pattern fails on Python 3.7

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: Not applicable
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      Originally reported by michel on slack: https://the-asf.slack.com/archives/CBDNLQZM1/p1539697967000100

      Cause:

      https://docs.python.org/3/whatsnew/3.7.html:
      Change re.escape() to only escape regex special characters instead of
      escaping all characters other than ASCII letters, numbers, and '_'.
      (Contributed by Serhiy Storchaka in bpo-29995.)

       

        Attachments

          Activity

            People

            • Assignee:
              tvalentyn Valentyn Tymofieiev
              Reporter:
              joar Joar Wandborg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 20m
                20m