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

BSON should be able to encode range, set, frozenset, and dictionary view objects

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6
    • Component/s: BSON
    • Labels:
      None

      set, frozenset, and Python 3's range are basic Python types.
      The same goes for Python 3's dictionary view objects dict_keys, dict_values, and dict_items.
      The BSON module should be able to encode them without the end-user needing to convert them to a list or tuple first.

        1. bson_python3_types.patch
          10 kB
        2. tpy.py
          1 kB

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            salty-horse Ori Avtalion
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: