Opened 13 years ago
Closed 13 years ago
#20016 closed Bug (fixed)
buffer buildin not supportet in jython
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Python 2 | Version: | 1.5 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Jython, version 2.7b1, does not support the buffer buildin, which is needed in the django/utils/six.py. However memoryview is supported, which can be used in this case.
Attachments (1)
Change History (5)
by , 13 years ago
| Attachment: | jython_buffer_fix.diff added |
|---|
comment:1 by , 13 years ago
| Severity: | Normal → Release blocker |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
buffer is part of the so called "Non-essential Built-in Functions" (http://docs.python.org/2/library/functions.html#non-essential-built-in-functions), so I guess it would be OK for Django to cope with the absence of this buildin.
comment:4 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It's not clear to me this is a bug we should be fixing; how is the omission of
buffernot a Jython bug? Is that considered an optional interface for Python implementations?