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

_dict_to_bson interface differs between Python and C implementation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3
    • Component/s: None
    • Labels:
    • Environment:
      ubuntu

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            behackett Bernie Hackett
            Reporter:
            wolfmanx Wolfgang Scherer
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: