<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python, branch v2.5.2</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?h=v2.5.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-02-21T11:53:40Z</updated>
<entry>
<title>Update copyright years to 2008. Update README to 2.5.2.</title>
<updated>2008-02-21T11:53:40Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-02-21T11:53:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=10eac2c6130389fea602bc9df0138436ca77c6ed'/>
<id>urn:sha1:10eac2c6130389fea602bc9df0138436ca77c6ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added checks for integer overflows, contributed by Google. Some are</title>
<updated>2008-02-14T11:26:18Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-02-14T11:26:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=73c01d410117a573731e6c2afc9694005f8d11aa'/>
<id>urn:sha1:73c01d410117a573731e6c2afc9694005f8d11aa</id>
<content type='text'>
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
</content>
</entry>
<entry>
<title>No need to emit co_lnotab item when both offsets are zeros.</title>
<updated>2008-02-04T23:51:55Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-02-04T23:51:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc212104e48eaaf2038c0a3f9dc2e1304a039a8b'/>
<id>urn:sha1:bc212104e48eaaf2038c0a3f9dc2e1304a039a8b</id>
<content type='text'>
r60579 broke a test test_compile, which seems to test an "implementation detail" IMO.

Also test that this correction does not impact the debugger.
</content>
</entry>
<entry>
<title>backport of r60575 (issue #1750076): Debugger did not step on every iteration of a while statement.</title>
<updated>2008-02-04T22:34:57Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-02-04T22:34:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=316f8a8d3c965d2e1809b1b90677733478184c89'/>
<id>urn:sha1:316f8a8d3c965d2e1809b1b90677733478184c89</id>
<content type='text'>
The mapping between bytecode offsets and source lines (lnotab) did not contain
an entry for the beginning of the loop.

Now it does, and the lnotab can be a bit larger:
in particular, several statements on the same line generate several entries.
However, this does not bother the settrace function, which will trigger only
one 'line' event.

The lnotab seems to be exactly the same as with python2.4.
</content>
</entry>
<entry>
<title>#1920: when considering a block starting by "while 0", the compiler optimized the</title>
<updated>2008-01-24T23:42:08Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-01-24T23:42:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f1a7178cd569383cbce3aba22bd7b1d5950e7c20'/>
<id>urn:sha1:f1a7178cd569383cbce3aba22bd7b1d5950e7c20</id>
<content type='text'>
whole construct away, even when an 'else' clause is present::

    while 0:
        print("no")
    else:
        print("yes")

did not generate any code at all.

Now the compiler emits the 'else' block, like it already does for 'if' statements.

Backport of r60265.
</content>
</entry>
<entry>
<title>Fix two crashers (borrowed_ref_[34].py from the trunk).</title>
<updated>2008-01-23T20:09:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2008-01-23T20:09:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e105f980460131d192d955fca0df474bcf1c642c'/>
<id>urn:sha1:e105f980460131d192d955fca0df474bcf1c642c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 1678380:  fix a bug identifying -0.0 and 0.0</title>
<updated>2008-01-21T21:54:47Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2008-01-21T21:54:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2bebadfe517c8c3c5a24f246eb44b5fa9dfc2cf3'/>
<id>urn:sha1:2bebadfe517c8c3c5a24f246eb44b5fa9dfc2cf3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport of r59241: str.decode fails on very long strings on 64bit platforms.</title>
<updated>2007-11-30T21:53:17Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2007-11-30T21:53:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8334a4fc313be34d3b76f8635b160159c10f8b0e'/>
<id>urn:sha1:8334a4fc313be34d3b76f8635b160159c10f8b0e</id>
<content type='text'>
PyArgs_ParseTuple t# and w# formats truncated the lengths to 32bit.
</content>
</entry>
<entry>
<title>Backport for issue1265 (pdb bug with "with" statement).</title>
<updated>2007-11-13T22:43:05Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2007-11-13T22:43:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c572dc3752871a48127db1fb3c8bc20889d2be34'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Backport 58424:</title>
<updated>2007-10-12T03:59:09Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-10-12T03:59:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=163048ed12c9fdc5738cc7b3f903ecd0749b1d61'/>
<id>urn:sha1:163048ed12c9fdc5738cc7b3f903ecd0749b1d61</id>
<content type='text'>
Fix Coverity 185-186:  If the passed in FILE is NULL, uninitialized memory
would be accessed.
</content>
</entry>
</feed>
