Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
d2a2af0df4562f4adb0337a80b27d69167a60c32
/
Objects
/
memoryobject.c
2ebc5ce
bpo-30860: Consolidate stateful runtime globals. (#3397)
by Eric Snow
· 7 years ago
b879fe8
Expand the PySlice_GetIndicesEx macro. (#1023)
by Serhiy Storchaka
· 7 years ago
fff9a31
bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748)
by Serhiy Storchaka
· 8 years ago
a50006c
Merge 3.5.
by Stefan Krah
· 8 years ago
195319e
Issue #29111: Fix memoryview signature.
by Stefan Krah
· 8 years ago
82cce4c
use static inline instead of Py_LOCAL_INLINE
by Benjamin Peterson
· 8 years ago
a9296e7
require C99 bool
by Benjamin Peterson
· 8 years ago
af580df
replace PY_LONG_LONG with long long
by Benjamin Peterson
· 8 years ago
ed4aa83
require a long long data type (closes #27961)
by Benjamin Peterson
· 8 years ago
ef1585e
Issue #25923: Added more const qualifiers to signatures of static and private functions.
by Serhiy Storchaka
· 9 years ago
7c3f385
Fix Visual Studio warning.
by Stefan Krah
· 9 years ago
0ce5b6e
Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers.
by Stefan Krah
· 9 years ago
0c51595
Issue #15944: memoryview: Allow arbitrary formats when casting to bytes.
by Stefan Krah
· 9 years ago
8cb6569
Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.
by Gregory P. Smith
· 9 years ago
31084ba
Issue #23632: Memoryviews now allow tuple indexing (including for multi-dimensional memoryviews).
by Antoine Pitrou
· 10 years ago
009b811
Removed unintentional trailing spaces in non-external and non-generated C files.
by Serhiy Storchaka
· 10 years ago
f5324d7
Closes #22668: Merge from 3.4.
by Stefan Krah
· 10 years ago
fa5d6a5
Issue #22668: Ensure that format strings survive slicing after casting.
by Stefan Krah
· 10 years ago
861470c
#16518: Bring error messages in harmony with docs ("bytes-like object")
by R David Murray
· 10 years ago
bcaf599
Issue #20186: memoryobject.c: add function signatures.
by Stefan Krah
· 10 years ago
45e8e2f
Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()
by Victor Stinner
· 10 years ago
985ecdc
ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.
by Christian Heimes
· 11 years ago
0e61ed8
Issue #19014: memoryview.cast() is now allowed on zero-length views.
by Antoine Pitrou
· 11 years ago
60b1834
Issue #19014: memoryview.cast() is now allowed on zero-length views.
by Antoine Pitrou
· 11 years ago
a0f169c
Close #19078: memoryview now supports reversed
by Nick Coghlan
· 11 years ago
674a42b
Fix error messages.
by Stefan Krah
· 12 years ago
4af77a0
Issue #15814: Use hash function that is compatible with the equality
by Stefan Krah
· 12 years ago
f73c69e
Issue #15855: added docstrings for memoryview methods and data descriptors new in 3.3.
by Alexander Belopolsky
· 12 years ago
e370c38
Issue #15855: added docstrings for memoryview methods and data descriptors (merge 3.2).
by Alexander Belopolsky
· 12 years ago
397e5c9
Issue #15855: added docstrings for memoryview methods and data descriptors.
by Alexander Belopolsky
· 12 years ago
06e1ab0
Close #15573: use value-based memoryview comparisons (patch by Stefan Krah)
by Nick Coghlan
· 12 years ago
e4c0799
Add unused parameter to a METH_NOARGS function.
by Stefan Krah
· 12 years ago
7d12d9d
Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
by Stefan Krah
· 12 years ago
3e0a1eb
Issue #14930: Make memoryview objects weakrefable.
by Richard Oudkerk
· 12 years ago
1649c1b
Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do
by Stefan Krah
· 13 years ago
4e99a31
Issue #14181: Allow memoryview construction from an object that uses the
by Stefan Krah
· 13 years ago
9a2d99e
- Issue #10181: New memoryview implementation fixes multiple ownership
by Stefan Krah
· 13 years ago
ce4a9da
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
by Antoine Pitrou
· 13 years ago
dfc80e3
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
by Brian Curtin
· 13 years ago
915605c
Merged revisions 88550 via svnmerge from
by Antoine Pitrou
· 14 years ago
5bffa79
Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with
by Antoine Pitrou
· 14 years ago
ad62b03
Issue #10451: memoryview objects could allow to mutate a readable buffer.
by Antoine Pitrou
· 14 years ago
4d0d471
Merge branches/pep-0384.
by Martin v. Löwis
· 14 years ago
aeb6cee
Issue #10293: Remove obsolete field in the PyMemoryView structure,
by Antoine Pitrou
· 14 years ago
8347328
deuglify
by Benjamin Peterson
· 14 years ago
6e6cc83
Issue #9757: memoryview objects get a release() method to release the
by Antoine Pitrou
· 14 years ago
c73b909
Fix a compilation warning
by Antoine Pitrou
· 14 years ago
e0793ba
Issue #9737: Fix a crash when trying to delete a slice or an item from
by Antoine Pitrou
· 14 years ago
f68c2a7
Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become
by Antoine Pitrou
· 14 years ago
f0f4514
Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99
by Alexander Belopolsky
· 14 years ago
1ac745b
Issue #7616: Fix copying of overlapping memoryview slices with the Intel
by Antoine Pitrou
· 14 years ago
05b7c56
Merged revisions 77916 via svnmerge from
by Antoine Pitrou
· 15 years ago
61b96dc
Slightly improve buffer-related error message.
by Georg Brandl
· 15 years ago
159eac9
Issue 6329: Fix iteration for memoryviews.
by Raymond Hettinger
· 15 years ago
8761855
remove memoryview.__str__ #5182
by Benjamin Peterson
· 16 years ago
e94c679
Issue #1717: rename tp_compare to tp_reserved. I'll change the
by Mark Dickinson
· 16 years ago
35b7e83
Issue #4822: fix messy indentation in memoryobject.c/.h, before we may backport it to trunk.
by Antoine Pitrou
· 16 years ago
c3b3924
Issue #4580: slicing of memoryviews when itemsize != 1 is wrong.
by Antoine Pitrou
· 16 years ago
bc42040
Issue #4569: Interpreter crash when mutating a memoryview with an item size larger than 1.
by Antoine Pitrou
· 16 years ago
5e19e44
kill memoryview.size in favor of len(view)
by Benjamin Peterson
· 16 years ago
c6b09eb
#3712: The memoryview object had a reference leak and didn't support cyclic garbage collection.
by Antoine Pitrou
· 16 years ago
616d285
Issue #2394: implement more of the memoryview API.
by Antoine Pitrou
· 16 years ago
ee58fa4
#3560: cleanup C memoryview API
by Antoine Pitrou
· 16 years ago
423be95
Merged revisions 65654 via svnmerge from
by Martin v. Löwis
· 16 years ago
2f89aa6
#2538: bytes objects can only provide read-only buffers
by Antoine Pitrou
· 16 years ago
9c74b14
Merged revisions 64114 via svnmerge from
by Amaury Forgeot d'Arc
· 16 years ago
3900088
Remove locking from buffer protocol as-per discussion.
by Travis E. Oliphant
· 16 years ago
9c4756e
Renamed PyBytes to PyByteArray
by Christian Heimes
· 16 years ago
217cfd1
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
by Christian Heimes
· 17 years ago
7b6fc8e
Fixed memoryview constructor. It allowed arbitrary keyword arguments. The bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py
by Christian Heimes
· 17 years ago
61ec0d3
Fix some Py_ssize_t warnings on Win64 that were probably bugs
by Neal Norwitz
· 17 years ago
fe9bed0
Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
by Travis E. Oliphant
· 17 years ago
be801ac
Delete bufferobject.[ch].
by Guido van Rossum
· 17 years ago
b35f128
At least one of the buildbots was complaining about newview being used
by Neal Norwitz
· 17 years ago
5dde61d
Whitespace and line lengrth cleanup.
by Guido van Rossum
· 17 years ago
8ae62b6
Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object.
by Travis E. Oliphant
· 17 years ago
54cf12b
Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE.
by Sean Reifscheider
· 17 years ago
666bb41
SF #1777057, fix memoryview('test') so it works in debug mode too.
by Neal Norwitz
· 17 years ago
faa54a3
Code review of the new buffer protocol. Mostly add questions that should
by Neal Norwitz
· 17 years ago
b99f762
Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118.
by Travis E. Oliphant
· 17 years ago