[pypy-commit] pypy py3k: test_bz2: Use the "with" statement because del won't close the file

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59154:cb55d14ce808 Date: 2012-11-30 08:57 +0100 http://bitbucket.org/pypy/pypy/changeset/cb55d14ce808/ Log:test_bz2: Use the "with" statement because del won't close the file and exceed ulimit. diff --git a/lib-python/3.2/test/tes

[pypy-commit] pypy py3k: Fix mmap module: m[0] is now a range(256) number.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59158:c43d66f237cd Date: 2012-12-01 12:00 +0100 http://bitbucket.org/pypy/pypy/changeset/c43d66f237cd/ Log:Fix mmap module: m[0] is now a range(256) number. diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/i

[pypy-commit] pypy py3k: PyPy uses the 3.3 version of BZ2File, port a test from CPython3.3

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59155:cb3fcb77dec2 Date: 2012-12-01 11:10 +0100 http://bitbucket.org/pypy/pypy/changeset/cb3fcb77dec2/ Log:PyPy uses the 3.3 version of BZ2File, port a test from CPython3.3 diff --git a/lib-python/3.2/test/test_bz2.py b/lib-python/3.2/tes

[pypy-commit] pypy py3k: del sys.maxint

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59156:b1019fc17517 Date: 2012-12-01 11:17 +0100 http://bitbucket.org/pypy/pypy/changeset/b1019fc17517/ Log:del sys.maxint diff --git a/pypy/module/sys/__init__.py b/pypy/module/sys/__init__.py --- a/pypy/module/sys/__init__.py +++ b/pypy/

[pypy-commit] pypy py3k: Fix mmap tests to pass with -A

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59157:e9aabc545125 Date: 2012-12-01 11:29 +0100 http://bitbucket.org/pypy/pypy/changeset/e9aabc545125/ Log:Fix mmap tests to pass with -A diff --git a/pypy/module/mmap/test/test_mmap.py b/pypy/module/mmap/test/test_mmap.py --- a/pypy/mod

[pypy-commit] pypy py3k: Oops, fix translation

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59159:9e83bc8a8258 Date: 2012-12-01 12:27 +0100 http://bitbucket.org/pypy/pypy/changeset/9e83bc8a8258/ Log:Oops, fix translation diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/interpreter/buffer.py +++ b/p

[pypy-commit] pypy py3k: With PyPy, getattr(x, "\ud800") always raises an AttributeError.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59160:5b5f061c5aa5 Date: 2012-12-01 14:03 +0100 http://bitbucket.org/pypy/pypy/changeset/5b5f061c5aa5/ Log:With PyPy, getattr(x, "\ud800") always raises an AttributeError. CPython is not very consistent here. diff --git a/lib-pyth

[pypy-commit] pypy py3k: s/maxint/maxsize

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59161:06dcbb43582a Date: 2012-12-01 14:03 +0100 http://bitbucket.org/pypy/pypy/changeset/06dcbb43582a/ Log:s/maxint/maxsize diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/

[pypy-commit] pypy default: malloc.h appears to not be needed anymore (and it breaks things on os x)

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59162:17919af9e785 Date: 2012-12-01 08:33 -0800 http://bitbucket.org/pypy/pypy/changeset/17919af9e785/ Log:malloc.h appears to not be needed anymore (and it breaks things on os x) diff --git a/pypy/translator/c/src/allocator.c b/pypy/translat

[pypy-commit] pypy default: kill deadcode

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59163:27da21c38d2f Date: 2012-12-01 09:22 -0800 http://bitbucket.org/pypy/pypy/changeset/27da21c38d2f/ Log:kill deadcode diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --- a/pypy/objspace/std/dictmultiobject.

[pypy-commit] pypy default: Removed mutable_builtintypes flag

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59165:2db51efab045 Date: 2012-12-01 10:04 -0800 http://bitbucket.org/pypy/pypy/changeset/2db51efab045/ Log:Removed mutable_builtintypes flag diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/

[pypy-commit] pypy default: Delete unused logspaceops option

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59166:a5426d53087d Date: 2012-12-01 10:05 -0800 http://bitbucket.org/pypy/pypy/changeset/a5426d53087d/ Log:Delete unused logspaceops option diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/c

[pypy-commit] pypy default: Remove unused strjoin option

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59167:ae4392b65d8c Date: 2012-12-01 10:09 -0800 http://bitbucket.org/pypy/pypy/changeset/ae4392b65d8c/ Log:Remove unused strjoin option diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/confi

[pypy-commit] pypy default: Remove unused config docs

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59168:6d8b8ce1a853 Date: 2012-12-01 10:09 -0800 http://bitbucket.org/pypy/pypy/changeset/6d8b8ce1a853/ Log:Remove unused config docs diff --git a/pypy/doc/config/objspace.std.logspaceoptypes.txt b/pypy/doc/config/objspace.std.logspaceoptypes.txt dele

[pypy-commit] pypy default: removed unused strjoin objects

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59169:58ea044fab5a Date: 2012-12-01 10:20 -0800 http://bitbucket.org/pypy/pypy/changeset/58ea044fab5a/ Log:removed unused strjoin objects diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/con

[pypy-commit] pypy default: Remove the demo directory. It's not used (and not everything works there)

2012-12-01 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r59171:584c219d55c2 Date: 2012-12-01 10:31 -0800 http://bitbucket.org/pypy/pypy/changeset/584c219d55c2/ Log:Remove the demo directory. It's not used (and not everything works there) diff --git a/demo/autopath.py b/demo/autopath.py delete

[pypy-commit] pypy default: remove long-unused space.timing option

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59174:31a65ad058c9 Date: 2012-12-01 11:07 -0800 http://bitbucket.org/pypy/pypy/changeset/31a65ad058c9/ Log:remove long-unused space.timing option diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/

[pypy-commit] pypy default: Remove insist translation option, which has long been useless.

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59175:93966c024aec Date: 2012-12-01 11:15 -0800 http://bitbucket.org/pypy/pypy/changeset/93966c024aec/ Log:Remove insist translation option, which has long been useless. diff --git a/pypy/config/translationoption.py b/pypy/config/translationoption.py

[pypy-commit] pypy default: remove vanilla option, which is totally unused

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59176:53b204769d36 Date: 2012-12-01 11:20 -0800 http://bitbucket.org/pypy/pypy/changeset/53b204769d36/ Log:remove vanilla option, which is totally unused diff --git a/pypy/config/translationoption.py b/pypy/config/translationoption.py --- a/pypy/confi

[pypy-commit] pypy default: removed long unused logbytescodes option

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59177:2ec6eb1a3838 Date: 2012-12-01 11:26 -0800 http://bitbucket.org/pypy/pypy/changeset/2ec6eb1a3838/ Log:removed long unused logbytescodes option diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++

[pypy-commit] pypy py3k: %8 on the way out now that we identifier_w on the way in

2012-12-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59178:1fae8d20200b Date: 2012-12-01 11:29 -0800 http://bitbucket.org/pypy/pypy/changeset/1fae8d20200b/ Log:%8 on the way out now that we identifier_w on the way in diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py --

[pypy-commit] pypy py3k: disable testcapimodule's instancemethod for now so it at least compiles

2012-12-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59181:a86380295839 Date: 2012-12-01 11:33 -0800 http://bitbucket.org/pypy/pypy/changeset/a86380295839/ Log:disable testcapimodule's instancemethod for now so it at least compiles diff --git a/lib_pypy/_testcapimodule.c b/lib_pypy/_testca

[pypy-commit] pypy py3k: workaround the fact that sys.exc_info doesn't work inside appleveldefs

2012-12-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59179:83685d099042 Date: 2012-12-01 11:30 -0800 http://bitbucket.org/pypy/pypy/changeset/83685d099042/ Log:workaround the fact that sys.exc_info doesn't work inside appleveldefs diff --git a/pypy/module/atexit/app_atexit.py b/pypy/module

[pypy-commit] pypy py3k: update docstrings

2012-12-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59180:cb22b1bb6c8f Date: 2012-12-01 11:32 -0800 http://bitbucket.org/pypy/pypy/changeset/cb22b1bb6c8f/ Log:update docstrings diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py --- a/pypy/interpreter/generator.py +++ b/pyp

[pypy-commit] pypy py3k: invalid reraises now a RuntimeError

2012-12-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59182:8a643caba158 Date: 2012-12-01 11:35 -0800 http://bitbucket.org/pypy/pypy/changeset/8a643caba158/ Log:invalid reraises now a RuntimeError diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopco

[pypy-commit] pypy default: Optimized calling re_match.groups() where re_match's regexp is known

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59183:7ea64ec55f0c Date: 2012-12-01 11:52 -0800 http://bitbucket.org/pypy/pypy/changeset/7ea64ec55f0c/ Log:Optimized calling re_match.groups() where re_match's regexp is known diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.p

[pypy-commit] pypy py3k: woops, 83685d0 broke raising, fix

2012-12-01 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59184:59a08db54eff Date: 2012-12-01 11:52 -0800 http://bitbucket.org/pypy/pypy/changeset/59a08db54eff/ Log:woops, 83685d0 broke raising, fix diff --git a/pypy/module/atexit/app_atexit.py b/pypy/module/atexit/app_atexit.py --- a/pypy/module/atexi

[pypy-commit] pypy default: remove some unused imports

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59185:136c3c38f638 Date: 2012-12-01 12:50 -0800 http://bitbucket.org/pypy/pypy/changeset/136c3c38f638/ Log:remove some unused imports diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/

[pypy-commit] pypy default: Also unroll this function sometimes

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59186:74d7def3be80 Date: 2012-12-01 12:54 -0800 http://bitbucket.org/pypy/pypy/changeset/74d7def3be80/ Log:Also unroll this function sometimes diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py --- a/pypy/module/_sre/interp_s

[pypy-commit] pypy default: remove dead code (plus some random import cleanup)

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59187:2c343bdf8b7c Date: 2012-12-01 13:06 -0800 http://bitbucket.org/pypy/pypy/changeset/2c343bdf8b7c/ Log:remove dead code (plus some random import cleanup) diff --git a/pypy/objspace/fake/checkmodule.py b/pypy/objspace/fake/checkmodule.py --- a/pyp

[pypy-commit] extradoc extradoc: remove some resolved bugs from this list

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: extradoc Changeset: r4928:ceaf8e974827 Date: 2012-12-01 13:11 -0800 http://bitbucket.org/pypy/extradoc/changeset/ceaf8e974827/ Log:remove some resolved bugs from this list diff --git a/planning/2.0/todo.txt b/planning/2.0/todo.txt --- a/planning/2.0/todo.txt +++ b

[pypy-commit] pypy default: this whole file is evil, but apply is especially evil

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59188:688d3e0da26c Date: 2012-12-01 13:25 -0800 http://bitbucket.org/pypy/pypy/changeset/688d3e0da26c/ Log:this whole file is evil, but apply is especially evil diff --git a/pypy/objspace/std/fake.py b/pypy/objspace/std/fake.py --- a/pypy/objspace/std

[pypy-commit] pypy default: remove an import *

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59189:38f19c2a15e5 Date: 2012-12-01 13:42 -0800 http://bitbucket.org/pypy/pypy/changeset/38f19c2a15e5/ Log:remove an import * diff --git a/pypy/objspace/std/fake.py b/pypy/objspace/std/fake.py --- a/pypy/objspace/std/fake.py +++ b/pypy/objspace/std/fa

[pypy-commit] pypy py3k: Another remaining sys.maxint

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59190:e94e112e1471 Date: 2012-12-01 14:26 +0100 http://bitbucket.org/pypy/pypy/changeset/e94e112e1471/ Log:Another remaining sys.maxint diff --git a/lib_pypy/_ctypes/basics.py b/lib_pypy/_ctypes/basics.py --- a/lib_pypy/_ctypes/basics.py

[pypy-commit] pypy py3k: cpyext: implement PyUnicode_TransformDecimalToASCII

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59191:80c0c0164810 Date: 2012-12-01 16:47 +0100 http://bitbucket.org/pypy/pypy/changeset/80c0c0164810/ Log:cpyext: implement PyUnicode_TransformDecimalToASCII diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/py

[pypy-commit] pypy py3k: cpyext: add PyExceptionInstance_Check

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59192:21d4c1bcf011 Date: 2012-12-01 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/21d4c1bcf011/ Log:cpyext: add PyExceptionInstance_Check diff --git a/pypy/module/cpyext/include/pyerrors.h b/pypy/module/cpyext/include/pyerrors.h -

[pypy-commit] pypy py3k: cpyext: implement PyInstanceMethod type and functions.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59193:6cb72bc5a0b9 Date: 2012-12-01 23:21 +0100 http://bitbucket.org/pypy/pypy/changeset/6cb72bc5a0b9/ Log:cpyext: implement PyInstanceMethod type and functions. diff --git a/pypy/module/cpyext/__init__.py b/pypy/module/cpyext/__init__.py

[pypy-commit] pypy kill-faking: First stab, objspace tests pass, next step interpreter, then module!

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: kill-faking Changeset: r59194:d1e21127b822 Date: 2012-12-01 14:21 -0800 http://bitbucket.org/pypy/pypy/changeset/d1e21127b822/ Log:First stab, objspace tests pass, next step interpreter, then module! diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.

[pypy-commit] pypy default: improve the performance of JSON by not doing weird default hacks

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59195:5506644e6fd2 Date: 2012-12-01 14:33 -0800 http://bitbucket.org/pypy/pypy/changeset/5506644e6fd2/ Log:improve the performance of JSON by not doing weird default hacks diff --git a/lib-python/2.7/json/decoder.py b/lib-python/2.7/json/decoder.py --

[pypy-commit] pypy default: replace some more globals

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59196:33d5a5d75e05 Date: 2012-12-01 14:40 -0800 http://bitbucket.org/pypy/pypy/changeset/33d5a5d75e05/ Log:replace some more globals diff --git a/lib-python/2.7/json/decoder.py b/lib-python/2.7/json/decoder.py --- a/lib-python/2.7/json/decoder.py +++

[pypy-commit] pypy default: remove one last use of gross default binding

2012-12-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59197:a3c1766f4719 Date: 2012-12-01 14:42 -0800 http://bitbucket.org/pypy/pypy/changeset/a3c1766f4719/ Log:remove one last use of gross default binding diff --git a/lib-python/2.7/json/decoder.py b/lib-python/2.7/json/decoder.py --- a/lib-python/2.7/j

[pypy-commit] pypy py3k: test_deque: copy tweaks from the 2.7 directory.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59198:dad6ba6dfaf1 Date: 2012-12-01 23:26 +0100 http://bitbucket.org/pypy/pypy/changeset/dad6ba6dfaf1/ Log:test_deque: copy tweaks from the 2.7 directory. diff --git a/lib-python/3.2/test/test_deque.py b/lib-python/3.2/test/test_deque.py

[pypy-commit] pypy py3k: PyPy has no _datetime, let the tests run with pure Python datetime.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59201:8ab0bba2d5d1 Date: 2012-12-01 23:42 +0100 http://bitbucket.org/pypy/pypy/changeset/8ab0bba2d5d1/ Log:PyPy has no _datetime, let the tests run with pure Python datetime. diff --git a/lib-python/3.2/test/test_datetime.py b/lib-python

[pypy-commit] pypy py3k: Refine error message to match CPython.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59199:6b7661642a1b Date: 2012-12-01 23:32 +0100 http://bitbucket.org/pypy/pypy/changeset/6b7661642a1b/ Log:Refine error message to match CPython. diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpreter/astcompiler/astb

[pypy-commit] pypy py3k: Fix a test like for 2.7

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59200:66d2fba580d6 Date: 2012-12-01 23:35 +0100 http://bitbucket.org/pypy/pypy/changeset/66d2fba580d6/ Log:Fix a test like for 2.7 diff --git a/lib-python/3.2/test/test_codeop.py b/lib-python/3.2/test/test_codeop.py --- a/lib-python/3.2/

[pypy-commit] pypy py3k: A gc_collect() for a weakref test.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59202:9cd6cb1b45ac Date: 2012-12-01 23:45 +0100 http://bitbucket.org/pypy/pypy/changeset/9cd6cb1b45ac/ Log:A gc_collect() for a weakref test. diff --git a/lib-python/3.2/test/test_file.py b/lib-python/3.2/test/test_file.py --- a/lib-pytho

[pypy-commit] pypy py3k: In some functions an int was accepted in place of a bytes string

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59203:b201dd344465 Date: 2012-12-02 00:16 +0100 http://bitbucket.org/pypy/pypy/changeset/b201dd344465/ Log:In some functions an int was accepted in place of a bytes string (and processed like 5 -> b'\0\0\0\0\0') diff --git a/pypy/

[pypy-commit] pypy py3k: object.__basicsize__ is an implementation detail.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59204:747c9398e246 Date: 2012-12-02 00:23 +0100 http://bitbucket.org/pypy/pypy/changeset/747c9398e246/ Log:object.__basicsize__ is an implementation detail. diff --git a/lib-python/3.2/test/test_types.py b/lib-python/3.2/test/test_types.

[pypy-commit] pypy default: Remove extra copy of _x_mul

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r59205:4d9071d3ecb4 Date: 2012-12-02 00:29 +0100 http://bitbucket.org/pypy/pypy/changeset/4d9071d3ecb4/ Log:Remove extra copy of _x_mul diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rlib/rbigint

[pypy-commit] pypy default: Backport frombytes() and tobytes() from the py3k branch.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r59206:5e1817833c19 Date: 2012-12-02 00:31 +0100 http://bitbucket.org/pypy/pypy/changeset/5e1817833c19/ Log:Backport frombytes() and tobytes() from the py3k branch. diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigi

[pypy-commit] pypy default: random.getrandbits() is no longer quadratic.

2012-12-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r59207:f43af8306780 Date: 2012-12-02 00:36 +0100 http://bitbucket.org/pypy/pypy/changeset/f43af8306780/ Log:random.getrandbits() is no longer quadratic. diff --git a/pypy/module/_random/interp_random.py b/pypy/module/_random/interp_random.py