<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/importlib_zipimport.h, branch v3.8.9</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>[3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642)</title>
<updated>2020-01-14T11:39:19+00:00</updated>
<author>
<name>Karthikeyan Singaravelan</name>
<email>tir.karthi@gmail.com</email>
</author>
<published>2020-01-14T11:39:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9955f33cdbf27de270038dfbad37d15b160ecca2'/>
<id>9955f33cdbf27de270038dfbad37d15b160ecca2</id>
<content type='text'>
Fix `NameError` in `zipimport` during hash validation and add a regression test.

(cherry picked from commit 79f02fee1a542c440fd906fd54154c73fc0f8235)



https://bugs.python.org/issue39033</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix `NameError` in `zipimport` during hash validation and add a regression test.

(cherry picked from commit 79f02fee1a542c440fd906fd54154c73fc0f8235)



https://bugs.python.org/issue39033</pre>
</div>
</content>
</entry>
<entry>
<title>[3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456)</title>
<updated>2019-08-24T10:41:53+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-08-24T10:41:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ed146b52a3b6537689324e3bd9952055f9c6b43d'/>
<id>ed146b52a3b6537689324e3bd9952055f9c6b43d</id>
<content type='text'>
Fix compilation of "break" and "continue" in the
"finally" block when the corresponding "try" block
contains "return" with a non-constant value.
(cherry picked from commit ef61c524ddeeb56da3858b86e349e7288d68178e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix compilation of "break" and "continue" in the
"finally" block when the corresponding "try" block
contains "return" with a non-constant value.
(cherry picked from commit ef61c524ddeeb56da3858b86e349e7288d68178e)
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969)</title>
<updated>2019-06-13T18:35:40+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-13T18:35:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5282b3b1d2e0bdf13899b1616aea20a6e3c4e13e'/>
<id>5282b3b1d2e0bdf13899b1616aea20a6e3c4e13e</id>
<content type='text'>
The peephole optimizer was not optimizing correctly bytecode after negative deltas were introduced. This is due to the fact that some special values (255) were being searched for in both instruction pointer delta and line number deltas.
(cherry picked from commit 3498c642f4e83f3d8e2214654c0fa8e0d51cebe5)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The peephole optimizer was not optimizing correctly bytecode after negative deltas were introduced. This is due to the fact that some special values (255) were being searched for in both instruction pointer delta and line number deltas.
(cherry picked from commit 3498c642f4e83f3d8e2214654c0fa8e0d51cebe5)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36842: Implement PEP 578 (GH-12613)</title>
<updated>2019-05-23T15:45:22+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2019-05-23T15:45:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184'/>
<id>b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184</id>
<content type='text'>
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36540: PEP 570 -- Implementation (GH-12701)</title>
<updated>2019-04-29T12:36:57+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-04-29T12:36:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8c77b8cb9188165a123f2512026e3629bf03dc9b'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021)</title>
<updated>2019-01-13T04:05:13+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2019-01-13T04:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=995d9b92979768125ced4da3a56f755bcdf80f6e'/>
<id>995d9b92979768125ced4da3a56f755bcdf80f6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633)</title>
<updated>2018-11-27T07:40:29+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-27T07:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b619b097923155a7034c05c4018bf06af9f994d0'/>
<id>b619b097923155a7034c05c4018bf06af9f994d0</id>
<content type='text'>
The lineno and col_offset attributes of AST nodes for list comprehensions,
generator expressions and tuples are now point to the opening parenthesis or
square brace. For tuples without parenthesis they point to the position
of the first item.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The lineno and col_offset attributes of AST nodes for list comprehensions,
generator expressions and tuples are now point to the opening parenthesis or
square brace. For tuples without parenthesis they point to the position
of the first item.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34100: Merge constants recursively (GH-8341)</title>
<updated>2018-11-26T12:23:22+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-11-26T12:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c2e1607a51d7a17f143b5a34e8cff7c6fc58a091'/>
<id>c2e1607a51d7a17f143b5a34e8cff7c6fc58a091</id>
<content type='text'>
There are some same consts in a module.  This commit merges them into
single instance.  It reduces number of objects in memory after loading modules.


https://bugs.python.org/issue34100</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are some same consts in a module.  This commit merges them into
single instance.  It reduces number of objects in memory after loading modules.


https://bugs.python.org/issue34100</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34726: Fix handling of hash-based pycs in zipimport. (GH-10327)</title>
<updated>2018-11-07T18:34:59+00:00</updated>
<author>
<name>Elvis Pranskevichus</name>
<email>elvis@magic.io</email>
</author>
<published>2018-11-07T18:34:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a6e956bcb0edbfe7f18af9be2215a5326ea6bf05'/>
<id>a6e956bcb0edbfe7f18af9be2215a5326ea6bf05</id>
<content type='text'>
Current support for hash-based bytecode files in `zipimport` is rather
sparse, which leads to test failures when the test suite is ran with
the ``SOURCE_DATE_EPOCH`` environment variable set.

This teaches zipimport to handle hash-based pycs properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current support for hash-based bytecode files in `zipimport` is rather
sparse, which leads to test failures when the test suite is ran with
the ``SOURCE_DATE_EPOCH`` environment variable set.

This teaches zipimport to handle hash-based pycs properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-5950: Support reading zips with comments in zipimport (#9548)</title>
<updated>2018-09-25T19:15:47+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-09-25T19:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5a5ce064b3baadcb79605c5a42ee3d0aee57cdfc'/>
<id>5a5ce064b3baadcb79605c5a42ee3d0aee57cdfc</id>
<content type='text'>
* bpo-5950: Support reading zips with comments in zipimport</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-5950: Support reading zips with comments in zipimport</pre>
</div>
</content>
</entry>
</feed>
