<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/c-api/memoryview.rst, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/c-api/memoryview.rst?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/c-api/memoryview.rst?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-10-10T01:02:49Z</updated>
<entry>
<title>Fix types in buffer/memoryview docs (GH-98118)</title>
<updated>2022-10-10T01:02:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-10T01:02:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03ea515f33b3073d2c680b5a7786ea603076eb6d'/>
<id>urn:sha1:03ea515f33b3073d2c680b5a7786ea603076eb6d</id>
<content type='text'>
The definition of obj in the `Py_buffer` struct is as a PyObject*
https://github.com/python/cpython/blob/ec091bd47e2f968b0d1631b9a8104283a7beeb1b/Include/pybuffer.hGH-L22

PyMemoryView_GET_BASE returns `.obj` - thus its return type
should be a PyObject* (or at least a void*). It definitely
doesn't return `Py_buffer`
(cherry picked from commit c459fedf7cfd5dadf72e088d789c7375b3a6e093)

Co-authored-by: da-woods &lt;dw-git@d-woods.co.uk&gt;</content>
</entry>
<entry>
<title>bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)</title>
<updated>2021-01-06T11:38:26Z</updated>
<author>
<name>Antonio Cuni</name>
<email>anto.cuni@gmail.com</email>
</author>
<published>2021-01-06T11:38:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=315fc52db17b19fe30aa9193f26adf69e18d8844'/>
<id>urn:sha1:315fc52db17b19fe30aa9193f26adf69e18d8844</id>
<content type='text'>
I think that none of these API calls can fail, but only few of them are
documented as such. Add the sentence "This function always succeeds" (which is
the same already used e.g. by PyNumber_Check) to all of them.</content>
</entry>
<entry>
<title>bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)</title>
<updated>2019-10-30T10:03:20Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-30T10:03:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=25fc088607c855060ed142296dc1bd0125fad1af'/>
<id>urn:sha1:25fc088607c855060ed142296dc1bd0125fad1af</id>
<content type='text'>
Replace all *NULL* with ``NULL``.
</content>
</entry>
<entry>
<title>Doc: Replace the deprecated highlightlang directive by highlight. (#13377)</title>
<updated>2019-05-17T09:55:34Z</updated>
<author>
<name>Stéphane Wirtel</name>
<email>stephane@wirtel.be</email>
</author>
<published>2019-05-17T09:55:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cbb6484573ae2058e55614b28d73b0c8478f9a70'/>
<id>urn:sha1:cbb6484573ae2058e55614b28d73b0c8478f9a70</id>
<content type='text'>
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845</content>
</entry>
<entry>
<title>Issue #23756: Clarify the terms "contiguous" and "bytes-like object".</title>
<updated>2015-08-08T12:33:28Z</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2015-08-08T12:33:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70e543b266d273217869091b90a3cedbe32b4a2e'/>
<id>urn:sha1:70e543b266d273217869091b90a3cedbe32b4a2e</id>
<content type='text'>
Patch by Martin Panter.
</content>
</entry>
<entry>
<title>Add PyMemoryView_FromMemory() to whatsnew/3.3.</title>
<updated>2012-02-29T16:27:21Z</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2012-02-29T16:27:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95b1ba63886fbfbd508d133d9ce176501ede822d'/>
<id>urn:sha1:95b1ba63886fbfbd508d133d9ce176501ede822d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Issue #10181: New memoryview implementation fixes multiple ownership</title>
<updated>2012-02-25T11:24:21Z</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2012-02-25T11:24:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a2d99e28a5c2989b2db4023acae4f550885f2ef'/>
<id>urn:sha1:9a2d99e28a5c2989b2db4023acae4f550885f2ef</id>
<content type='text'>
  and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
</content>
</entry>
<entry>
<title>fix some typos in Doc/c-api/memoryview.rst</title>
<updated>2011-11-25T13:07:50Z</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@gmail.com</email>
</author>
<published>2011-11-25T13:07:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a53f368e61a5535571362e36c451827ee7d3a27'/>
<id>urn:sha1:5a53f368e61a5535571362e36c451827ee7d3a27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Migrate to Sphinx 1.0 C language constructs.</title>
<updated>2010-10-06T10:11:56Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-10-06T10:11:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=60203b41b03d03361754d264543d5fbe6259eb25'/>
<id>urn:sha1:60203b41b03d03361754d264543d5fbe6259eb25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Give a dedicated page to memoryview objects, so that they can be part</title>
<updated>2010-09-28T23:59:51Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-09-28T23:59:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c663b58c9a29c1c5c05c6d33a05a04f7c4fc18fd'/>
<id>urn:sha1:c663b58c9a29c1c5c05c6d33a05a04f7c4fc18fd</id>
<content type='text'>
of the concrete objects layer, while the buffer protocol is part of
the abstract objects layer.
</content>
</entry>
</feed>
