<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/c-api/buffer.rst, branch travis-macOS</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Unmark files as executable that can't actually be executed. (GH-15353)</title>
<updated>2019-08-21T04:53:59+00:00</updated>
<author>
<name>Greg Price</name>
<email>gnprice@gmail.com</email>
</author>
<published>2019-08-21T04:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9ece4a5057d52c42a8a064a6c0c7f923267fb3db'/>
<id>9ece4a5057d52c42a8a064a6c0c7f923267fb3db</id>
<content type='text'>
There are plenty of legitimate scripts in the tree that begin with a
`#!`, but also a few that seem to be marked executable by mistake.

Found them with this command -- it gets executable files known to Git,
filters to the ones that don't start with a `#!`, and then unmarks
them as executable:

    $ git ls-files --stage \
      | perl -lane 'print $F[3] if (!/^100644/)' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          || chmod a-x "$f"; \
        done

Looking at the list by hand confirms that we didn't sweep up any
files that should have the executable bit after all.  In particular

 * The `.psd` files are images from Photoshop.

 * The `.bat` files sure look like things that can be run.
   But we have lots of other `.bat` files, and they don't have
   this bit set, so it must not be needed for them.



Automerge-Triggered-By: @benjaminp</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are plenty of legitimate scripts in the tree that begin with a
`#!`, but also a few that seem to be marked executable by mistake.

Found them with this command -- it gets executable files known to Git,
filters to the ones that don't start with a `#!`, and then unmarks
them as executable:

    $ git ls-files --stage \
      | perl -lane 'print $F[3] if (!/^100644/)' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          || chmod a-x "$f"; \
        done

Looking at the list by hand confirms that we didn't sweep up any
files that should have the executable bit after all.  In particular

 * The `.psd` files are images from Photoshop.

 * The `.bat` files sure look like things that can be run.
   But we have lots of other `.bat` files, and they don't have
   this bit set, so it must not be needed for them.



Automerge-Triggered-By: @benjaminp</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-15913: Implement PyBuffer_SizeFromFormat() (GH-13873)</title>
<updated>2019-08-20T14:46:36+00:00</updated>
<author>
<name>Joannah Nanjekye</name>
<email>33177550+nanjekyejoannah@users.noreply.github.com</email>
</author>
<published>2019-08-20T14:46:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9e66aba99925eebacfe137d9deb0ef1fdbc2d5db'/>
<id>9e66aba99925eebacfe137d9deb0ef1fdbc2d5db</id>
<content type='text'>
Implement PyBuffer_SizeFromFormat() function (previously
documented but not implemented): call struct.calcsize().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement PyBuffer_SizeFromFormat() function (previously
documented but not implemented): call struct.calcsize().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994)</title>
<updated>2019-07-31T14:48:15+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2019-07-31T14:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1b29af83bc17e773b0c0d117f5fe1018fde46b0d'/>
<id>1b29af83bc17e773b0c0d117f5fe1018fde46b0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Docs: Correct formatting of a multiline code block (GH-13806)</title>
<updated>2019-07-17T08:13:01+00:00</updated>
<author>
<name>Joseph Fox-Rabinovitz</name>
<email>madphysicist@users.noreply.github.com</email>
</author>
<published>2019-07-17T08:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bd26a4466b507e196fc9a5e4a6cb7cd6d39f85aa'/>
<id>bd26a4466b507e196fc9a5e4a6cb7cd6d39f85aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Replace the deprecated highlightlang directive by highlight. (#13377)</title>
<updated>2019-05-17T09:55:34+00:00</updated>
<author>
<name>Stéphane Wirtel</name>
<email>stephane@wirtel.be</email>
</author>
<published>2019-05-17T09:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cbb6484573ae2058e55614b28d73b0c8478f9a70'/>
<id>cbb6484573ae2058e55614b28d73b0c8478f9a70</id>
<content type='text'>
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35461: Document C API functions which suppress exceptions. (GH-11119)</title>
<updated>2018-12-18T11:57:17+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-12-18T11:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b'/>
<id>3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct a couple of unbalanced parenthesis. (GH-10779)</title>
<updated>2018-12-05T19:45:30+00:00</updated>
<author>
<name>Andre Delfino</name>
<email>adelfino@gmail.com</email>
</author>
<published>2018-12-05T19:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=55f41e45b4318cbe19209f5144641344d0049fb8'/>
<id>55f41e45b4318cbe19209f5144641344d0049fb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33126: Document PyBuffer_ToContiguous() (#6292)</title>
<updated>2018-03-28T15:26:32+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2018-03-28T15:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=aa50bf08e64f49d57917ab0b1aadf4308a3168a6'/>
<id>aa50bf08e64f49d57917ab0b1aadf4308a3168a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993)</title>
<updated>2017-10-15T07:31:36+00:00</updated>
<author>
<name>vyas45</name>
<email>vyas45@gmail.com</email>
</author>
<published>2017-10-15T07:31:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1b9e76ed3a055a53ca67397e928e1b408461900b'/>
<id>1b9e76ed3a055a53ca67397e928e1b408461900b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28496: Mark up constants 0, 1 and -1 that denote return values or</title>
<updated>2016-10-27T18:41:19+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-27T18:41:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1ecf7d204dd3abb143f53851c31fefd4ef887314'/>
<id>1ecf7d204dd3abb143f53851c31fefd4ef887314</id>
<content type='text'>
special input values as literal text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
special input values as literal text.
</pre>
</div>
</content>
</entry>
</feed>
