<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Python/errors.c, branch v2.3.3c1</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>Fix [ 771097 ] frozen programs fail due to implicit import of "warnings".</title>
<updated>2003-07-15T23:03:55Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2003-07-15T23:03:55Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=edd07737d70f9021d90f3990fd7f527aa9a54e48'/>
<id>edd07737d70f9021d90f3990fd7f527aa9a54e48</id>
<content type='text'>
If the initial import of warnings fails, clear the error.  When the module
is actually needed, if the original import failed, see if it has managed
to find its way to sys.modules yet and if so, remember it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the initial import of warnings fails, clear the error.  When the module
is actually needed, if the original import failed, see if it has managed
to find its way to sys.modules yet and if so, remember it.
</pre>
</div>
</content>
</entry>
<entry>
<title>PyErr_NormalizeException(): in the type==NULL test, we should simply</title>
<updated>2003-04-10T20:29:48Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-04-10T20:29:48Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=6b3fffaf990c64ecf6fc1df7e29dba17bda9d419'/>
<id>6b3fffaf990c64ecf6fc1df7e29dba17bda9d419</id>
<content type='text'>
return.  Setting an exception can mess with the exception state, and
continuing is definitely wrong (since type is dereferenced later on).
Some code that calls this seems to be prepared for a NULL exception
type, so let's be safe rather than sorry and simply assume there's
nothing to normalize in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
return.  Setting an exception can mess with the exception state, and
continuing is definitely wrong (since type is dereferenced later on).
Some code that calls this seems to be prepared for a NULL exception
type, so let's be safe rather than sorry and simply assume there's
nothing to normalize in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug 683658 - PyErr_Warn may cause import deadlock.</title>
<updated>2003-02-19T00:33:33Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2003-02-19T00:33:33Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=a43fd0c8996eec2bdd0ec59edc252cb4f4ff4436'/>
<id>a43fd0c8996eec2bdd0ec59edc252cb4f4ff4436</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Constify filenames and scripts. Fixes #651362.</title>
<updated>2002-12-11T14:04:59Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-12-11T14:04:59Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=95292d6caa3af3196c5b9f5f95dae209815c09e5'/>
<id>95292d6caa3af3196c5b9f5f95dae209815c09e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix [ 616716 ] Bug in PyErr_SetExcFromWindows</title>
<updated>2002-10-04T00:13:02Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-10-04T00:13:02Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=3d61a06aa288f2fc64f33c6b09c0778ac4083861'/>
<id>3d61a06aa288f2fc64f33c6b09c0778ac4083861</id>
<content type='text'>
Ensure that even if FormatMessage fails we (a) don't crash, and (b) provide something useful.

Bugfix candidate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that even if FormatMessage fails we (a) don't crash, and (b) provide something useful.

Bugfix candidate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix errors to pep277 checkin identified by Neal Norwitz.</title>
<updated>2002-10-04T00:09:38Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-10-04T00:09:38Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=da7efaa6814a3e5bd264615685244170460465fe'/>
<id>da7efaa6814a3e5bd264615685244170460465fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch 594001: PEP 277 - Unicode file name support for Windows NT.</title>
<updated>2002-10-03T05:10:39Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-10-03T05:10:39Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=c2e85bd4e20dc3b5bc446a705a46397c799f56c0'/>
<id>c2e85bd4e20dc3b5bc446a705a46397c799f56c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New functions for extension writers on Windows:</title>
<updated>2002-07-29T14:27:41Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2002-07-29T14:27:41Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=085358a3e208b4825dafa829798cfc125f56a2e4'/>
<id>085358a3e208b4825dafa829798cfc125f56a2e4</id>
<content type='text'>
 PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename().

Similar to PyErr_SetFromWindowsErrWithFilename() and
PyErr_SetFromWindowsErr(), but they allow to specify
the exception type to raise. Available on Windows.

See SF patch #576458.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename().

Similar to PyErr_SetFromWindowsErrWithFilename() and
PyErr_SetFromWindowsErr(), but they allow to specify
the exception type to raise. Available on Windows.

See SF patch #576458.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #569753: Remove support for WIN16.</title>
<updated>2002-06-30T15:26:10Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-30T15:26:10Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=6238d2b024f061159b2613387ff700695c10deef'/>
<id>6238d2b024f061159b2613387ff700695c10deef</id>
<content type='text'>
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mass checkin of universal newline support.</title>
<updated>2002-04-14T20:12:41Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2002-04-14T20:12:41Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=7b8c7546ebc1fc3688ef95768fa8b82f0f205490'/>
<id>7b8c7546ebc1fc3688ef95768fa8b82f0f205490</id>
<content type='text'>
Highlights: import and friends will understand any of \r, \n and \r\n
as end of line. Python file input will do the same if you use mode 'U'.
Everything can be disabled by configuring with --without-universal-newlines.

See PEP278 for details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Highlights: import and friends will understand any of \r, \n and \r\n
as end of line. Python file input will do the same if you use mode 'U'.
Everything can be disabled by configuring with --without-universal-newlines.

See PEP278 for details.
</pre>
</div>
</content>
</entry>
</feed>
