Opened 5 years ago

Closed 5 years ago

#20016 closed Bug (fixed)

buffer buildin not supportet in jython

Reported by: andreas@… 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


Jython, version 2.7b1, does not support the buffer buildin, which is needed in the django/utils/ However memoryview is supported, which can be used in this case.

Attachments (1)

jython_buffer_fix.diff (494 bytes) - added by andreas@… 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by andreas@…

Attachment: jython_buffer_fix.diff added

comment:1 Changed 5 years ago by Florian Apolloner

Severity: NormalRelease blocker
Triage Stage: UnreviewedAccepted

comment:2 Changed 5 years ago by Jacob

It's not clear to me this is a bug we should be fixing; how is the omission of buffer not a Jython bug? Is that considered an optional interface for Python implementations?

comment:3 Changed 5 years ago by andreas@…

buffer is part of the so called "Non-essential Built-in Functions" (, so I guess it would be OK for Django to cope with the absence of this buildin.

comment:4 Changed 5 years ago by Jacob Kaplan-Moss <jacob@…>

Resolution: fixed
Status: newclosed

In 35cab0f8e43c01a7d5ede4ebc96e5e8723a04338:

Fixed #20016: worked around Jython not having a buffer.

Note: See TracTickets for help on using tickets.
Back to Top