1. jayd3e
  2. WebOb-1.1-Py3


Michael Merickel  committed 62b67b8

added a comment to unicodemultidict

  • Participants
  • Parent commits cc9a256
  • Branches default

Comments (0)

Files changed (2)

File tests/test_request.py

View file
  • Ignore whitespace
                             decode_param_names=True, charset='UTF-8')
         self.assertTrue(six.u('\u1000') in req.GET.keys())
+        import pdb; pdb.set_trace()
         self.assertEqual(req.GET[six.u('\u1000')], 'x')
     def test_copy_body(self):

File webob/multidict.py

View file
  • Ignore whitespace
             yield self._decode_value(v)
     if six.PY3:
+        # slightly less efficient than "keys = iterkeys" but allows subclasses
+        # to only need to define iterkeys, iteritems and itervalues without
+        # worrying about the keys, items and values behavior
         def keys(self):
             return self.iterkeys()