<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Python, branch v2.6rc2</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for</title>
<updated>2008-09-10T22:04:45Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-09-10T22:04:45Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=05e344954de5f4e55eb49dc44b0f8e1ec272a06c'/>
<id>05e344954de5f4e55eb49dc44b0f8e1ec272a06c</id>
<content type='text'>
PyString_FromFormat which has an independent implementation, and uses "%zd".

This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.

Reviewed by Martin von Loewis.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyString_FromFormat which has an independent implementation, and uses "%zd".

This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.

Reviewed by Martin von Loewis.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move test.test_support.catch_warning() to the warnings module, rename it</title>
<updated>2008-09-02T01:25:16Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-09-02T01:25:16Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=1eaf0742d877fd9d84d6ed82a04bc33b027e9ad0'/>
<id>1eaf0742d877fd9d84d6ed82a04bc33b027e9ad0</id>
<content type='text'>
catch_warnings(), and clean up the API.

While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.

Closes issue 3602.
Code review by Benjamin Peterson.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
catch_warnings(), and clean up the API.

While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.

Closes issue 3602.
Code review by Benjamin Peterson.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation when --without-threads is given #3683</title>
<updated>2008-09-01T14:18:30Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-09-01T14:18:30Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=17f03ca9628d358628efcb91667b598c1f1e7980'/>
<id>17f03ca9628d358628efcb91667b598c1f1e7980</id>
<content type='text'>
Reviewer: Georg Brandl, Benjamin Peterson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewer: Georg Brandl, Benjamin Peterson
</pre>
</div>
</content>
</entry>
<entry>
<title>#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an</title>
<updated>2008-08-29T18:39:48Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2008-08-29T18:39:48Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=d4ae97bc38780aab5f348b73fee67eaab7546441'/>
<id>d4ae97bc38780aab5f348b73fee67eaab7546441</id>
<content type='text'>
exception afterwards (for a subsequent parameter), the user code will
not call PyBuffer_Release() and memory will leak.

Reviewed by Amaury Forgeot d'Arc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
exception afterwards (for a subsequent parameter), the user code will
not call PyBuffer_Release() and memory will leak.

Reviewed by Amaury Forgeot d'Arc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to</title>
<updated>2008-08-26T22:42:08Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2008-08-26T22:42:08Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=0668c62677e76b2acf7e4d11d5e9c1f4420a54f1'/>
<id>0668c62677e76b2acf7e4d11d5e9c1f4420a54f1</id>
<content type='text'>
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
mechanism. In the process, fix a bug where isinstance() and issubclass(),
when given a tuple of classes as second argument, were looking up
__instancecheck__ / __subclasscheck__ on the tuple rather than on each
type object.

Reviewed by Benjamin Peterson and Raymond Hettinger.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
mechanism. In the process, fix a bug where isinstance() and issubclass(),
when given a tuple of classes as second argument, were looking up
__instancecheck__ / __subclasscheck__ on the tuple rather than on each
type object.

Reviewed by Benjamin Peterson and Raymond Hettinger.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix:</title>
<updated>2008-08-24T05:04:52Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2008-08-24T05:04:52Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=18aa388ca084e1d40aa48c8c8f1b4f730c6fe059'/>
<id>18aa388ca084e1d40aa48c8c8f1b4f730c6fe059</id>
<content type='text'>
 * crashes on memory allocation failure found with failmalloc
 * memory leaks found with valgrind
 * compiler warnings in opt mode which would lead to invalid memory reads
 * problem using wrong name in decimal module reported by pychecker

Update the valgrind suppressions file with new leaks that are small/one-time
leaks we don't care about (ie, they are too hard to fix).

TBR=barry
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
  in opt mode:
  valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
    ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
                        -x test_logging test_ssl test_multiprocessing
  valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
    ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
  for i in `seq 1 4000` ; do
    LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
        ./python -c pass
  done

At least some of these fixes should probably be backported to 2.5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * crashes on memory allocation failure found with failmalloc
 * memory leaks found with valgrind
 * compiler warnings in opt mode which would lead to invalid memory reads
 * problem using wrong name in decimal module reported by pychecker

Update the valgrind suppressions file with new leaks that are small/one-time
leaks we don't care about (ie, they are too hard to fix).

TBR=barry
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
  in opt mode:
  valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
    ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
                        -x test_logging test_ssl test_multiprocessing
  valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
    ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
  for i in `seq 1 4000` ; do
    LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
        ./python -c pass
  done

At least some of these fixes should probably be backported to 2.5.
</pre>
</div>
</content>
</entry>
<entry>
<title>allow keyword args to be passed in after *args #3473</title>
<updated>2008-08-19T19:52:46Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-08-19T19:52:46Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=80f0ed5bb1b38a615d92bdf2b3b3dad854dd06d9'/>
<id>80f0ed5bb1b38a615d92bdf2b3b3dad854dd06d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>follup to #3473: don't duplicate the reduce code</title>
<updated>2008-08-18T02:01:21Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-08-18T02:01:21Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=08336e30adc97345ed1a88ad2a1b9a6f47896fa0'/>
<id>08336e30adc97345ed1a88ad2a1b9a6f47896fa0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>uhh PySTEntry-&gt;ste_unoptimized has to be exposed too</title>
<updated>2008-08-17T02:23:43Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-08-17T02:23:43Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=25f2d89f324c1456c4bf9b4292d3bb9c2ad6293d'/>
<id>25f2d89f324c1456c4bf9b4292d3bb9c2ad6293d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>expose PySTEntry.nested so the symtable module will work</title>
<updated>2008-08-17T01:09:17Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-08-17T01:09:17Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5'/>
<id>e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
