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

Investigate use of unicode_literals in the 3.x branch.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • None

      A few modules in the 3.0-dev branch of PyMongo import unicode_literals from __future__. This is causing minor problems in the auth module due to hashlib.pbkdf2_hmac expecting a 'str' as its first argument. There may be issues in other modules as well.

      Before releasing 3.0 GA we must audit our use of unicode_literals. It may make more sense to remove the __future__ import and work around any issues manually.

      The modules to audit are auth.py, bulk.py, and collection.py.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: