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

_dict_to_bson interface differs between Python and C implementation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.3
    • Affects Version/s: 2.2.1
    • Component/s: None
    • Labels:
    • Environment:
      ubuntu

      Pure Python bson._dict_to_bson includes a `top_level` parameter that defaults to True. _cbson._dict_to_bson is missing this parameter.

      Make the two functions agree.

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

              Created:
              Updated:
              Resolved: