<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/ceval.c, branch v2.5.4</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>Backport issue 4597 to python 2.5.3: Fixed several opcodes that weren't always</title>
<updated>2008-12-10T17:23:20+00:00</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2008-12-10T17:23:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6f5d3f326f8c98dc4c53b422a92306e391e83cc2'/>
<id>6f5d3f326f8c98dc4c53b422a92306e391e83cc2</id>
<content type='text'>
propagating exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
propagating exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backported issue #4589 to Python 2.5.3: Propagated an exception thrown by a</title>
<updated>2008-12-10T07:28:12+00:00</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2008-12-10T07:28:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=478a1aa5373be89a6c7464fe1303aa585631acea'/>
<id>478a1aa5373be89a6c7464fe1303aa585631acea</id>
<content type='text'>
context manager's __exit__ method's result while it's being converted to bool.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
context manager's __exit__ method's result while it's being converted to bool.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport of r65032 from trunk</title>
<updated>2008-08-17T23:01:11+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-08-17T23:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5e8dc97a098766a566b07df241c524fbd56d34ac'/>
<id>5e8dc97a098766a566b07df241c524fbd56d34ac</id>
<content type='text'>
Fixes Issue #874900: after an os.fork() call the threading module state is cleaned
up in the child process to prevent deadlock and report proper thread counts
if the new process uses the threading module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes Issue #874900: after an os.fork() call the threading module state is cleaned
up in the child process to prevent deadlock and report proper thread counts
if the new process uses the threading module.
</pre>
</div>
</content>
</entry>
<entry>
<title>#3242: fix a crash in "print", if sys.stdout is set to a custom object,</title>
<updated>2008-07-01T20:52:56+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-07-01T20:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ceda6a67ce93dd9ac982ead61a23f98f85ea1821'/>
<id>ceda6a67ce93dd9ac982ead61a23f98f85ea1821</id>
<content type='text'>
whose write() method installs another sys.stdout.

Backport of r64633
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
whose write() method installs another sys.stdout.

Backport of r64633
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix two crashers (borrowed_ref_[34].py from the trunk).</title>
<updated>2008-01-23T20:09:39+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2008-01-23T20:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e105f980460131d192d955fca0df474bcf1c642c'/>
<id>e105f980460131d192d955fca0df474bcf1c642c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport for issue1265 (pdb bug with "with" statement).</title>
<updated>2007-11-13T22:43:05+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2007-11-13T22:43:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c572dc3752871a48127db1fb3c8bc20889d2be34'/>
<id>c572dc3752871a48127db1fb3c8bc20889d2be34</id>
<content type='text'>
When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
is called with a GeneratorExit exception set.  This leads to funny results
if the sys.settrace function itself makes use of generators.
A visible effect is that the settrace function is reset to None.
Another is that the eventual "finally" block of the generator is not called.

It is necessary to save/restore the exception around the call to the trace
function.

This happens a lot with py3k: isinstance() of an ABCMeta instance runs
    def __instancecheck__(cls, instance):
        """Override for isinstance(instance, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {instance.__class__, type(instance)})
which lets an opened generator expression each time it returns True.

And the problem can be reproduced in 2.5 with pure python code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
is called with a GeneratorExit exception set.  This leads to funny results
if the sys.settrace function itself makes use of generators.
A visible effect is that the settrace function is reset to None.
Another is that the eventual "finally" block of the generator is not called.

It is necessary to save/restore the exception around the call to the trace
function.

This happens a lot with py3k: isinstance() of an ABCMeta instance runs
    def __instancecheck__(cls, instance):
        """Override for isinstance(instance, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {instance.__class__, type(instance)})
which lets an opened generator expression each time it returns True.

And the problem can be reproduced in 2.5 with pure python code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert 54813 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.</title>
<updated>2007-04-16T06:19:52+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-04-16T06:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=03c566a268764c30dc4755f6e83bca8dfa09c169'/>
<id>03c566a268764c30dc4755f6e83bca8dfa09c169</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars in frameobject.c which can occur with opcodes &gt; 127</title>
<updated>2007-04-13T22:09:59+00:00</updated>
<author>
<name>Kristján Valur Jónsson</name>
<email>kristjan@ccpgames.com</email>
</author>
<published>2007-04-13T22:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9d9fbb435935503b9fbd2754c2d8745d6239229a'/>
<id>9d9fbb435935503b9fbd2754c2d8745d6239229a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #1682205: a TypeError while unpacking an iterable is no longer</title>
<updated>2007-03-21T09:00:55+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-03-21T09:00:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8a10ea4613e0bbcd067609d8d205b6ca71420f08'/>
<id>8a10ea4613e0bbcd067609d8d205b6ca71420f08</id>
<content type='text'>
masked by a generic one with the message "unpack non-sequence".
 (backport from rev. 54480)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
masked by a generic one with the message "unpack non-sequence".
 (backport from rev. 54480)
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #1674228: when assigning a slice (old-style), check for the</title>
<updated>2007-03-05T22:28:13+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-03-05T22:28:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0ea891603db74a830d0ecbe91ea3df4612bca0e6'/>
<id>0ea891603db74a830d0ecbe91ea3df4612bca0e6</id>
<content type='text'>
sq_ass_slice instead of the sq_slice slot.
 (backport from rev. 54139)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sq_ass_slice instead of the sq_slice slot.
 (backport from rev. 54139)
</pre>
</div>
</content>
</entry>
</feed>
