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

Wrong Python object name for UTC in C module

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.1, 3.0
    • Affects Version/s: 2.7
    • Component/s: None
    • Labels:
      None

      The changes for PYTHON-569 introduced a regression in time zone aware datetime creation when the C extensions are used with mod_wsgi. The problem only presents when the tz_aware option is True and a BSON datetime type is decoded in a python sub-interpreter.

      See https://github.com/mongodb/mongo-python-driver/pull/233 for details and a patch

            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: