Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1187

Python Cursor.set_key, set_value should allow Unicode

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.5.0
    • Affects Version/s: None
    • Component/s: None
    • None

      In python, a string value (or key) can be set with cursor.set_value('abc'). But cursor.set_value(u'abc') fails with:

       File "/Library/Python/2.7/site-packages/wiredtiger/__init__.py", line 290, in set_value
          self._set_value(self._value)
      TypeError: in method 'Cursor__set_value', argument 2 of type 'char *'
      

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: