<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser, branch v3.9.0a1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-36876: Moved Parser/listnode.c statics to interpreter state. (GH-16328)</title>
<updated>2019-11-07T10:08:58+00:00</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2019-11-07T10:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9def81aa52adc3cc89554156e40742cf17312825'/>
<id>9def81aa52adc3cc89554156e40742cf17312825</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002)</title>
<updated>2019-10-31T01:08:06+00:00</updated>
<author>
<name>Max Bernstein</name>
<email>tekknolagi@users.noreply.github.com</email>
</author>
<published>2019-10-31T01:08:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bdac32e9fe25fdb97a7172a93aabd1ffead89462'/>
<id>bdac32e9fe25fdb97a7172a93aabd1ffead89462</id>
<content type='text'>
This looks like a typo due to copy-paste.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This looks like a typo due to copy-paste.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347)</title>
<updated>2019-10-15T07:26:12+00:00</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2019-10-15T07:26:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0b60f64e4343913b4931dc27379d9808e5b78fe1'/>
<id>0b60f64e4343913b4931dc27379d9808e5b78fe1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688)</title>
<updated>2019-10-10T07:41:26+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-10-10T07:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a05fcd3c7adf6e3a0944da8cf80a3346882e9b3b'/>
<id>a05fcd3c7adf6e3a0944da8cf80a3346882e9b3b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38140: Make dict and weakref offsets opaque for C heap types (#16076)</title>
<updated>2019-09-19T16:29:05+00:00</updated>
<author>
<name>Eddie Elizondo</name>
<email>eelizondo@fb.com</email>
</author>
<published>2019-09-19T16:29:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3368f3c6ae4140a0883e19350e672fd09c9db616'/>
<id>3368f3c6ae4140a0883e19350e672fd09c9db616</id>
<content type='text'>
* Make dict and weakref offsets opaque for C heap types

* Add news
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make dict and weakref offsets opaque for C heap types

* Add news
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leaks in Python-ast.c (#16127)</title>
<updated>2019-09-14T13:38:17+00:00</updated>
<author>
<name>Eddie Elizondo</name>
<email>eelizondo@fb.com</email>
</author>
<published>2019-09-14T13:38:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0247e80f3c529900689425676342cb70ea31a13d'/>
<id>0247e80f3c529900689425676342cb70ea31a13d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-21120: Exclude Python-ast.h, ast.h and asdl.h from the limited API (#14634)</title>
<updated>2019-09-12T09:27:14+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2019-09-12T09:27:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=421a72af4deaec96a49a79951b9c2546a2faa13d'/>
<id>421a72af4deaec96a49a79951b9c2546a2faa13d</id>
<content type='text'>
The PyArena type is not part of the limited API, so these headers
shouldn't be part of it either.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PyArena type is not part of the limited API, so these headers
shouldn't be part of it either.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)</title>
<updated>2019-09-11T17:16:34+00:00</updated>
<author>
<name>Dino Viehland</name>
<email>dinoviehland@fb.com</email>
</author>
<published>2019-09-11T17:16:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ac46eb4ad6662cf6d771b20d8963658b2186c48c'/>
<id>ac46eb4ad6662cf6d771b20d8963658b2186c48c</id>
<content type='text'>
Summary: This mostly migrates Python-ast.c to PEP384 and removes all statics from the whole file. This modifies the generator itself that generates the Python-ast.c. It leaves in the usage of _PyObject_LookupAttr even though it's not fully PEP384 compatible (this could always be shimmed in by anyone who needs it).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: This mostly migrates Python-ast.c to PEP384 and removes all statics from the whole file. This modifies the generator itself that generates the Python-ast.c. It leaves in the usage of _PyObject_LookupAttr even though it's not fully PEP384 compatible (this could always be shimmed in by anyone who needs it).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38083: Minor improvements in asdl_c.py and Python-ast.c. (GH-15824)</title>
<updated>2019-09-10T10:02:30+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-09-10T10:02:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=43c9731334470573209464b7f67914d386457efc'/>
<id>43c9731334470573209464b7f67914d386457efc</id>
<content type='text'>
* Use the const qualifier for constant C strings.
* Intern field and attribute names.
* Temporary incref a borrowed reference to a list item.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use the const qualifier for constant C strings.
* Intern field and attribute names.
* Temporary incref a borrowed reference to a list item.</pre>
</div>
</content>
</entry>
<entry>
<title>Mark files as executable that are meant as scripts. (GH-15354)</title>
<updated>2019-09-09T14:16:33+00:00</updated>
<author>
<name>Greg Price</name>
<email>gnprice@gmail.com</email>
</author>
<published>2019-09-09T14:16:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fa3a38d81faaf96d17b5a7f0248b9923e3a648cc'/>
<id>fa3a38d81faaf96d17b5a7f0248b9923e3a648cc</id>
<content type='text'>
This is the converse of GH-15353 -- in addition to plenty of
scripts in the tree that are marked with the executable bit
(and so can be directly executed), there are a few that have
a leading `#!` which could let them be executed, but it doesn't
do anything because they don't have the executable bit set.

Here's a command which finds such files and marks them.  The
first line finds files in the tree with a `#!` line *anywhere*;
the next-to-last step checks that the *first* line is actually of
that form.  In between we filter out files that already have the
bit set, and some files that are meant as fragments to be
consumed by one or another kind of preprocessor.

    $ git grep -l '^#!' \
      | grep -vxFf &lt;( \
          git ls-files --stage \
          | perl -lane 'print $F[3] if (!/^100644/)' \
        ) \
      | grep -ve '\.in$' -e '^Doc/includes/' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          &amp;&amp; chmod a+x "$f"; \
        done</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the converse of GH-15353 -- in addition to plenty of
scripts in the tree that are marked with the executable bit
(and so can be directly executed), there are a few that have
a leading `#!` which could let them be executed, but it doesn't
do anything because they don't have the executable bit set.

Here's a command which finds such files and marks them.  The
first line finds files in the tree with a `#!` line *anywhere*;
the next-to-last step checks that the *first* line is actually of
that form.  In between we filter out files that already have the
bit set, and some files that are meant as fragments to be
consumed by one or another kind of preprocessor.

    $ git grep -l '^#!' \
      | grep -vxFf &lt;( \
          git ls-files --stage \
          | perl -lane 'print $F[3] if (!/^100644/)' \
        ) \
      | grep -ve '\.in$' -e '^Doc/includes/' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          &amp;&amp; chmod a+x "$f"; \
        done</pre>
</div>
</content>
</entry>
</feed>
