<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/pythonrun.c, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pythonrun.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pythonrun.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2007-01-23T15:09:19Z</updated>
<entry>
<title>Backport trunk revision 53527:</title>
<updated>2007-01-23T15:09:19Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2007-01-23T15:09:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e42ab6e434044fdfcdc99b5b631ed972825a92c'/>
<id>urn:sha1:1e42ab6e434044fdfcdc99b5b631ed972825a92c</id>
<content type='text'>
SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize

When running the interpreter in an environment that would cause it to set
stdout/stderr/stdin's encoding, having a sitecustomize that would replace
them with something other than PyFile objects would crash the interpreter.
Fix it by simply ignoring the encoding-setting for non-files.

This could do with a test, but I can think of no maintainable and portable
way to test this bug, short of adding a sitecustomize.py to the buildsystem
and have it always run with it (hmmm....)
</content>
</entry>
<entry>
<title>[Backport r50685 | neal.norwitz]</title>
<updated>2006-10-05T18:57:54Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:57:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e67841f113f40327561641ca33945490ceeb3a8a'/>
<id>urn:sha1:e67841f113f40327561641ca33945490ceeb3a8a</id>
<content type='text'>
Reported by Klocwork #151.

v2 can be NULL if exception2 is NULL.  I don't think that condition can happen,
but I'm not sure it can't either.  Now the code will protect against either
being NULL.
</content>
</entry>
<entry>
<title>[Backport r51443 | neal.norwitz]</title>
<updated>2006-10-03T19:11:32Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T19:11:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=58e5c1149a94bed13a0b7a1b5b2b817f0f365f81'/>
<id>urn:sha1:58e5c1149a94bed13a0b7a1b5b2b817f0f365f81</id>
<content type='text'>
Handle a few more error conditions.

Klocwork 301 and 302.  Will backport.
</content>
</entry>
<entry>
<title>[Backport r51231 | neal.norwitz]</title>
<updated>2006-10-03T19:08:48Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T19:08:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fec767442089180f5642c4f57261b6f3a05dcc35'/>
<id>urn:sha1:fec767442089180f5642c4f57261b6f3a05dcc35</id>
<content type='text'>
PyModule_GetDict() can fail, produce fatal errors if this happens on startup.

Klocwork #298-299.
</content>
</entry>
<entry>
<title>Ignore the references to the dummy objects used as deleted keys</title>
<updated>2006-04-12T17:06:58Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-04-12T17:06:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=337c143b4a1dd06aac882febcee80d9af7342493'/>
<id>urn:sha1:337c143b4a1dd06aac882febcee80d9af7342493</id>
<content type='text'>
in dicts and sets when computing the total number of references.
</content>
</entry>
<entry>
<title>Backported:</title>
<updated>2005-10-02T01:51:56Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2005-10-02T01:51:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d00e54bc2582029f8cca9a965d015cf206605916'/>
<id>urn:sha1:d00e54bc2582029f8cca9a965d015cf206605916</id>
<content type='text'>
  Fix segfault with invalid coding.
(See SF bug: 772896 for another fix)
</content>
</entry>
<entry>
<title>Forward UnicodeDecodeError into SyntaxError for source encoding errors.</title>
<updated>2005-08-24T08:39:46Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2005-08-24T08:39:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea3c6f032bb48d54c04a4605cc3897eaabd6f644'/>
<id>urn:sha1:ea3c6f032bb48d54c04a4605cc3897eaabd6f644</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move exception finalisation later in the shutdown process - this</title>
<updated>2005-03-29T12:32:50Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2005-03-29T12:32:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d381b17e4b4a86b52cd5562b005eb29066d2cbd'/>
<id>urn:sha1:4d381b17e4b4a86b52cd5562b005eb29066d2cbd</id>
<content type='text'>
fixes the crash seen in bug #1165761
</content>
</entry>
<entry>
<title>Patch #975056 - fixes for restartable signals on *BSD. In addition,</title>
<updated>2004-10-13T14:48:50Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2004-10-13T14:48:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9ceaa72ebe96cb5423aa3fb2adede3fcd1c7b6b0'/>
<id>urn:sha1:9ceaa72ebe96cb5423aa3fb2adede3fcd1c7b6b0</id>
<content type='text'>
a few remaining calls to signal() were converted to PyOS_setsig().
</content>
</entry>
<entry>
<title>SF patch 1044089:  New C API function PyEval_ThreadsInitialized(), by Nick</title>
<updated>2004-10-11T02:40:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-11T02:40:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7f468f29f49786988e4f1a005174578fc83c7eb9'/>
<id>urn:sha1:7f468f29f49786988e4f1a005174578fc83c7eb9</id>
<content type='text'>
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
</content>
</entry>
</feed>
