Source

pypy / pypy / interpreter / buffer.py

Author Commit Message Labels Comments Date
Alexander Hesse
Initial package rename: pypy.rpython -> rpython.rtyper pypy.translator -> rpython.translator pypy.rlib -> rpython.rlib pypy.jit -> rpython.jit pypy.objspace.flow -> rpython.flowspace pypy.annotation -> rpython.annotator
Branches
split-rpython
Armin Rigo
Simplify the logic.
Armin Rigo
Test and fix.
wlav
merge default into branch
Branches
reflex-support
Alex Gaynor
switch struct to use StringBuilder internally
wlav
(arigo, wlav) allow pointer assignment on data members
Branches
reflex-support
Amaury Forgeot d'Arc
New unwrap_spec in interpreter/buffer.py
Branches
improve-unwrap_spec
Alex Gaynor
Added space.len_w which is a shortcut for space.int_w(space.len(w_obj))
Michael Foord
(mfoord) change way unicode characters are iterated over in buffer constructor for sake of the annotator
Branches
bytearray
Michael Foord
(mfoord) remove buffer interface support from unicodeobject and handle it specially in buffer constructor
Branches
bytearray
Amaury Forgeot d'Arc
Fix an AssertionError with "buffer('x')[1:0]"
Amaury Forgeot d'Arc
Translation fixes
Branches
fast-forward
Amaury Forgeot d'Arc
Fix a test in module/mmap
Branches
fast-forward
Alex Gaynor
Implemented extended slicing for buffers.
Branches
fast-forward
Armin Rigo
Implement the built-in 'memoryview' type as a thin wrapper around an interp-level buffer.
Branches
fast-forward
Armin Rigo
Attempt to kill the W_Memoryview class, and just use buffers. Doing so is a lot more efficient, because it will select the right subclass of Buffer when constructing it. Also rename memoryview.to_bytes() to memoryview.tobytes(), according to the CPython API documentation. This actually adds tobytes() as a method on all buffer objects. I suppose it's fine.
Branches
fast-forward
Armin Rigo
Finish the merge of trunk into pyjitpl5.
Armin Rigo
Support for buffer(x, offset, size).
Armin Rigo
Merge the 'buffer' branch. The buffer interface should now be well-supported, and the array module has a not-too-terrible performance. The internal buffer interface is still missing support for direct raw pointers; that would be the next step, with the goal of reducing the number of copies of the data done for each I/O operation.