<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/pythonrun.c, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pythonrun.c?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pythonrun.c?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-12-08T23:43:45Z</updated>
<entry>
<title>Changed the finalization order again so that the reference count</title>
<updated>1997-12-08T23:43:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-08T23:43:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1707aad27c36024d8ee00bd59ee223d16a9bb6d1'/>
<id>urn:sha1:1707aad27c36024d8ee00bd59ee223d16a9bb6d1</id>
<content type='text'>
printing (when Py_DEBUG is defined) happens while there's still a
current thread...
</content>
</entry>
<entry>
<title>Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so</title>
<updated>1997-11-25T20:58:13Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-11-25T20:58:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ddc3fb573429a40ac7c80088edf25ee19f7a5265'/>
<id>urn:sha1:ddc3fb573429a40ac7c80088edf25ee19f7a5265</id>
<content type='text'>
you can assign an object whose str() evaluates to the current
directory (or whatever).
</content>
</entry>
<entry>
<title>Two changes (here we go again :-( ).</title>
<updated>1997-11-19T16:15:37Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-11-19T16:15:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=858cb73bb2643b73f4262857c865db285280e900'/>
<id>urn:sha1:858cb73bb2643b73f4262857c865db285280e900</id>
<content type='text'>
1) The __builtins__ variable in the __main__ module is set to the
__builtin__ module instead of its __dict__.

2) Get rid of the SIGHUP and SIGTERM handlers.  They can't be made to
work reliably when threads may be in use, they are Unix specific, and
Python programmers can now program this functionality is a safer way
using the signal module.
</content>
</entry>
<entry>
<title>Undo half of the previous change :-(</title>
<updated>1997-11-04T19:36:18Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-11-04T19:36:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4a1f39a26bd5ff97f0388b2a35ea6edf089a0e07'/>
<id>urn:sha1:4a1f39a26bd5ff97f0388b2a35ea6edf089a0e07</id>
<content type='text'>
Setting interp-&gt;builtins to the __builtin__ module instead of to its
dictionary had the unfortunate side effect of always running in
restricted execution mode :-(

I will check in a different way of setting __main__.__builtins__ to
the __builtin__ module later.

Also, there was a typo -- a comment was unfinished, and as a result
some finalizations were not being executed.

In Bart Simpson style,

I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
</content>
</entry>
<entry>
<title>Two independent changes (alas):</title>
<updated>1997-11-03T21:58:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-11-03T21:58:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a44e1b9fbf914769083239a1c5deb1a71b2862d'/>
<id>urn:sha1:3a44e1b9fbf914769083239a1c5deb1a71b2862d</id>
<content type='text'>
- The interp-&gt;builtins variable (and hence, __main__.__builtins__) is
once again initialized to the built-in *module* instead of its
dictionary.

- The finalization order is once again changed.  Signals are finalized
relatively early, because (1) it DECREF's the signal handlers, and if
a signal handler happens to be a bound method, deleting it could cause
problems when there's no current thread around, and (2) we don't want
to risk executing signal handlers during finalization.
</content>
</entry>
<entry>
<title>Initialize Py_UseClassExceptionsFlag to 1.</title>
<updated>1997-10-03T19:46:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-10-03T19:46:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=999e5e921e0da9251d235de6fc7916d349e2bfe4'/>
<id>urn:sha1:999e5e921e0da9251d235de6fc7916d349e2bfe4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix small omission: with all the new code, sys.exit(None) would print</title>
<updated>1997-10-03T13:53:28Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-10-03T13:53:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aa9606f45ad75439a76134b9ee1969d7c9749cf2'/>
<id>urn:sha1:aa9606f45ad75439a76134b9ee1969d7c9749cf2</id>
<content type='text'>
"None"; this should be equivalent to sys.exit(0).
</content>
</entry>
<entry>
<title>Py_Initialize(): move the call to _PyImport_FixupExtension() to after</title>
<updated>1997-09-18T16:42:02Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-09-18T16:42:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=963b871e86bd85b7fb3551fa9fac5363977fc43b'/>
<id>urn:sha1:963b871e86bd85b7fb3551fa9fac5363977fc43b</id>
<content type='text'>
the phase 2 init of the __builtin__ module, so that multiple
interpreters will get the right exceptions.
</content>
</entry>
<entry>
<title>PyErr_Print(): When printing a class exception, try to dig out the</title>
<updated>1997-09-16T21:42:03Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-09-16T21:42:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2f5f6a2595d4796fea3aecc8e2ed8b800033ecca'/>
<id>urn:sha1:2f5f6a2595d4796fea3aecc8e2ed8b800033ecca</id>
<content type='text'>
__module__ string and if found, print &lt;module&gt;.&lt;class&gt;, unless
&lt;module&gt; == "exceptions".
</content>
</entry>
<entry>
<title>Fixed some details of printing the str() of an exception.  This fixes</title>
<updated>1997-09-05T19:11:53Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-05T19:11:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d6bf45bcf669a13b2d8c3996b466c5171eca0e53'/>
<id>urn:sha1:d6bf45bcf669a13b2d8c3996b466c5171eca0e53</id>
<content type='text'>
a core dump when __str__() returns a non-string, and plugs a memory
leak as well: the result of PyObject_Str() was never DECREFed.
</content>
</entry>
</feed>
