<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Parser/tokenizer.c, branch v3.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser/tokenizer.c?h=v3.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser/tokenizer.c?h=v3.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-04-01T05:08:41Z</updated>
<entry>
<title>The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!</title>
<updated>2009-04-01T05:08:41Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2009-04-01T05:08:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d'/>
<id>urn:sha1:e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626</title>
<updated>2009-03-02T23:31:26Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-03-02T23:31:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5b52246ed8a1191c3aa1da7d3c63bbe11aee020'/>
<id>urn:sha1:f5b52246ed8a1191c3aa1da7d3c63bbe11aee020</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix an issue in the tokenizer, where a file is opened by fd, but the underlying PyFileIO object wasn created with the closefd attribute true.</title>
<updated>2008-12-18T17:15:54Z</updated>
<author>
<name>Kristján Valur Jónsson</name>
<email>kristjan@ccpgames.com</email>
</author>
<published>2008-12-18T17:15:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19288c247ad585f7a5487d2e5d3f9d50887a19ba'/>
<id>urn:sha1:19288c247ad585f7a5487d2e5d3f9d50887a19ba</id>
<content type='text'>
Also fix error handling for close() int _fileio.c .  It was incorrect, looking for a negative refcount, and so errors weren't raised.  This is why this issue wasn't caught.
There is a second reason why it isn't seen:  Class IOBase in io.py has a try:/except: around the close() funtion in the __del__() method.  This also masks these error conditions.

This issue was discovered by removing the _set_invalid_parameter_handler() fiddling, thus enabling the C runtime checks on windows.
</content>
</entry>
<entry>
<title>Latin-1 source code was not being properly decoded when passed through</title>
<updated>2008-10-17T03:38:50Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-10-17T03:38:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da780432378e6298463889557ab43e0c156758cd'/>
<id>urn:sha1:da780432378e6298463889557ab43e0c156758cd</id>
<content type='text'>
compile(). This was due to left-over special-casing before UTF-8 became the
default source encoding.

Closes issue #3574. Thanks to Victor Stinner for help with the patch.
</content>
</entry>
<entry>
<title>Issues #2384 and #3975: Tracebacks were not correctly printed when the source file</title>
<updated>2008-10-09T23:37:48Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-10-09T23:37:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cf8016a8d6b3fed550ed961ffd957ab3d19f04da'/>
<id>urn:sha1:cf8016a8d6b3fed550ed961ffd957ab3d19f04da</id>
<content type='text'>
contains a ``coding:`` header: the wrong line was displayed, and the encoding was not respected.

Patch by Victor Stinner.
</content>
</entry>
<entry>
<title>Follow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoMemory when PyMem_MALLOC() fails.</title>
<updated>2008-09-04T22:53:19Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-09-04T22:53:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9252287f2c9bc09fdc6bc729e13ac63935e4976e'/>
<id>urn:sha1:9252287f2c9bc09fdc6bc729e13ac63935e4976e</id>
<content type='text'>
It is not stritly necessary, the function may already return NULL without an exception set,
for example when the file cannot be opened.

Discussed with Benjamin Peterson.
</content>
</entry>
<entry>
<title>#3773: Check for errors around the use of PyTokenizer_FindEncoding().</title>
<updated>2008-09-04T22:34:09Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-09-04T22:34:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1b933ed50aef2c31e003a001cef8647244ebfa0e'/>
<id>urn:sha1:1b933ed50aef2c31e003a001cef8647244ebfa0e</id>
<content type='text'>
reviewed by Brett Cannon.
</content>
</entry>
<entry>
<title>PyTokenizer_FindEncoding() always failed because it set the tokenizer state</title>
<updated>2008-09-04T05:04:25Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-09-04T05:04:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a9583ec5c00384514fe9f5045866ad6ebd2be5a'/>
<id>urn:sha1:8a9583ec5c00384514fe9f5045866ad6ebd2be5a</id>
<content type='text'>
with only a file pointer when it called fp_setreadl() which expected a file
path. Changed fp_setreadl() to use either a file path or file descriptor
(derived from the file pointer) to fix the issue.

Closes issue 3594.
Reviewed by Antoine Pitrou and Benjamin Peterson.
</content>
</entry>
<entry>
<title>Rename PyUnicode_AsString -&gt; _PyUnicode_AsString and</title>
<updated>2008-08-07T18:54:33Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2008-08-07T18:54:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4cc0f24857c345ba99691b2ae6829c6ce3c0edcd'/>
<id>urn:sha1:4cc0f24857c345ba99691b2ae6829c6ce3c0edcd</id>
<content type='text'>
PyUnicode_AsStringAndSize -&gt; _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.

We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
</content>
</entry>
<entry>
<title>Renamed files bytesobject.[ch] and stringobject.[ch]</title>
<updated>2008-05-26T13:42:13Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-05-26T13:42:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2c9c7a5f33d502fa468e38537d57834c7e33aa4d'/>
<id>urn:sha1:2c9c7a5f33d502fa468e38537d57834c7e33aa4d</id>
<content type='text'>
Fixed Windows build
</content>
</entry>
</feed>
