summaryrefslogtreecommitdiffstats
path: root/Misc/python-config.in
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-04-15 21:42:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-04-15 21:42:42 (GMT)
commit7ab6be216af6fccae655bd5402ae0ad22447f37a (patch)
tree22503e2e936f131380051209bb1905c8d9541649 /Misc/python-config.in
parent32dde22186efbbfcfb275ac9542b3e62a9b5cf1b (diff)
downloadcpython-7ab6be216af6fccae655bd5402ae0ad22447f37a.zip
cpython-7ab6be216af6fccae655bd5402ae0ad22447f37a.tar.gz
cpython-7ab6be216af6fccae655bd5402ae0ad22447f37a.tar.bz2
PyLong_FromSsize_t was incorrect when sizeof(size_t) > sizeof(long);
rewrite it so that it doesn't care about relative sizes of size_t, long and long long. The rewrite is modeled on PyLong_FromLong, instead of using PyLong_FromByteArray; this makes the algorithm simpler and more direct, and possibly also slightly faster.
Diffstat (limited to 'Misc/python-config.in')
0 files changed, 0 insertions, 0 deletions