Ticket #20016: jython_buffer_fix.diff
File jython_buffer_fix.diff, 494 bytes (added by , 12 years ago) |
---|
-
django/utils/six.py
diff --git a/django/utils/six.py b/django/utils/six.py index 208c5c1..d447fec 100644
a b else: 401 401 _assertRegex = "assertRegexpMatches" 402 402 # memoryview and buffer are not stricly equivalent, but should be fine for 403 403 # django core usage (mainly BinaryField) 404 memoryview = buffer 404 if sys.platform.startswith("java"): 405 memoryview = memoryview 406 else: 407 memoryview = buffer 405 408 406 409 407 410 def iterlists(d):