<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Parser/tokenizer.h, branch v3.6.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser/tokenizer.h?h=v3.6.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser/tokenizer.h?h=v3.6.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2015-07-23T12:01:58Z</updated>
<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>PEP 0492 -- Coroutines with async and await syntax. Issue #24017.</title>
<updated>2015-05-12T02:57:16Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2015-05-12T02:57:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7544508f0245173bff5866aa1598c8f6cce1fc5f'/>
<id>urn:sha1:7544508f0245173bff5866aa1598c8f6cce1fc5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #1772673: The type of `char*` arguments now changed to `const char*`.</title>
<updated>2013-10-19T18:03:34Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-10-19T18:03:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c679227e31245b0e8dec74a1f7cc77710541d985'/>
<id>urn:sha1:c679227e31245b0e8dec74a1f7cc77710541d985</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error.</title>
<updated>2011-04-04T23:48:03Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-04-04T23:48:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe7c5b5bdf7c21551b56be563fc604f2d4d3c756'/>
<id>urn:sha1:fe7c5b5bdf7c21551b56be563fc604f2d4d3c756</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #10785: Store the filename as Unicode in the Python parser.</title>
<updated>2011-04-04T22:39:01Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-04-04T22:39:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7f2fee36401f7b987a368fe043637b3ae7116600'/>
<id>urn:sha1:7f2fee36401f7b987a368fe043637b3ae7116600</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#10222: fix for overzealous AIX compiler.</title>
<updated>2010-10-29T04:54:13Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-10-29T04:54:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b15bd810deb7172ffa62643a78a6611d4ba928b'/>
<id>urn:sha1:2b15bd810deb7172ffa62643a78a6611d4ba928b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects</title>
<updated>2010-10-16T13:14:10Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-16T13:14:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c7c8c30235e42c47500b91549c2b6154b61f883'/>
<id>urn:sha1:4c7c8c30235e42c47500b91549c2b6154b61f883</id>
<content type='text'>
filenames encoded to the filesystem encoding with surrogateescape error handler
(to support undecodable bytes), instead of UTF-8 in strict mode.
</content>
</entry>
<entry>
<title>Issue #10095: fp_setreadl() doesn't reopen the file, reuse instead the file</title>
<updated>2010-10-14T12:04:34Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-14T12:04:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=22a351aabfaf8a9136ad148ceecddb55a9874f1f'/>
<id>urn:sha1:22a351aabfaf8a9136ad148ceecddb55a9874f1f</id>
<content type='text'>
descriptor.
</content>
</entry>
<entry>
<title>Recorded merge of revisions 81029 via svnmerge from</title>
<updated>2010-05-09T15:52:27Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T15:52:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f95a1b3c53bdd678b64aa608d4375660033460c3'/>
<id>urn:sha1:f95a1b3c53bdd678b64aa608d4375660033460c3</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
</content>
</entry>
</feed>
