<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/peephole.c, branch 3.6</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/peephole.c?h=3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/peephole.c?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-11-09T07:30:36Z</updated>
<entry>
<title>bpo-35193: Fix an off by one error in the RETURN_VALUE case. (GH-10418) (GH-10422)</title>
<updated>2018-11-09T07:30:36Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-11-09T07:30:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65e1a1fd311943866361fcb288c0df65dadbe092'/>
<id>urn:sha1:65e1a1fd311943866361fcb288c0df65dadbe092</id>
<content type='text'>
Fix an off by one error in the peephole optimizer when checking for unreachable code beyond a return.

Do a bounds check within find_op so it can return before going past the end as a safety measure.

https://github.com/python/cpython/commit/7db3c488335168993689ddae5914a28e16188447#diff-a33329ae6ae0bb295d742f0caf93c137
introduced this off by one error while fixing another one nearby.

This bug was shipped in all Python 3.6 and 3.7 releases.

The included unittest won't fail unless you do a clang msan build.

(cherry picked from commit 49fa4a9f1ef387e16596f271414c855339eadf09)</content>
</entry>
<entry>
<title>[3.6] bpo-30416: Protect the optimizer during constant folding. (#4865)</title>
<updated>2017-12-15T12:12:14Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-12-15T12:12:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b580f4f2bf49fd3b11f2a046911993560c02492a'/>
<id>urn:sha1:b580f4f2bf49fd3b11f2a046911993560c02492a</id>
<content type='text'>
It no longer spends much time doing complex calculations and no
longer consumes much memory for creating large constants that will
be dropped later.

This fixes also bpo-21074.</content>
</entry>
<entry>
<title>Issue #28517: Fixed of-by-one error in the peephole optimizer that caused</title>
<updated>2016-10-25T06:30:43Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-25T06:30:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7db3c488335168993689ddae5914a28e16188447'/>
<id>urn:sha1:7db3c488335168993689ddae5914a28e16188447</id>
<content type='text'>
keeping unreachable code.
</content>
</entry>
<entry>
<title>Fixed refactoring bug in dd046963bd42 (issue27129).</title>
<updated>2016-09-11T12:19:12Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-09-11T12:19:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a1e9ab34a9cfe335af1b34287cdda6743c53487d'/>
<id>urn:sha1:a1e9ab34a9cfe335af1b34287cdda6743c53487d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27129: Replaced wordcode related magic constants with macros.</title>
<updated>2016-09-11T10:48:15Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-09-11T10:48:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ab8740058a7f76f1438dc18a2ffd918da4f8118d'/>
<id>urn:sha1:ab8740058a7f76f1438dc18a2ffd918da4f8118d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Re-linewrap comments</title>
<updated>2016-08-08T03:20:33Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-08-08T03:20:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08eef3ff49e3696773a310e4e7f474b978535b23'/>
<id>urn:sha1:08eef3ff49e3696773a310e4e7f474b978535b23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27076: Merge spelling from 3.5</title>
<updated>2016-05-26T06:03:19Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-05-26T06:03:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3e04d5b3068ac67cc01a32b1d5a51ac79c9df5a1'/>
<id>urn:sha1:3e04d5b3068ac67cc01a32b1d5a51ac79c9df5a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27076: Doc, comment and tests spelling fixes</title>
<updated>2016-05-26T05:35:26Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-05-26T05:35:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46f50726a0047ae81d478c3a206f587b8f35ed08'/>
<id>urn:sha1:46f50726a0047ae81d478c3a206f587b8f35ed08</id>
<content type='text'>
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
</content>
</entry>
<entry>
<title>Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.</title>
<updated>2016-05-24T06:15:14Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-05-24T06:15:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b0f80b0312a99ca46323efc0e4d09b567553ed46'/>
<id>urn:sha1:b0f80b0312a99ca46323efc0e4d09b567553ed46</id>
<content type='text'>
Patch by Demur Rumed.
</content>
</entry>
<entry>
<title>Issue #22570: Renamed Py_SETREF to Py_XSETREF.</title>
<updated>2016-04-06T06:50:03Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-06T06:50:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ec39756960def5fdd8cb0ae191429f2f8e229f55'/>
<id>urn:sha1:ec39756960def5fdd8cb0ae191429f2f8e229f55</id>
<content type='text'>
</content>
</entry>
</feed>
