<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Parser, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>Don't truncate if size_t is bigger than uint</title>
<updated>2006-06-12T02:07:57+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-12T02:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=460cf69d1adc0d11e154b7fb086c24214df84be0'/>
<id>460cf69d1adc0d11e154b7fb086c24214df84be0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix comment typo</title>
<updated>2006-06-06T17:10:41+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-06-06T17:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=98f31af6b431bc491782a7a919de5d589281ac82'/>
<id>98f31af6b431bc491782a7a919de5d589281ac82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #1357836:</title>
<updated>2006-06-02T06:23:00+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-02T06:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=6d0b706fb544598e1cac345e025e11d0a8eaf383'/>
<id>6d0b706fb544598e1cac345e025e11d0a8eaf383</id>
<content type='text'>
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>
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>Patch #1475845: Raise IndentationError for unexpected indent.</title>
<updated>2006-05-04T05:51:03+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-05-04T05:51:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=25b3a09a5a2aec605c25a329cb039977c2a565fb'/>
<id>25b3a09a5a2aec605c25a329cb039977c2a565fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>C++ compiler cleanup: cast signed to unsigned</title>
<updated>2006-04-18T00:53:06+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2006-04-18T00:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=4d4988ed4d25bca779c9ec9f0d56a487a5443e57'/>
<id>4d4988ed4d25bca779c9ec9f0d56a487a5443e57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #1355883: Build Python-ast.c and Python-ast.h</title>
<updated>2006-04-14T15:02:32+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-14T15:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=717bb53a5cf5eda3600a24d0c2664511184220fa'/>
<id>717bb53a5cf5eda3600a24d0c2664511184220fa</id>
<content type='text'>
independently. Fixes #1355883.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
independently. Fixes #1355883.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce asdl_int_seq, to hold cmpop_ty.</title>
<updated>2006-04-13T12:29:43+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-13T12:29:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=42e4f6127fc7d7e77123073dad9aa453ed7c158a'/>
<id>42e4f6127fc7d7e77123073dad9aa453ed7c158a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>more low-hanging fruit to make code compile under a C++ compiler. Not</title>
<updated>2006-04-11T12:01:56+00:00</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2006-04-11T12:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=497864c5432a68ac8ae7708642cba8f4a640e66c'/>
<id>497864c5432a68ac8ae7708642cba8f4a640e66c</id>
<content type='text'>
entirely happy with the two new VISIT macros in compile.c, but I
couldn't see a better approach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
entirely happy with the two new VISIT macros in compile.c, but I
couldn't see a better approach.
</pre>
</div>
</content>
</entry>
<entry>
<title>As discussed on python-dev, really fix the PyMem_*/PyObject_* memory API</title>
<updated>2006-04-11T08:19:15+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-04-11T08:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=13f044625949e3cb153cc5e69cb6dbc91b0e7d90'/>
<id>13f044625949e3cb153cc5e69cb6dbc91b0e7d90</id>
<content type='text'>
mismatches.  At least I hope this fixes them all.

This reverts part of my change from yesterday that converted everything
in Parser/*.c to use PyObject_* API.  The encoding doesn't really need
to use PyMem_*, however, it uses new_string() which must return PyMem_*
for handling the result of PyOS_Readline() which returns PyMem_* memory.

If there were 2 versions of new_string() one that returned PyMem_*
for tokens and one that return PyObject_* for encodings that could
also fix this problem.  I'm not sure which version would be clearer.
This seems to fix both Guido's and Phillip's problems, so it's good enough
for now.  After this change, it would be good to review Parser/*.c
for consistent use of the 2 memory APIs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mismatches.  At least I hope this fixes them all.

This reverts part of my change from yesterday that converted everything
in Parser/*.c to use PyObject_* API.  The encoding doesn't really need
to use PyMem_*, however, it uses new_string() which must return PyMem_*
for handling the result of PyOS_Readline() which returns PyMem_* memory.

If there were 2 versions of new_string() one that returned PyMem_*
for tokens and one that return PyObject_* for encodings that could
also fix this problem.  I'm not sure which version would be clearer.
This seems to fix both Guido's and Phillip's problems, so it's good enough
for now.  After this change, it would be good to review Parser/*.c
for consistent use of the 2 memory APIs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make _kind types global for C++ compilation.</title>
<updated>2006-04-11T08:06:50+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-11T08:06:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5bb7ea430f9a637e9a7208ade10f913ea7e3a762'/>
<id>5bb7ea430f9a637e9a7208ade10f913ea7e3a762</id>
<content type='text'>
Explicitly cast void* to int to cmpop_ty.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Explicitly cast void* to int to cmpop_ty.
</pre>
</div>
</content>
</entry>
</feed>
