<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/dis.py, branch 3.8</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/dis.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/dis.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-08-08T03:21:33Z</updated>
<entry>
<title>bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757)</title>
<updated>2020-08-08T03:21:33Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-08-08T03:21:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=66c899661902edc18df96a5c3f22639310700491'/>
<id>urn:sha1:66c899661902edc18df96a5c3f22639310700491</id>
<content type='text'>
(cherry picked from commit a4084b9d1e40c1c9259372263d1fe8c8a562b093)

Co-authored-by: Konge &lt;zkonge@outlook.com&gt;</content>
</entry>
<entry>
<title>bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) (GH-16464)</title>
<updated>2019-09-28T15:22:00Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2019-09-28T15:22:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36c6fa968016a46a39c3cdbd0a17ea5490dfa343'/>
<id>urn:sha1:36c6fa968016a46a39c3cdbd0a17ea5490dfa343</id>
<content type='text'>
Document that lnotab can contain invalid bytecode offsets (because of
terrible reasons that are difficult to fix). Make dis.findlinestarts()
ignore invalid offsets in lnotab. All other uses of lnotab in CPython
(various reimplementations of addr2line or line2addr in Python, C and gdb)
already ignore this, because they take an address to look for, instead.

Add tests for the result of dis.findlinestarts() on wacky constructs in
test_peepholer.py, because it's the easiest place to add them.

(cherry picked from commit c8165036f374cd2ee64d4314eeb2514f7acb5026)</content>
</entry>
<entry>
<title>bpo-36540: PEP 570 -- Implementation (GH-12701)</title>
<updated>2019-04-29T12:36:57Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-04-29T12:36:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c77b8cb9188165a123f2512026e3629bf03dc9b'/>
<id>urn:sha1:8c77b8cb9188165a123f2512026e3629bf03dc9b</id>
<content type='text'>
This commit contains the implementation of PEP570: Python positional-only parameters.

* Update Grammar/Grammar with new typedarglist and varargslist

* Regenerate grammar files

* Update and regenerate AST related files

* Update code object

* Update marshal.c

* Update compiler and symtable

* Regenerate importlib files

* Update callable objects

* Implement positional-only args logic in ceval.c

* Regenerate frozen data

* Update standard library to account for positional-only args

* Add test file for positional-only args

* Update other test files to account for positional-only args

* Add News entry

* Update inspect module and related tests</content>
</entry>
<entry>
<title>bpo-32970: Improve disassembly of the MAKE_FUNCTION instruction. (GH-5937)</title>
<updated>2018-03-11T09:07:06Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-03-11T09:07:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2732d3e66eba9ec13f9d55c499f2437ead552db'/>
<id>urn:sha1:e2732d3e66eba9ec13f9d55c499f2437ead552db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31183: `dis` now handles coroutines &amp; async generators (GH-3077)</title>
<updated>2017-08-18T02:29:21Z</updated>
<author>
<name>syncosmic</name>
<email>gc@syncosmic.io</email>
</author>
<published>2017-08-18T02:29:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe2b56ab9212c1cf19c48b848fa60f7f201c366f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>bpo-11822: Improve disassembly to show embedded code objects. (#1844)</title>
<updated>2017-06-11T11:09:39Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-11T11:09:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1efbf92e90ed2edf3f5bb5323340b26f318ff61e'/>
<id>urn:sha1:1efbf92e90ed2edf3f5bb5323340b26f318ff61e</id>
<content type='text'>
The depth argument limits recursion.</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:31Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-19T17:36:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d90045f319e2ea9772b9fbd62a05fdf34af96b6c'/>
<id>urn:sha1:d90045f319e2ea9772b9fbd62a05fdf34af96b6c</id>
<content type='text'>
instruction offsets.

Add tests for widths of opcode names.</content>
</entry>
<entry>
<title>bpo-29762: More use "raise from None". (#569)</title>
<updated>2017-04-05T06:37:24Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-05T06:37:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5affd23e6f42125998724787025080a24839266e'/>
<id>urn:sha1:5affd23e6f42125998724787025080a24839266e</id>
<content type='text'>
This hides unwanted implementation details from tracebacks.</content>
</entry>
<entry>
<title>Issue #28317: The disassembler now decodes FORMAT_VALUE argument.</title>
<updated>2016-10-08T09:34:25Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-08T09:34:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd102f7af8bc319205e7efd726af48d50a5ac103'/>
<id>urn:sha1:dd102f7af8bc319205e7efd726af48d50a5ac103</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes.</title>
<updated>2016-09-11T21:52:40Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-09-11T21:52:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b72810583e68531bb4231f42f1ce3ff4c0c9958b'/>
<id>urn:sha1:b72810583e68531bb4231f42f1ce3ff4c0c9958b</id>
<content type='text'>
* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with
  single tuple or dict.
* Restored more informative error messages for incorrect var-positional and
  var-keyword arguments.
* Removed code duplications in _PyEval_EvalCodeWithName().
* Removed redundant runtime checks and parameters in _PyStack_AsDict().
* Added a workaround and enabled previously disabled test in test_traceback.
* Removed dead code from the dis module.
</content>
</entry>
</feed>
