<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/lib2to3, branch fix-traceback-syntax-error</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-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663)</title>
<updated>2020-04-24T18:19:46+00:00</updated>
<author>
<name>Carl Meyer</name>
<email>carl@oddbird.net</email>
</author>
<published>2020-04-24T18:19:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=503de7149d03bdcc671dcbbb5b64f761bb192b4d'/>
<id>503de7149d03bdcc671dcbbb5b64f761bb192b4d</id>
<content type='text'>
Deprecate lib2to3 module in light of PEP 617.

We anticipate removal in the 3.12 timeframe.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate lib2to3 module in light of PEP 617.

We anticipate removal in the 3.12 timeframe.</pre>
</div>
</content>
</entry>
<entry>
<title>lib2to3: Support named assignment expressions (GH-12702)</title>
<updated>2020-04-02T22:34:54+00:00</updated>
<author>
<name>Tim Hatch</name>
<email>tim@timhatch.com</email>
</author>
<published>2020-04-02T22:34:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3c3aa4516c70753de06bb142b6793d01330fcf0f'/>
<id>3c3aa4516c70753de06bb142b6793d01330fcf0f</id>
<content type='text'>
There are two copies of the grammar -- the one used by Python itself as
Grammar/Grammar, and the one used by lib2to3 which has necessarily diverged at
Lib/lib2to3/Grammar.txt because it needs to support older syntax an we want it
to be reasonable stable to avoid requiring fixer rewrites.

This brings suport for syntax like `if x:= foo():` to match what the live
Python grammar does.

This should've been added at the time of the walrus operator itself, but lib2to3 being
independent is often overlooked.  So we do consider this a bugfix rather than enhancement.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are two copies of the grammar -- the one used by Python itself as
Grammar/Grammar, and the one used by lib2to3 which has necessarily diverged at
Lib/lib2to3/Grammar.txt because it needs to support older syntax an we want it
to be reasonable stable to avoid requiring fixer rewrites.

This brings suport for syntax like `if x:= foo():` to match what the live
Python grammar does.

This should've been added at the time of the walrus operator itself, but lib2to3 being
independent is often overlooked.  So we do consider this a bugfix rather than enhancement.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38080: Added "getproxies" to urllib fixes in the 2to3 tool (GH-16167)</title>
<updated>2020-03-11T23:51:20+00:00</updated>
<author>
<name>José Roberto Meza Cabrera</name>
<email>robertpro01@gmail.com</email>
</author>
<published>2020-03-11T23:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=276a84a0a6c694ce227bf36ec2e2e6ec6686170f'/>
<id>276a84a0a6c694ce227bf36ec2e2e6ec6686170f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38641: Add lib2to3 support for starred expressions in return/yield statements (GH-16994)</title>
<updated>2020-03-01T19:59:26+00:00</updated>
<author>
<name>Vlad Emelianov</name>
<email>volshebnyi@gmail.com</email>
</author>
<published>2020-03-01T19:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=768d739c1cd8c1d41902229581811a9b86bcc76e'/>
<id>768d739c1cd8c1d41902229581811a9b86bcc76e</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967)</title>
<updated>2020-01-12T22:13:31+00:00</updated>
<author>
<name>Batuhan Taşkaya</name>
<email>47358913+isidentical@users.noreply.github.com</email>
</author>
<published>2020-01-12T22:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=61b14151cc92021a10f94765eaa152ed04eb262a'/>
<id>61b14151cc92021a10f94765eaa152ed04eb262a</id>
<content type='text'>
https://bugs.python.org/issue39313


Automerge-Triggered-By: @pablogsal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue39313


Automerge-Triggered-By: @pablogsal</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780)</title>
<updated>2020-01-07T17:30:54+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-01-07T17:30:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b821173b5458d137c8d5edb6e9b4997aac800a38'/>
<id>b821173b5458d137c8d5edb6e9b4997aac800a38</id>
<content type='text'>
Correctly parenthesize filter-based statements that contain lambda
expressions in lib2to3.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correctly parenthesize filter-based statements that contain lambda
expressions in lib2to3.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246)</title>
<updated>2019-11-19T21:34:03+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-11-19T21:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=293dd23477eef6e7c1b1e26b5bb2c1e0d79ac3c2'/>
<id>293dd23477eef6e7c1b1e26b5bb2c1e0d79ac3c2</id>
<content type='text'>
Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles.

See for example GH-13135</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles.

See for example GH-13135</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33348: parse expressions after * and ** in lib2to3 (GH-6586)</title>
<updated>2019-10-24T06:19:07+00:00</updated>
<author>
<name>Zsolt Dollenstein</name>
<email>zsol.zsol@gmail.com</email>
</author>
<published>2019-10-24T06:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=96b06aefe23521b61e4e9cdd44f5d30b00c7eb95'/>
<id>96b06aefe23521b61e4e9cdd44f5d30b00c7eb95</id>
<content type='text'>
These are valid even in python 2.7


https://bugs.python.org/issue33348



Automerge-Triggered-By: @gpshead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are valid even in python 2.7


https://bugs.python.org/issue33348



Automerge-Triggered-By: @gpshead</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in comments, docs and test names (#15018)</title>
<updated>2019-07-30T22:16:13+00:00</updated>
<author>
<name>Min ho Kim</name>
<email>minho42@gmail.com</email>
</author>
<published>2019-07-30T22:16:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c4cacc8c5eab50db8da3140353596f38a01115ca'/>
<id>c4cacc8c5eab50db8da3140353596f38a01115ca</id>
<content type='text'>
* Fix typos in comments, docs and test names

* Update test_pyparse.py

account for change in string length

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: Dealloccte -&gt; Deallocate

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Update posixmodule checksum.

* Reverse idlelib changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix typos in comments, docs and test names

* Update test_pyparse.py

account for change in string length

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: Dealloccte -&gt; Deallocate

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Update posixmodule checksum.

* Reverse idlelib changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-37675: Use pkgutil.iter_modules to find fixers in a package rather than listdir. (14942)</title>
<updated>2019-07-24T23:38:50+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-07-24T23:38:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=93e8aa62cfd0a61efed4a61a2ffc2283ae986ef2'/>
<id>93e8aa62cfd0a61efed4a61a2ffc2283ae986ef2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
