<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_dis.py, branch benjamin-interp-initialize</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>bpo-33041: Rework compiling an "async for" loop. (#6142)</title>
<updated>2018-03-23T12:34:35+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-03-23T12:34:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=702f8f3611bc49b73772cce2b9b041bd11ff9b35'/>
<id>702f8f3611bc49b73772cce2b9b041bd11ff9b35</id>
<content type='text'>
* Added new opcode END_ASYNC_FOR.
* Setting global StopAsyncIteration no longer breaks "async for" loops.
* Jumping into an "async for" loop is now disabled.
* Jumping out of an "async for" loop no longer corrupts the stack.
* Simplify the compiler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added new opcode END_ASYNC_FOR.
* Setting global StopAsyncIteration no longer breaks "async for" loops.
* Jumping into an "async for" loop is now disabled.
* Jumping out of an "async for" loop no longer corrupts the stack.
* Simplify the compiler.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32970: Improve disassembly of the MAKE_FUNCTION instruction. (GH-5937)</title>
<updated>2018-03-11T09:07:06+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-03-11T09:07:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e2732d3e66eba9ec13f9d55c499f2437ead552db'/>
<id>e2732d3e66eba9ec13f9d55c499f2437ead552db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006)</title>
<updated>2018-02-22T21:33:30+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-02-22T21:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=520b7ae27e39d1c77ea74ccd1b184d7cb43f9dcb'/>
<id>520b7ae27e39d1c77ea74ccd1b184d7cb43f9dcb</id>
<content type='text'>


Co-authored-by: Mark Shannon &lt;mark@hotpy.org&gt;
Co-authored-by: Antoine Pitrou &lt;antoine@python.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>


Co-authored-by: Mark Shannon &lt;mark@hotpy.org&gt;
Co-authored-by: Antoine Pitrou &lt;antoine@python.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181)</title>
<updated>2018-01-30T00:41:04+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2018-01-30T00:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=332cd5ee4ff42c9904c56e68a1028f383f7fc9a8'/>
<id>332cd5ee4ff42c9904c56e68a1028f383f7fc9a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-24340: Fix estimation of the code stack size. (#5076)</title>
<updated>2018-01-09T19:54:52+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-09T19:54:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d4864c61e3e27e337762dc45e504977299bd5b46'/>
<id>d4864c61e3e27e337762dc45e504977299bd5b46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31183: `dis` now handles coroutines &amp; async generators (GH-3077)</title>
<updated>2017-08-18T02:29:21+00:00</updated>
<author>
<name>syncosmic</name>
<email>gc@syncosmic.io</email>
</author>
<published>2017-08-18T02:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fe2b56ab9212c1cf19c48b848fa60f7f201c366f'/>
<id>fe2b56ab9212c1cf19c48b848fa60f7f201c366f</id>
<content type='text'>
Coroutines and async generators use a distinct attribute name for their
code objects, so this updates the `dis` module to correctly disassemble
objects with those attributes.

Due to the increase in the test module length, it also fixes some latent
defects in the tests related to how the displayed source line numbers
are extracted.

https://bugs.python.org/issue31230 is a follow-up issue suggesting we
may want to solve this a different way, by instead giving all these object
types a common `__code__` attribute, avoiding the need for special
casing in the `dis` module.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Coroutines and async generators use a distinct attribute name for their
code objects, so this updates the `dis` module to correctly disassemble
objects with those attributes.

Due to the increase in the test module length, it also fixes some latent
defects in the tests related to how the displayed source line numbers
are extracted.

https://bugs.python.org/issue31230 is a follow-up issue suggesting we
may want to solve this a different way, by instead giving all these object
types a common `__code__` attribute, avoiding the need for special
casing in the `dis` module.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-11822: Improve disassembly to show embedded code objects. (#1844)</title>
<updated>2017-06-11T11:09:39+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-11T11:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1efbf92e90ed2edf3f5bb5323340b26f318ff61e'/>
<id>1efbf92e90ed2edf3f5bb5323340b26f318ff61e</id>
<content type='text'>
The depth argument limits recursion.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The depth argument limits recursion.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-22352: Adjust widths in the output of dis.dis() for large line numbers and (#1153)</title>
<updated>2017-04-19T17:36:31+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-19T17:36:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d90045f319e2ea9772b9fbd62a05fdf34af96b6c'/>
<id>d90045f319e2ea9772b9fbd62a05fdf34af96b6c</id>
<content type='text'>
instruction offsets.

Add tests for widths of opcode names.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instruction offsets.

Add tests for widths of opcode names.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports.</title>
<updated>2016-12-16T18:00:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T18:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=70d28a184c42d107cc8c69a95aa52a4469e7929c'/>
<id>70d28a184c42d107cc8c69a95aa52a4469e7929c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28317: The disassembler now decodes FORMAT_VALUE argument.</title>
<updated>2016-10-08T09:34:25+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-08T09:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dd102f7af8bc319205e7efd726af48d50a5ac103'/>
<id>dd102f7af8bc319205e7efd726af48d50a5ac103</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
