<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/import.c, branch v1.5.2b2</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>PyImport_ReloadModule(): Nailed a small memory leak.  In the</title>
<updated>1999-01-27T17:54:20+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1999-01-27T17:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3879333b9eef62541a68d8c7fd3e95e544a1ebda'/>
<id>3879333b9eef62541a68d8c7fd3e95e544a1ebda</id>
<content type='text'>
else-clause of the subname test, the parentname object was never
DECREF'd.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
else-clause of the subname test, the parentname object was never
DECREF'd.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve comment for PyImport_Import() as suggested by Bill Tutt.</title>
<updated>1998-12-21T19:51:00+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-12-21T19:51:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6058eb49ee34171fbe2843f74360cddde0441bdc'/>
<id>6058eb49ee34171fbe2843f74360cddde0441bdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Thanks to Chris Herborth, the thread primitives now have proper Py*</title>
<updated>1998-12-21T19:32:43+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-12-21T19:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=65d5b5763c6bbd99d2e2c6b219570f4562382ff0'/>
<id>65d5b5763c6bbd99d2e2c6b219570f4562382ff0</id>
<content type='text'>
names in the source code (they already had those for the linker,
through some smart macros; but the source still had the old, un-Py names).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
names in the source code (they already had those for the linker,
through some smart macros; but the source still had the old, un-Py names).
</pre>
</div>
</content>
</entry>
<entry>
<title>Jim Fulton writes:</title>
<updated>1998-10-22T15:46:50+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-10-22T15:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=66468568df6e9e56b914b15f36dc091f81117150'/>
<id>66468568df6e9e56b914b15f36dc091f81117150</id>
<content type='text'>
"""
I had originally not realized that PyEval_GetGlobals did not
INCREF it's return value.  The fix is to add the INCREF,
as shown below.
"""
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"""
I had originally not realized that PyEval_GetGlobals did not
INCREF it's return value.  The fix is to add the INCREF,
as shown below.
"""
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace fprintf(stderr, ...) with PySys_WriteStderr(...).</title>
<updated>1998-10-12T18:23:55+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-10-12T18:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f3667a7b92b4ef5d3d3db986b0723cf27706930'/>
<id>2f3667a7b92b4ef5d3d3db986b0723cf27706930</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Renamed thread.h to pythread.h.</title>
<updated>1998-10-01T20:42:43+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-10-01T20:42:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=49b560698b0bba848c4f8325803a26a4477fb12d'/>
<id>49b560698b0bba848c4f8325803a26a4477fb12d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>While scalling sys.modules, skip entries that don't have string keys,</title>
<updated>1998-10-01T15:24:50+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-10-01T15:24:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=566373e974413de66ad1d627f322908597eb2efd'/>
<id>566373e974413de66ad1d627f322908597eb2efd</id>
<content type='text'>
to protect us from jokers who put items with non-string keys in
sys.modules.  Reported by Greg Stein.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to protect us from jokers who put items with non-string keys in
sys.modules.  Reported by Greg Stein.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mac-specific mod to enable aliases on import paths.</title>
<updated>1998-09-14T13:40:53+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-09-14T13:40:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a0f0a33d0574108c71eeaa5833387658f3b92135'/>
<id>a0f0a33d0574108c71eeaa5833387658f3b92135</id>
<content type='text'>
(Jack Jansen and/or Just van Rossum)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Jack Jansen and/or Just van Rossum)
</pre>
</div>
</content>
</entry>
<entry>
<title>__file__ used to be always set to the .pyc (or .pyo) file, even if</title>
<updated>1998-08-25T18:44:34+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-08-25T18:44:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=afd3daedded4f77f9803a3a486ca00f9fe363859'/>
<id>afd3daedded4f77f9803a3a486ca00f9fe363859</id>
<content type='text'>
that file in fact did not exist or at least was not used.  Change this
so that __file__ is *only* set to the .pyc/.pyo file when it actually
read the code object from it; otherwise __file__ is set to the .py
file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that file in fact did not exist or at least was not used.  Change this
so that __file__ is *only* set to the .pyc/.pyo file when it actually
read the code object from it; otherwise __file__ is set to the .py
file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch by Just van Rossum that changes how we search for submodules of</title>
<updated>1998-08-11T15:07:39+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-08-11T15:07:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0506a431d58b3ef4cebefad6ea246883ba41963c'/>
<id>0506a431d58b3ef4cebefad6ea246883ba41963c</id>
<content type='text'>
frozen packages.  (I *think* this means that we can now have a
built-in module bar that's a submodule of a frozen package foo, by
registering the built-in module with a name "foo.bar" in the table of
builtin modules.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
frozen packages.  (I *think* this means that we can now have a
built-in module bar that's a submodule of a frozen package foo, by
registering the built-in module with a name "foo.bar" in the table of
builtin modules.)
</pre>
</div>
</content>
</entry>
</feed>
