<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Parser, branch 2.4</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?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Parser?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-03-02T19:20:32Z</updated>
<entry>
<title>Backport of r60793:</title>
<updated>2008-03-02T19:20:32Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-03-02T19:20:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8ed4ff565d527dfb4449a9a8473c0f8424a071f'/>
<id>urn:sha1:c8ed4ff565d527dfb4449a9a8473c0f8424a071f</id>
<content type='text'>
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
</content>
</entry>
<entry>
<title>[Backport r46602 | neal.norwitz]</title>
<updated>2006-10-06T18:59:10Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-06T18:59:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e27a6cb0b64eab189b474bd91f23c05cab94cb2'/>
<id>urn:sha1:5e27a6cb0b64eab189b474bd91f23c05cab94cb2</id>
<content type='text'>
Patch #1357836:

Prevent an invalid memory read from test_coding in case the done flag is set.
In that case, the loop isn't entered.  I wonder if rather than setting
the done flag in the cases before the loop, if they should just exit early.

This code looks like it should be refactored.

Backport candidate (also the early break above if decoding_fgets fails)
</content>
</entry>
<entry>
<title>[Backport r51222 | neal.norwitz -- if you hack the code to set r=NULL,</title>
<updated>2006-10-05T19:32:52Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T19:32:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=20cc6be1aada880f0267eaca39ebb70d0e790692'/>
<id>urn:sha1:20cc6be1aada880f0267eaca39ebb70d0e790692</id>
<content type='text'>
 you find that Python does print "MemoryError".  There's no traceback
 and no indication of which line of code is responsible, but it's
 better than a segfault.]

Handle NULL nodes while parsing.  I'm not entirely sure this is correct.
There might be something else that needs to be done to setup the error.

Klocwork #295.
</content>
</entry>
<entry>
<title>[Backport r51256 | neal.norwitz]</title>
<updated>2006-10-03T18:34:29Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T18:34:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03704319904b2e357f03a8f7ab8a7b0ea20c48ab'/>
<id>urn:sha1:03704319904b2e357f03a8f7ab8a7b0ea20c48ab</id>
<content type='text'>
Handle malloc failure.

Klocwork 281
</content>
</entry>
<entry>
<title>[Backport rev39767 by nnorwitz]</title>
<updated>2006-09-29T17:42:30Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-09-29T17:42:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=100e7d77f27e232aa43e84c1c66080a08b651058'/>
<id>urn:sha1:100e7d77f27e232aa43e84c1c66080a08b651058</id>
<content type='text'>
Free coding spec (cs) if there was an error to prevent mem leak.
Maybe backport candidate.

[Bugfix seems applicable to 2.4 to me. --amk]
</content>
</entry>
<entry>
<title>update - still some old .cvsignore files lying around</title>
<updated>2006-03-23T02:26:07Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2006-03-23T02:26:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=022a55c0d9f733596b9c4d71076dd4a79b38ad94'/>
<id>urn:sha1:022a55c0d9f733596b9c4d71076dd4a79b38ad94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport r42894: SF #1444030 Fix several potential defects found</title>
<updated>2006-03-07T15:59:09Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2006-03-07T15:59:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=361cd4bd6c9c2d56ed154922e016c47d4bee9482'/>
<id>urn:sha1:361cd4bd6c9c2d56ed154922e016c47d4bee9482</id>
<content type='text'>
by Coverity.
</content>
</entry>
<entry>
<title>Backport 41753:</title>
<updated>2006-02-21T09:19:45Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-21T09:19:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5f5124e410b4fbd36a6620dfcedb0eaef346b3c4'/>
<id>urn:sha1:5f5124e410b4fbd36a6620dfcedb0eaef346b3c4</id>
<content type='text'>
  Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.
  Also bug #1435487 (dup).
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-07-12T21:58:38Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-07-12T21:58:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6f561447ab8a1f1faef9556cbd64c906e22b094'/>
<id>urn:sha1:a6f561447ab8a1f1faef9556cbd64c906e22b094</id>
<content type='text'>
Apply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.
</content>
</entry>
<entry>
<title>Backport my recent raw_input() vs no threads build vs SIGINT argh:</title>
<updated>2005-04-07T10:19:47Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-04-07T10:19:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52cba65d1a720a7062660b0d98b04fd3212a6aff'/>
<id>urn:sha1:52cba65d1a720a7062660b0d98b04fd3212a6aff</id>
<content type='text'>
In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,
because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS
actually expanded to nothing under a no-threads build, so if you somehow
NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would
stay NULLed when you return to Python.  Argh!
</content>
</entry>
</feed>
