Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +alexandre.vassalotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12744
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8e824e09924a by Antoine Pitrou in branch 'default':
Issue #12744: Fix inefficient representation of integers
http://hg.python.org/cpython/rev/8e824e09924a
--
nosy: +python-dev
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12744
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Nice.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12744
___
New submission from Antoine Pitrou pit...@free.fr:
On a 64-bit Linux machine (where C `long` is 64 bits):
len(pickle.dumps(2**30))
8
len(pickle.dumps(2**31))
16
len(pickle.dumps(2**62))
25
len(pickle.dumps(2**63))
14
This is because the old text protocol is used when the integer can fit in
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12744
___
___
Python-bugs-list
Changes by Meador Inge mead...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12744
___
___
Python-bugs-list