<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/getargs.c, branch v2.7a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/getargs.c?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/getargs.c?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-01-01T17:27:30Z</updated>
<entry>
<title>Issue #5080: turn the DeprecationWarning from float arguments passed</title>
<updated>2010-01-01T17:27:30Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2010-01-01T17:27:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1b34d2552c2cb2369130291a8a9ae973753b4072'/>
<id>urn:sha1:1b34d2552c2cb2369130291a8a9ae973753b4072</id>
<content type='text'>
to integer PyArg_Parse* format codes into a TypeError.  Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
</content>
</entry>
<entry>
<title>- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with</title>
<updated>2009-08-01T23:54:55Z</updated>
<author>
<name>Sean Reifscheider</name>
<email>jafo@tummy.com</email>
</author>
<published>2009-08-01T23:54:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9279e7d1771a03a2e494b03d82bad2fde8b8f1aa'/>
<id>urn:sha1:9279e7d1771a03a2e494b03d82bad2fde8b8f1aa</id>
<content type='text'>
  NUL: Bogus TypeError detail string.
</content>
</entry>
<entry>
<title>#5580: no need to use parentheses when converterr() argument is actually a type description.</title>
<updated>2009-04-05T11:54:07Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-04-05T11:54:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6c59e72576c37d4452c47ba84c9f7d98c2681a8f'/>
<id>urn:sha1:6c59e72576c37d4452c47ba84c9f7d98c2681a8f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix #4720: the format to PyArg_ParseTupleAndKeywords can now start with '|'</title>
<updated>2008-12-22T20:51:15Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-12-22T20:51:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4caef5c7e2f3b0de2725d83e8eab20f5dd3d6195'/>
<id>urn:sha1:4caef5c7e2f3b0de2725d83e8eab20f5dd3d6195</id>
<content type='text'>
</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://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4ae97bc38780aab5f348b73fee67eaab7546441'/>
<id>urn:sha1: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>
</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://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18aa388ca084e1d40aa48c8c8f1b4f730c6fe059'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,</title>
<updated>2008-08-12T14:49:50Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-08-12T14:49:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f91d46a17d85da323895950852093117bc21f860'/>
<id>urn:sha1:f91d46a17d85da323895950852093117bc21f860</id>
<content type='text'>
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.

More module might need to get converted to use s*.
</content>
</entry>
<entry>
<title>This reverts r63675 based on the discussion in this thread:</title>
<updated>2008-06-09T04:58:54Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-06-09T04:58:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd96db63f689e2f0d8ae5a1436b3b3395eec7de5'/>
<id>urn:sha1:dd96db63f689e2f0d8ae5a1436b3b3395eec7de5</id>
<content type='text'>
 http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.
</content>
</entry>
<entry>
<title>Renamed PyString to PyBytes</title>
<updated>2008-05-26T12:51:38Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-05-26T12:51:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=593daf545bd9b7e7bcb27b498ecc6f36db9ae395'/>
<id>urn:sha1:593daf545bd9b7e7bcb27b498ecc6f36db9ae395</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve error msg</title>
<updated>2008-02-26T17:23:51Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-02-26T17:23:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea837931cf393aa0373ccfa1849b2a3d6e3cc6ea'/>
<id>urn:sha1:ea837931cf393aa0373ccfa1849b2a3d6e3cc6ea</id>
<content type='text'>
My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too.
</content>
</entry>
</feed>
