Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3062

Make Regex generic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1
    • None
    • None

    Description

      Try to make bson.regex.Regex generic on the pattern type (either str or bytes). Then try_compile can return the appropriate generic type.

      Attachments

        Activity

          People

            steve.silvester@mongodb.com Steve Silvester
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: