<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_testcapimodule.c, branch v2.2.1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_testcapimodule.c?h=v2.2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_testcapimodule.c?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-11-28T20:27:42Z</updated>
<entry>
<title>sprintf -&gt; PyOS_snprintf in some "obviously safe" cases.</title>
<updated>2001-11-28T20:27:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T20:27:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=885d457709c1d680c899dc3d035a47c8fb514cfa'/>
<id>urn:sha1:885d457709c1d680c899dc3d035a47c8fb514cfa</id>
<content type='text'>
Also changed &lt;&gt;-style #includes to ""-style in some places where the
former didn't make sense.
</content>
</entry>
<entry>
<title>Fixes for possible buffer overflows in sprintf() usages.</title>
<updated>2001-11-28T11:47:00Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-11-28T11:47:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4c0a9c59b399bfa0d36030663f78aa18a68e051'/>
<id>urn:sha1:d4c0a9c59b399bfa0d36030663f78aa18a68e051</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF [#466125] PyLong_AsLongLong works for any integer.</title>
<updated>2001-09-30T05:09:37Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-30T05:09:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d38b1c74f3f28a3f9a73c142d9be83425adaa6e1'/>
<id>urn:sha1:d38b1c74f3f28a3f9a73c142d9be83425adaa6e1</id>
<content type='text'>
Generalize PyLong_AsLongLong to accept int arguments too.  The real point
is so that PyArg_ParseTuple's 'L' code does too.  That code was
undocumented (AFAICT), so documented it.
</content>
</entry>
<entry>
<title>Add tests for new PyErr_NormalizeException() behavior</title>
<updated>2001-09-26T20:01:13Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-09-26T20:01:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ede049b2d322f160814133677427f7ea0f2ee639'/>
<id>urn:sha1:ede049b2d322f160814133677427f7ea0f2ee639</id>
<content type='text'>
Add raise_exception() to the _testcapi module.  It isn't a test, but
the C API exists only to support test_exceptions.  raise_exception()
takes two arguments -- an exception class and an integer specifying
how many arguments it should be called with.

test_exceptions uses BadException() to test the interpreter's behavior
when there is a problem instantiating the exception.  test_capi1()
calls it with too many arguments.  test_capi2() causes an exception to
be raised in the Python code of the constructor.
</content>
</entry>
<entry>
<title>Patch #411138: Rename config.h to pyconfig.h.  Closes bug #231774.</title>
<updated>2001-07-26T13:41:06Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-07-26T13:41:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f'/>
<id>urn:sha1:4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Windows build broke from recent Unicode changes -- need to #define</title>
<updated>2001-06-26T22:40:47Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-26T22:40:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=208efe56401ec6a1d7eef874fcc5848084d15692'/>
<id>urn:sha1:208efe56401ec6a1d7eef874fcc5848084d15692</id>
<content type='text'>
SIZEOF_SHORT by hand here.
Also added dynamic check that SIZEOF_SHORT is correct for the platform (in
_testcapimodule).
</content>
</entry>
<entry>
<title>Fix error in comment, and in test_long_api and test_longlong_api remove</title>
<updated>2001-06-16T08:10:13Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-16T08:10:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=83c9edc05c1d237c03fd273cb337157084a910af'/>
<id>urn:sha1:83c9edc05c1d237c03fd273cb337157084a910af</id>
<content type='text'>
the need for the F_ERROR macro.
</content>
</entry>
<entry>
<title>Fixed typo in comment.</title>
<updated>2001-06-14T01:11:03Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-14T01:11:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff70d3c8d43b3ddcd4271b662dc0a029b22bd51a'/>
<id>urn:sha1:ff70d3c8d43b3ddcd4271b662dc0a029b22bd51a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests of PyLong_{As,From}{Unsigned,}Long.  These are very much like</title>
<updated>2001-06-14T00:55:41Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-14T00:55:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7c1f9b8228c61131bd39ad93baf2fa7caa792c0'/>
<id>urn:sha1:e7c1f9b8228c61131bd39ad93baf2fa7caa792c0</id>
<content type='text'>
the new PyLong_{As,From}{Unsigned,}LongLong tests, so the bulk of the
code is in the new #include file testcapi_long.h, which generates
different code depending on how macros are set.  This sucks, but I couldn't
think of anything that sucked less.

UNIX headache?  If we still maintain dependencies by hand, someone who
knows what they're doing should teach whatever needs it that
_testcapimodule.c includes testcapi_long.h.
</content>
</entry>
<entry>
<title>longobject.c:</title>
<updated>2001-06-13T00:35:57Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-13T00:35:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1a7da6c0d377d2296b79c4203d267ffe1664bfb'/>
<id>urn:sha1:d1a7da6c0d377d2296b79c4203d267ffe1664bfb</id>
<content type='text'>
    Replaced PyLong_{As,From}{Unsigned,}LongLong guts with calls
    to _PyLong_{As,From}ByteArray.
_testcapimodule.c:
    Added strong tests of PyLong_{As,From}{Unsigned,}LongLong.

Fixes SF bug #432552 PyLong_AsLongLong() problems.
Possible bugfix candidate, but the fix relies on code added to longobject
to support the new q/Q structmodule format codes.
</content>
</entry>
</feed>
