]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add tests of PyLong_{As,From}{Unsigned,}Long. These are very much like
authorTim Peters <tim.peters@gmail.com>
Thu, 14 Jun 2001 00:55:41 +0000 (00:55 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 14 Jun 2001 00:55:41 +0000 (00:55 +0000)
commite7c1f9b8228c61131bd39ad93baf2fa7caa792c0
tree678b61003738cae38f0334334d80c554363abf5f
parent17e17d440644f780e793466b47ca354459a8d68a
Add tests of PyLong_{As,From}{Unsigned,}Long.  These are very much like
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.
Modules/_testcapimodule.c
Modules/testcapi_long.h [new file with mode: 0644]