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

Timezone related utilities for BSON cannot be pickled / copied

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Someone posted on the MongoEngine forum that using tzinfo with a datetime meant they couldn't do a Q() query. On inspection I noticed it was because the bson.tz_util.FixedOffset instances can't be copied.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: