<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/compile.c, branch v2.4.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/compile.c?h=v2.4.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-11-07T14:04:00Z</updated>
<entry>
<title>SF patch 1025636: Check for NULL returns in compile.c:com_import_stmt</title>
<updated>2004-11-07T14:04:00Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2004-11-07T14:04:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16b047904ca59831c28bcb811647f9f81590f1c8'/>
<id>urn:sha1:16b047904ca59831c28bcb811647f9f81590f1c8</id>
<content type='text'>
There is no test for this change, because there is no way to provoke memory errors on demand.  Test suite passes, though.
</content>
</entry>
<entry>
<title>Maintain peepholer's cumlc invariant by updating the running total</title>
<updated>2004-11-02T04:20:10Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-11-02T04:20:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5dec096e6a62be5769904111a16d32ee86a9ef46'/>
<id>urn:sha1:5dec096e6a62be5769904111a16d32ee86a9ef46</id>
<content type='text'>
everytime a LOAD_CONSTANT is encountered, created, or overwritten.

Added two tests to cover cases affected by the patch.
</content>
</entry>
<entry>
<title>Simplify and future proof NOP counting in the peepholer.</title>
<updated>2004-11-01T15:19:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-11-01T15:19:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=099ecfbec9a2a8bdca0ce9afdad4e1158b8e2169'/>
<id>urn:sha1:099ecfbec9a2a8bdca0ce9afdad4e1158b8e2169</id>
<content type='text'>
No longer assumes that the input is NOP free.
</content>
</entry>
<entry>
<title>Fixed a comment and added another one.</title>
<updated>2004-10-30T21:08:59Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-10-30T21:08:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d7bcf4deb174e5e5b6548eb64fe2b0735da5dc95'/>
<id>urn:sha1:d7bcf4deb174e5e5b6548eb64fe2b0735da5dc95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adopt some peepholer suggestions from Armin Rigo:</title>
<updated>2004-10-30T08:55:08Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-30T08:55:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=effb3931ead28d47d240a113c85e8e494273ebfc'/>
<id>urn:sha1:effb3931ead28d47d240a113c85e8e494273ebfc</id>
<content type='text'>
* Use simpler, faster two pass algorithm for markblocks().
* Free the blocks variable if not NULL and exiting without change.
* Verify that the rest of the compiler has not set an exception.
* Make the test for tuple of constants less restrictive.
* Embellish the comment for chained conditional jumps.
</content>
</entry>
<entry>
<title>SF bug #1053819:  Segfault in tuple_of_constants</title>
<updated>2004-10-26T08:59:14Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-26T08:59:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=23109ef11e91c49b56b517ce454bcf87a4153c62'/>
<id>urn:sha1:23109ef11e91c49b56b517ce454bcf87a4153c62</id>
<content type='text'>
Peepholer could be fooled into misidentifying a tuple_of_constants.
Added code to count consecutive occurrences of LOAD_CONST.
Use the count to weed out the misidentified cases.
Added a unittest.
</content>
</entry>
<entry>
<title>SF bug #1048870:  call arg of lambda not updating</title>
<updated>2004-10-24T00:10:06Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-24T00:10:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9047c8f73d0e8c865452f80a4219d647be7c433a'/>
<id>urn:sha1:9047c8f73d0e8c865452f80a4219d647be7c433a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve error message for augmented assignments to genexps or listcomps.</title>
<updated>2004-09-29T23:54:08Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-29T23:54:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fec0c466ad17cc0dfa115ce3ba17a6011e3391d6'/>
<id>urn:sha1:fec0c466ad17cc0dfa115ce3ba17a6011e3391d6</id>
<content type='text'>
Rather than introduce new logic, took the approach of making the message
itself more general.
</content>
</entry>
<entry>
<title>Fix two erroneous error messages.</title>
<updated>2004-09-29T21:47:10Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-29T21:47:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ffc1410e28ade7bfe247fd12aac648a7738c0c8'/>
<id>urn:sha1:8ffc1410e28ade7bfe247fd12aac648a7738c0c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced a test with an assertion.</title>
<updated>2004-09-28T17:22:12Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-28T17:22:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=06cc973d06ff0b6f1126874c142a2a21ad8e497c'/>
<id>urn:sha1:06cc973d06ff0b6f1126874c142a2a21ad8e497c</id>
<content type='text'>
(Suggested by Michael Hudson.)
</content>
</entry>
</feed>
