<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/tokenize.py, branch v3.6.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tokenize.py?h=v3.6.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tokenize.py?h=v3.6.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2016-09-09T21:57:09Z</updated>
<entry>
<title>Issue #26331: Implement the parsing part of PEP 515.</title>
<updated>2016-09-09T21:57:09Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-09-09T21:57:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a721abac299bb6529021000a71847486d531b41a'/>
<id>urn:sha1:a721abac299bb6529021000a71847486d531b41a</id>
<content type='text'>
Thanks to Georg Brandl for the patch.
</content>
</entry>
<entry>
<title>Issue #26581: Use the first coding cookie on a line, not the last one.</title>
<updated>2016-03-20T21:47:48Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-03-20T21:47:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a051bf3afbb30b7ddb7bd4c7ba03acc63288d6f2'/>
<id>urn:sha1:a051bf3afbb30b7ddb7bd4c7ba03acc63288d6f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #26581: Use the first coding cookie on a line, not the last one.</title>
<updated>2016-03-20T21:36:29Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-03-20T21:36:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e431d3c9aadb52dd1eea4d1e606e94f1c8471459'/>
<id>urn:sha1:e431d3c9aadb52dd1eea4d1e606e94f1c8471459</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25977: Fix typos in Lib/tokenize.py</title>
<updated>2015-12-29T23:42:43Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2015-12-29T23:42:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7161e7facdfa1d6f673beb16a95a647ce764b32'/>
<id>urn:sha1:a7161e7facdfa1d6f673beb16a95a647ce764b32</id>
<content type='text'>
Patch by John Walker.
</content>
</entry>
<entry>
<title>Issue #25977: Fix typos in Lib/tokenize.py</title>
<updated>2015-12-29T23:41:58Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2015-12-29T23:41:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff8d0873aabe54009af533f9f6a76fa91392a80a'/>
<id>urn:sha1:ff8d0873aabe54009af533f9f6a76fa91392a80a</id>
<content type='text'>
Patch by John Walker.
</content>
</entry>
<entry>
<title>Issue 25311: Add support for f-strings to tokenize.py. Also added some comments to explain what's happening, since it's not so obvious.</title>
<updated>2015-10-26T08:37:55Z</updated>
<author>
<name>Eric V. Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2015-10-26T08:37:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c8222c80a8a534bd9357aafc3fba7b6927efc15'/>
<id>urn:sha1:1c8222c80a8a534bd9357aafc3fba7b6927efc15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #24619: Simplify async/await tokenization.</title>
<updated>2015-07-23T12:01:58Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2015-07-23T12:01:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96ec934e755355cfc5af036db8641646b7ddb45e'/>
<id>urn:sha1:96ec934e755355cfc5af036db8641646b7ddb45e</id>
<content type='text'>
This commit simplifies async/await tokenization in tokenizer.c,
tokenize.py &amp; lib2to3/tokenize.py.  Previous solution was to keep
a stack of async-def &amp; def blocks, whereas the new approach is just
to remember position of the outermost async-def block.

This change won't bring any parsing performance improvements, but
it makes the code much easier to read and validate.
</content>
</entry>
<entry>
<title>Issue #24619: New approach for tokenizing async/await.</title>
<updated>2015-07-22T10:33:45Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2015-07-22T10:33:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8fb307cd650511ba019c4493275cb6684ad308bc'/>
<id>urn:sha1:8fb307cd650511ba019c4493275cb6684ad308bc</id>
<content type='text'>
This commit fixes how one-line async-defs and defs are tracked
by tokenizer.  It allows to correctly parse invalid code such
as:

&gt;&gt;&gt; async def f():
...     def g(): pass
...     async = 10

and valid code such as:

&gt;&gt;&gt; async def f():
...     async def g(): pass
...     await z

As a consequence, is is now possible to have one-line
'async def foo(): await ..' functions:

&gt;&gt;&gt; async def foo(): return await bar()
</content>
</entry>
<entry>
<title>Issue #20387: Merge test and patch from 3.4.4</title>
<updated>2015-06-28T15:13:30Z</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2015-06-28T15:13:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a95a476b3ae93d890209e592d675ae64c82e05dc'/>
<id>urn:sha1:a95a476b3ae93d890209e592d675ae64c82e05dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #20387: Restore retention of indentation during untokenize.</title>
<updated>2015-06-22T02:01:12Z</updated>
<author>
<name>Dingyuan Wang</name>
<email>abcdoyle888@gmail.com</email>
</author>
<published>2015-06-22T02:01:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e411b6629fb5f7bc01bec89df75737875ce6d8f5'/>
<id>urn:sha1:e411b6629fb5f7bc01bec89df75737875ce6d8f5</id>
<content type='text'>
</content>
</entry>
</feed>
