<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/tokenize.py, branch v3.3.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tokenize.py?h=v3.3.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tokenize.py?h=v3.3.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2014-01-09T16:36:09Z</updated>
<entry>
<title>Issue #18960: Fix bugs with Python source code encoding in the second line.</title>
<updated>2014-01-09T16:36:09Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2014-01-09T16:36:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=768c16ce0273a74fa846cc388753280b17b02cfc'/>
<id>urn:sha1:768c16ce0273a74fa846cc388753280b17b02cfc</id>
<content type='text'>
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.

* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.

* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.

* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.

* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
</content>
</entry>
<entry>
<title>#19620: Fix typo in docstring (noticed by Christopher Welborn).</title>
<updated>2013-11-25T03:14:51Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2013-11-25T03:14:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090'/>
<id>urn:sha1:4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script</title>
<updated>2013-09-16T20:51:56Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-09-16T20:51:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dafea851901fc1de278ad79727d3b44f46ba5a31'/>
<id>urn:sha1:dafea851901fc1de278ad79727d3b44f46ba5a31</id>
<content type='text'>
now detect Python source code encoding only in comment lines.
</content>
</entry>
<entry>
<title>#16152: merge with 3.2.</title>
<updated>2012-11-03T15:46:51Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2012-11-03T15:46:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fafa8b7797034aa799157172392a5b7721e1854a'/>
<id>urn:sha1:fafa8b7797034aa799157172392a5b7721e1854a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#16152: fix tokenize to ignore whitespace at the end of the code when no newline is found.  Patch by Ned Batchelder.</title>
<updated>2012-11-03T15:38:43Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2012-11-03T15:38:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2cc3b4ba9ffa658784da03f14a0a068e2c61d1b3'/>
<id>urn:sha1:2cc3b4ba9ffa658784da03f14a0a068e2c61d1b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch</title>
<updated>2012-07-07T10:26:56Z</updated>
<author>
<name>Florent Xicluna</name>
<email>florent.xicluna@gmail.com</email>
</author>
<published>2012-07-07T10:26:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fed2c51eea3383ab43e6f64da6e575dd62aa578e'/>
<id>urn:sha1:fed2c51eea3383ab43e6f64da6e575dd62aa578e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.</title>
<updated>2012-07-07T10:13:35Z</updated>
<author>
<name>Florent Xicluna</name>
<email>florent.xicluna@gmail.com</email>
</author>
<published>2012-07-07T10:13:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11f0b41e9de3805441ddd4142df9f6b7f4432ca7'/>
<id>urn:sha1:11f0b41e9de3805441ddd4142df9f6b7f4432ca7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #15096: Drop support for the ur string prefix</title>
<updated>2012-06-20T09:17:58Z</updated>
<author>
<name>Christian Heimes</name>
<email>c.heimes@cheimes.de</email>
</author>
<published>2012-06-20T09:17:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0b3847de6dbe451d38d8de940717a5a1f186c2e9'/>
<id>urn:sha1:0b3847de6dbe451d38d8de940717a5a1f186c2e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #15054: Fix incorrect tokenization of 'b' string literals.</title>
<updated>2012-06-17T02:49:08Z</updated>
<author>
<name>Meador Inge</name>
<email>meadori@gmail.com</email>
</author>
<published>2012-06-17T02:49:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d5c0b8c198374d0b88f30f04dd29d1f19c1c913'/>
<id>urn:sha1:8d5c0b8c198374d0b88f30f04dd29d1f19c1c913</id>
<content type='text'>
Patch by Serhiy Storchaka.
</content>
</entry>
<entry>
<title>Issue #14629: Mention the filename in SyntaxError exceptions from</title>
<updated>2012-04-20T17:23:54Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-04-20T17:23:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c33f3f2339fd3217a0c6fe3df916616abab2fab4'/>
<id>urn:sha1:c33f3f2339fd3217a0c6fe3df916616abab2fab4</id>
<content type='text'>
tokenizer.detect_encoding() (when available).
</content>
</entry>
</feed>
