<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/compile.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>Fix a reference leak found by Georg, when compiling a class nested in another class.</title>
<updated>2008-03-28T20:45:42+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-03-28T20:45:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8432d86b9f7a6295718544dd5e7c93fd9e3f94e7'/>
<id>8432d86b9f7a6295718544dd5e7c93fd9e3f94e7</id>
<content type='text'>
Test is run with "regrtest.py -R:: test_compile"

Backport of r62015
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test is run with "regrtest.py -R:: test_compile"

Backport of r62015
</pre>
</div>
</content>
</entry>
<entry>
<title>Added checks for integer overflows, contributed by Google. Some are</title>
<updated>2008-02-14T11:26:18+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-02-14T11:26:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=73c01d410117a573731e6c2afc9694005f8d11aa'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
</pre>
</div>
</content>
</entry>
<entry>
<title>No need to emit co_lnotab item when both offsets are zeros.</title>
<updated>2008-02-04T23:51:55+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-02-04T23:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bc212104e48eaaf2038c0a3f9dc2e1304a039a8b'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r60579 broke a test test_compile, which seems to test an "implementation detail" IMO.

Also test that this correction does not impact the debugger.
</pre>
</div>
</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:57+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-02-04T22:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=316f8a8d3c965d2e1809b1b90677733478184c89'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>#1920: when considering a block starting by "while 0", the compiler optimized the</title>
<updated>2008-01-24T23:42:08+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-01-24T23:42:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f1a7178cd569383cbce3aba22bd7b1d5950e7c20'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 1678380:  fix a bug identifying -0.0 and 0.0</title>
<updated>2008-01-21T21:54:47+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2008-01-21T21:54:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2bebadfe517c8c3c5a24f246eb44b5fa9dfc2cf3'/>
<id>2bebadfe517c8c3c5a24f246eb44b5fa9dfc2cf3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #1169: remove docstrings in functions for -OO.</title>
<updated>2007-09-19T06:37:26+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-09-19T06:37:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dfecfdb23e10b6d273c2d5f4c257c93f46ce6cbb'/>
<id>dfecfdb23e10b6d273c2d5f4c257c93f46ce6cbb</id>
<content type='text'>
 (backport from rev. 58204)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 (backport from rev. 58204)
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug #1722484: remove docstrings again when running with -OO.</title>
<updated>2007-06-01T11:33:45+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-06-01T11:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ba871a06fb5fe36d4f77c2f1db3257b0c1975651'/>
<id>ba871a06fb5fe36d4f77c2f1db3257b0c1975651</id>
<content type='text'>
 (backport from rev. 55732)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 (backport from rev. 55732)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix constantification of None.</title>
<updated>2007-03-02T19:19:05+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2007-03-02T19:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d882e36f459e20a3fb3f92aa57df3228d832f4e2'/>
<id>d882e36f459e20a3fb3f92aa57df3228d832f4e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport 52504:</title>
<updated>2006-10-28T21:38:43+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-10-28T21:38:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f0940b6cab766f039dc22d361f52e25b22e9fa8'/>
<id>2f0940b6cab766f039dc22d361f52e25b22e9fa8</id>
<content type='text'>
Fix bug #1565514, SystemError not raised on too many nested blocks.
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix bug #1565514, SystemError not raised on too many nested blocks.
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
</pre>
</div>
</content>
</entry>
</feed>
