Issue #5260: Various portability and standards compliance fixes, optimizations
commitd1ef7d8c59e31148dfbff3c87750cc8bee001285
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 15 Feb 2009 10:13:41 +0000 (15 10:13 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 15 Feb 2009 10:13:41 +0000 (15 10:13 +0000)
treecc95d6a3502daccbf9528a2a54a6b7f2e8c49567
parentebb34e8fae2f43417bbeb50f5e2e972c9f2bd401
Issue #5260: Various portability and standards compliance fixes, optimizations
and cleanups in Objects/longobject.c.  The most significant change is that
longs now use less memory:  average savings are 2 bytes per long on 32-bit
systems and 6 bytes per long on 64-bit systems.  (This memory saving already
exists in py3k.)

git-svn-id: http://svn.python.org/projects/python/trunk@69634 6015fed2-1504-0410-9fe1-9d1591cc4771
Include/longintrepr.h
Lib/test/test_sys.py
Misc/NEWS
Objects/longobject.c