<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/moduleobject.c, branch fix-misc-acks</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>[3.7] Fix misleading mentions of tp_size in comments. (GH-9136)</title>
<updated>2018-09-10T17:22:55+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-10T17:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4d5d219a7ae1351e6f6e7c1c9845a499927d1219'/>
<id>4d5d219a7ae1351e6f6e7c1c9845a499927d1219</id>
<content type='text'>
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)

Co-authored-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)

Co-authored-by: Peter Eisentraut &lt;peter@eisentraut.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32374:  m_traverse may be called with m_state=NULL (GH-5140)</title>
<updated>2018-03-17T06:03:56+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-17T06:03:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=136905fffd5f77395f80e3409630c11756b5469c'/>
<id>136905fffd5f77395f80e3409630c11756b5469c</id>
<content type='text'>
Multi-phase initialized modules allow m_traverse to be called while the
module is still being initialized, so module authors may need to account
for that.
(cherry picked from commit c2b0b12d1a137ada1023ab7c10b8d9a0249d95f9)

Co-authored-by: Marcel Plch &lt;gmarcel.plch@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multi-phase initialized modules allow m_traverse to be called while the
module is still being initialized, so module authors may need to account
for that.
(cherry picked from commit c2b0b12d1a137ada1023ab7c10b8d9a0249d95f9)

Co-authored-by: Marcel Plch &lt;gmarcel.plch@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32225: Implementation of PEP 562 (#4731)</title>
<updated>2017-12-14T10:59:44+00:00</updated>
<author>
<name>Ivan Levkivskyi</name>
<email>levkivskyi@gmail.com</email>
</author>
<published>2017-12-14T10:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5364b5cd7571f2dfa75acd37b388c14ac33fef73'/>
<id>5364b5cd7571f2dfa75acd37b388c14ac33fef73</id>
<content type='text'>
Implement PEP 562: module __getattr__ and __dir__.
The implementation simply updates module_getattro and
module_dir.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement PEP 562: module __getattr__ and __dir__.
The implementation simply updates module_getattro and
module_dir.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31492: Fix assertion failures in case of a module with a bad __name__ attribute. (#3620)</title>
<updated>2017-09-19T11:23:01+00:00</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-09-19T11:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6db7033192cd537ca987a65971acb01206c3ba82'/>
<id>6db7033192cd537ca987a65971acb01206c3ba82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28411: Isolate PyInterpreterState.modules (#3575)</title>
<updated>2017-09-14T18:18:12+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-14T18:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d393c1b227f22fb9af66040b2b367c99a4d1fa9a'/>
<id>d393c1b227f22fb9af66040b2b367c99a4d1fa9a</id>
<content type='text'>
A bunch of code currently uses PyInterpreterState.modules directly instead of PyImport_GetModuleDict(). This complicates efforts to make changes relative to sys.modules. This patch switches to using PyImport_GetModuleDict() uniformly. Also, a number of related uses of sys.modules are updated for uniformity for the same reason.

Note that this code was already reviewed and merged as part of #1638. I reverted that and am now splitting it up into more focused parts.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A bunch of code currently uses PyInterpreterState.modules directly instead of PyImport_GetModuleDict(). This complicates efforts to make changes relative to sys.modules. This patch switches to using PyImport_GetModuleDict() uniformly. Also, a number of related uses of sys.modules are updated for uniformity for the same reason.

Note that this code was already reviewed and merged as part of #1638. I reverted that and am now splitting it up into more focused parts.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31404: Revert "remove modules from Py_InterpreterState (#1638)" (#3565)</title>
<updated>2017-09-14T06:46:04+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-14T06:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=93c92f7d1dbb6e7e472f1d0444c6968858113de2'/>
<id>93c92f7d1dbb6e7e472f1d0444c6968858113de2</id>
<content type='text'>
PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30860: Consolidate stateful runtime globals. (#3397)</title>
<updated>2017-09-08T05:51:28+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-08T05:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2ebc5ce42a8a9e047e790aefbf9a94811569b2b6'/>
<id>2ebc5ce42a8a9e047e790aefbf9a94811569b2b6</id>
<content type='text'>
* group the (stateful) runtime globals into various topical structs
* consolidate the topical structs under a single top-level _PyRuntimeState struct
* add a check-c-globals.py script that helps identify runtime globals

Other globals are excluded (see globals.txt and check-c-globals.py).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* group the (stateful) runtime globals into various topical structs
* consolidate the topical structs under a single top-level _PyRuntimeState struct
* add a check-c-globals.py script that helps identify runtime globals

Other globals are excluded (see globals.txt and check-c-globals.py).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638)</title>
<updated>2017-09-04T23:54:09+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-04T23:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=86b7afdfeee77993fe896a2aa13b3f4f95973f16'/>
<id>86b7afdfeee77993fe896a2aa13b3f4f95973f16</id>
<content type='text'>
sys.modules is the one true source.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sys.modules is the one true source.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615)</title>
<updated>2017-03-19T06:51:07+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-19T06:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=18b250f844bf8b2d1a81c2d2dcc74e850364fe35'/>
<id>18b250f844bf8b2d1a81c2d2dcc74e850364fe35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28748: Private variable _Py_PackageContext is now of type "const char *"</title>
<updated>2016-11-21T08:25:54+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-21T08:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b57d9eac41125bc4a53a1ba9987ba776b4cc6680'/>
<id>b57d9eac41125bc4a53a1ba9987ba776b4cc6680</id>
<content type='text'>
rather of "char *".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rather of "char *".
</pre>
</div>
</content>
</entry>
</feed>
