<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser/tokenizer.c, branch v2.4.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[Backport r46602 | neal.norwitz]</title>
<updated>2006-10-06T18:59:10+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-06T18:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5e27a6cb0b64eab189b474bd91f23c05cab94cb2'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport rev39767 by nnorwitz]</title>
<updated>2006-09-29T17:42:30+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-09-29T17:42:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=100e7d77f27e232aa43e84c1c66080a08b651058'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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]
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport 41753:</title>
<updated>2006-02-21T09:19:45+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-21T09:19:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5f5124e410b4fbd36a6620dfcedb0eaef346b3c4'/>
<id>5f5124e410b4fbd36a6620dfcedb0eaef346b3c4</id>
<content type='text'>
  Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.
  Also bug #1435487 (dup).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.
  Also bug #1435487 (dup).
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-07-12T21:58:38+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-07-12T21:58:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a6f561447ab8a1f1faef9556cbd64c906e22b094'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>SF #941229: Decode source code with sys.stdin.encoding in interactive</title>
<updated>2004-08-04T17:36:41+00:00</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2004-08-04T17:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7df44b384a4391cfed0a4d26b7e314a06ae4d595'/>
<id>7df44b384a4391cfed0a4d26b7e314a06ae4d595</id>
<content type='text'>
modes like non-interactive modes.  This allows for non-latin-1 users
to write unicode strings directly and sets Japanese users free from
weird manual escaping &lt;wink&gt; in shift_jis environments.
(Reviewed by Martin v. Loewis)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
modes like non-interactive modes.  This allows for non-latin-1 users
to write unicode strings directly and sets Japanese users free from
weird manual escaping &lt;wink&gt; in shift_jis environments.
(Reviewed by Martin v. Loewis)
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP-0318, @decorator-style. In Guido's words:</title>
<updated>2004-08-02T06:10:11+00:00</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2004-08-02T06:10:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c2a5a636545a88f349dbe3e452ffb4494b68e534'/>
<id>c2a5a636545a88f349dbe3e452ffb4494b68e534</id>
<content type='text'>
"@ seems the syntax that everybody can hate equally"
Implementation by Mark Russell, from SF #979728.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"@ seems the syntax that everybody can hate equally"
Implementation by Mark Russell, from SF #979728.
</pre>
</div>
</content>
</entry>
<entry>
<title>Getting rid of all the code inside #ifdef macintosh too.</title>
<updated>2003-11-20T01:44:59+00:00</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2003-11-20T01:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=eddc1449bae39414aaf7a4f63ccd3b69c4fb069e'/>
<id>eddc1449bae39414aaf7a4f63ccd3b69c4fb069e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add URL for PEP to the source code encoding warning.</title>
<updated>2003-02-17T18:31:57+00:00</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2003-02-17T18:31:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1fb1400d0819b2bebf17bf5810fa3f05af7235b4'/>
<id>1fb1400d0819b2bebf17bf5810fa3f05af7235b4</id>
<content type='text'>
Remove the usage of PyErr_WarnExplicit() since this could cause
sensitive information from the source files to appear in e.g.
log files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the usage of PyErr_WarnExplicit() since this could cause
sensitive information from the source files to appear in e.g.
log files.
</pre>
</div>
</content>
</entry>
<entry>
<title>patch 680474 that fixes bug 679880: compile/eval/exec refused utf-8 bom</title>
<updated>2003-02-09T20:38:48+00:00</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2003-02-09T20:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f032f86e9e828dfe1147852783aa6784e3ddf610'/>
<id>f032f86e9e828dfe1147852783aa6784e3ddf610</id>
<content type='text'>
mark. Added unit test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mark. Added unit test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix [ 665014 ] files with long lines and an encoding crash.</title>
<updated>2003-01-14T23:15:22+00:00</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2003-01-14T23:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a2e303c32d415c2921672d87268b80d6aa824e21'/>
<id>a2e303c32d415c2921672d87268b80d6aa824e21</id>
<content type='text'>
Ensure that the 'size' arg is correctly passed to the encoding reader to
prevent buffer overflows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that the 'size' arg is correctly passed to the encoding reader to
prevent buffer overflows.
</pre>
</div>
</content>
</entry>
</feed>
