<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/moduleobject.h, branch v3.5.0b2</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>Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI)</title>
<updated>2015-05-23T21:44:37+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2015-05-23T21:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=11d7b1423fc44d764eba7065ea5eba58ed748b21'/>
<id>11d7b1423fc44d764eba7065ea5eba58ed748b21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP 489: Multi-phase extension module initialization</title>
<updated>2015-05-23T12:24:10+00:00</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2015-05-23T12:24:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d5cacbb1d9c3edc02bf0ba01702e7c06da5bc318'/>
<id>d5cacbb1d9c3edc02bf0ba01702e7c06da5bc318</id>
<content type='text'>
Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19255: The builtins module is restored to initial value before</title>
<updated>2014-02-10T16:21:34+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2014-02-10T16:21:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=87a5c515d03f3e2215f3da7b90a4b848ac510879'/>
<id>87a5c515d03f3e2215f3da7b90a4b848ac510879</id>
<content type='text'>
cleaning other modules.  The sys and builtins modules are cleaned last.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cleaning other modules.  The sys and builtins modules are cleaned last.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #3080: Add PyModule_NewObject() function</title>
<updated>2011-03-04T12:57:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-03-04T12:57:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0639b56672112e69a1d55c0105dae9198f757ec2'/>
<id>0639b56672112e69a1d55c0105dae9198f757ec2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #3080: Add PyModule_GetNameObject()</title>
<updated>2011-02-23T00:21:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-02-23T00:21:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bd475115c4fb0dda55f3d1f4443bff58abd1203f'/>
<id>bd475115c4fb0dda55f3d1f4443bff58abd1203f</id>
<content type='text'>
repr(module) uses %R to format module name and filenames, instead of '%s' and
'%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
repr(module) uses %R to format module name and filenames, instead of '%s' and
'%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #3080: document encoding used by import functions</title>
<updated>2011-02-22T23:38:34+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-02-22T23:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d7e76405c7c1afe830faf40646b704be5c51ad51'/>
<id>d7e76405c7c1afe830faf40646b704be5c51ad51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branches/pep-0384.</title>
<updated>2010-12-03T20:14:31+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2010-12-03T20:14:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9'/>
<id>4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly</title>
<updated>2010-11-17T21:20:18+00:00</updated>
<author>
<name>David Malcolm</name>
<email>dmalcolm@redhat.com</email>
</author>
<published>2010-11-17T21:20:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=82e73cb951b72d91b924452ee44eefb6f135640f'/>
<id>82e73cb951b72d91b924452ee44eefb6f135640f</id>
<content type='text'>
zero-initialize all fields, fixing compiler warnings seen when building
extension modules with gcc with "-Wmissing-field-initializers" (implied
by "-W")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
zero-initialize all fields, fixing compiler warnings seen when building
extension modules with gcc with "-Wmissing-field-initializers" (implied
by "-W")
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #9425: Create PyModule_GetFilenameObject() function</title>
<updated>2010-08-17T23:37:11+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-08-17T23:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6c00c1464f03deaafbbd5fdd212514cbf36b9bd4'/>
<id>6c00c1464f03deaafbbd5fdd212514cbf36b9bd4</id>
<content type='text'>
... to get the filename as a unicode object, instead of a byte string. Function
needed to support unencodable filenames. Deprecate PyModule_GetFilename() in
favor on the new function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to get the filename as a unicode object, instead of a byte string. Function
needed to support unencodable filenames. Deprecate PyModule_GetFilename() in
favor on the new function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement PEP 3121: new module initialization and finalization API.</title>
<updated>2008-06-11T05:26:20+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-06-11T05:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1a21451b1d73b65af949193208372e86bf308411'/>
<id>1a21451b1d73b65af949193208372e86bf308411</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
