Opened 3 years ago

Closed 3 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@… 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by andreas@…

comment:1 Changed 3 years ago by apollo13

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Severity changed from Normal to Release blocker
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 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 3 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 3 years ago by Jacob Kaplan-Moss <jacob@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 35cab0f8e43c01a7d5ede4ebc96e5e8723a04338:

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

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