[pypy-commit] pypy default: Test and fix: ASSERT_NOT_NONE should not have any effect with the heapcache

2016-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r89136:db7c07b019cd Date: 2016-12-18 13:04 +0100 http://bitbucket.org/pypy/pypy/changeset/db7c07b019cd/ Log:Test and fix: ASSERT_NOT_NONE should not have any effect with the heapcache diff --git a/rpython/jit/metainterp/heapcache.py b/rpython/j

[pypy-commit] pypy default: Add HF_KNOWN_NULLITY in two more cases: in new() and in

2016-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r89137:33a1651e9061 Date: 2016-12-18 13:33 +0100 http://bitbucket.org/pypy/pypy/changeset/33a1651e9061/ Log:Add HF_KNOWN_NULLITY in two more cases: in new() and in class_now_known(). I think it's a safe way to avoid a couple of extra GUAR

[pypy-commit] pypy rffi-parser: fix

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89138:c53d7710ec54 Date: 2016-12-18 13:14 + http://bitbucket.org/pypy/pypy/changeset/c53d7710ec54/ Log:fix diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/api.py

[pypy-commit] pypy rffi-parser: Export the type itself in ParsedSource().definitions, we never want lltype.Typedef objects

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89139:539abd4173a3 Date: 2016-12-18 13:34 + http://bitbucket.org/pypy/pypy/changeset/539abd4173a3/ Log:Export the type itself in ParsedSource().definitions, we never want lltype.Typedef objects diff --git a/pypy/module/cpyext/api

[pypy-commit] pypy rffi-parser: Update test

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89140:849d88015265 Date: 2016-12-18 13:44 + http://bitbucket.org/pypy/pypy/changeset/849d88015265/ Log:Update test diff --git a/pypy/module/cpyext/test/test_api.py b/pypy/module/cpyext/test/test_api.py --- a/pypy/module/cpyext/test/test

[pypy-commit] pypy rffi-parser: Use cffi's copy of pycparser

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89141:cc761eef5b5a Date: 2016-12-18 14:03 + http://bitbucket.org/pypy/pypy/changeset/cc761eef5b5a/ Log:Use cffi's copy of pycparser diff --git a/pypy/module/cpyext/cparser.py b/pypy/module/cpyext/cparser.py --- a/pypy/module/cpyext/cpars

[pypy-commit] pypy rffi-parser: Rename api.h to object_h

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89142:a09184bcdf35 Date: 2016-12-18 14:04 + http://bitbucket.org/pypy/pypy/changeset/a09184bcdf35/ Log:Rename api.h to object_h diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy

[pypy-commit] pypy default: Fix for the new ll_assert_not_none()

2016-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r89143:915f51d48f87 Date: 2016-12-18 15:16 +0100 http://bitbucket.org/pypy/pypy/changeset/915f51d48f87/ Log:Fix for the new ll_assert_not_none() diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py --- a/pypy/module/micron

[pypy-commit] pypy default: Remove this implementation of malloc removal, which was never used

2016-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r89144:b89ea292e8c6 Date: 2016-12-18 15:16 +0100 http://bitbucket.org/pypy/pypy/changeset/b89ea292e8c6/ Log:Remove this implementation of malloc removal, which was never used diff --git a/rpython/translator/backendopt/mallocv.py b/rpython/translator/ba

[pypy-commit] pypy vendor/stdlib: update the 2.7 stdlib to 2.7.13

2016-12-18 Thread arigo
Author: Armin Rigo Branch: vendor/stdlib Changeset: r89145:94ae9975cd0a Date: 2016-12-18 15:42 +0100 http://bitbucket.org/pypy/pypy/changeset/94ae9975cd0a/ Log:update the 2.7 stdlib to 2.7.13 diff too long, truncating to 2000 out of 21347 lines diff --git a/lib-python/2.7/SimpleXMLRPCServer

[pypy-commit] pypy stdlib-2.7.13: start the stdlib-2.7.13 branch by merging with vendor/stdlib

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89146:6b4798f95435 Date: 2016-12-18 16:01 +0100 http://bitbucket.org/pypy/pypy/changeset/6b4798f95435/ Log:start the stdlib-2.7.13 branch by merging with vendor/stdlib diff too long, truncating to 2000 out of 21301 lines diff --git a/lib-

[pypy-commit] pypy rffi-parser: Use parse_source() in floatobject.py

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89148:f4d014183be5 Date: 2016-12-18 15:40 + http://bitbucket.org/pypy/pypy/changeset/f4d014183be5/ Log:Use parse_source() in floatobject.py diff --git a/pypy/module/cpyext/floatobject.py b/pypy/module/cpyext/floatobject.py --- a/pypy/mo

[pypy-commit] pypy rffi-parser: Refactor includes

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89147:1237824b7174 Date: 2016-12-18 15:31 + http://bitbucket.org/pypy/pypy/changeset/1237824b7174/ Log:Refactor includes diff --git a/pypy/module/cpyext/cparser.py b/pypy/module/cpyext/cparser.py --- a/pypy/module/cpyext/cparser.py +++ b

[pypy-commit] pypy default: merge better-PyDict_Next into default, which also provides a basic but non-functioning GetSetProperty-to-PyGetSetDescrObject

2016-12-18 Thread mattip
Author: Matti Picus Branch: Changeset: r89149:1483fff7dd66 Date: 2016-12-18 17:53 +0200 http://bitbucket.org/pypy/pypy/changeset/1483fff7dd66/ Log:merge better-PyDict_Next into default, which also provides a basic but non-functioning GetSetProperty-to-PyGetSetDescrObject diff --git

[pypy-commit] pypy default: document merged branch

2016-12-18 Thread mattip
Author: Matti Picus Branch: Changeset: r89150:c1f9b348dbb3 Date: 2016-12-18 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/c1f9b348dbb3/ Log:document merged branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/what

[pypy-commit] pypy stdlib-2.7.13: copy this file from 2.7.13

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89151:52963ea7f4bf Date: 2016-12-18 17:36 +0100 http://bitbucket.org/pypy/pypy/changeset/52963ea7f4bf/ Log:copy this file from 2.7.13 diff --git a/lib_pypy/_ctypes_test.c b/lib_pypy/_ctypes_test.c --- a/lib_pypy/_ctypes_test.c +++ b/lib_py

[pypy-commit] pypy stdlib-2.7.13: Fix for test_abstract in ctypes/test/test_frombuffer

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89152:a7b53ded27c6 Date: 2016-12-18 17:51 +0100 http://bitbucket.org/pypy/pypy/changeset/a7b53ded27c6/ Log:Fix for test_abstract in ctypes/test/test_frombuffer diff --git a/lib_pypy/_ctypes/array.py b/lib_pypy/_ctypes/array.py --- a/lib_py

[pypy-commit] pypy rffi-parser: Use object_h definitions in methodobject.py

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89153:e7350a8db95b Date: 2016-12-18 17:17 + http://bitbucket.org/pypy/pypy/changeset/e7350a8db95b/ Log:Use object_h definitions in methodobject.py diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyex

[pypy-commit] pypy stdlib-2.7.13: update version

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89154:3570b561f443 Date: 2016-12-18 18:28 +0100 http://bitbucket.org/pypy/pypy/changeset/3570b561f443/ Log:update version diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyext/include/patchlevel.h --- a/pypy/module/cpy

[pypy-commit] pypy stdlib-2.7.13: Update to 2.7.13's handling of ``'%d' % x``, which gives completely

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89155:fc358e88d939 Date: 2016-12-18 18:28 +0100 http://bitbucket.org/pypy/pypy/changeset/fc358e88d939/ Log:Update to 2.7.13's handling of ``'%d' % x``, which gives completely different results if x is a subclass of 'long' or a subcl

[pypy-commit] pypy stdlib-2.7.13: Check early that we get a list of strings

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89156:b558a727875c Date: 2016-12-18 18:40 +0100 http://bitbucket.org/pypy/pypy/changeset/b558a727875c/ Log:Check early that we get a list of strings diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py --- a/pypy/module

[pypy-commit] pypy stdlib-2.7.13: support resizing anonymous mmaps (2.7.12 and pypy previously get a EBADF

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89157:8e961f254b34 Date: 2016-12-18 18:55 +0100 http://bitbucket.org/pypy/pypy/changeset/8e961f254b34/ Log:support resizing anonymous mmaps (2.7.12 and pypy previously get a EBADF in this case) diff --git a/pypy/module/mmap/test/te

[pypy-commit] pypy stdlib-2.7.13: update sqlite3

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89158:79cf94d1d4ec Date: 2016-12-18 19:10 +0100 http://bitbucket.org/pypy/pypy/changeset/79cf94d1d4ec/ Log:update sqlite3 diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -36

[pypy-commit] pypy stdlib-2.7.13: Allow 'sys.maxint' as max_length in calls to zlib.decompressobj().decompress()

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89159:036509cd4445 Date: 2016-12-18 19:19 +0100 http://bitbucket.org/pypy/pypy/changeset/036509cd4445/ Log:Allow 'sys.maxint' as max_length in calls to zlib.decompressobj().decompress() diff --git a/pypy/module/zlib/interp_zlib.py

[pypy-commit] pypy stdlib-2.7.13: ssl fix for test_parse_all_sans

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89160:642126fc25ea Date: 2016-12-18 19:43 +0100 http://bitbucket.org/pypy/pypy/changeset/642126fc25ea/ Log:ssl fix for test_parse_all_sans diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/

[pypy-commit] pypy stdlib-2.7.13: fix for socket.ssl().read(0)

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89161:2106f69132d9 Date: 2016-12-18 19:58 +0100 http://bitbucket.org/pypy/pypy/changeset/2106f69132d9/ Log:fix for socket.ssl().read(0) diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/int

[pypy-commit] pypy stdlib-2.7.13: Improve the test, finding even more obscure cases

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89162:21d3d5d83974 Date: 2016-12-18 21:07 +0100 http://bitbucket.org/pypy/pypy/changeset/21d3d5d83974/ Log:Improve the test, finding even more obscure cases diff --git a/pypy/objspace/std/test/test_stringformat.py b/pypy/objspace/std/test

[pypy-commit] pypy stdlib-2.7.13: Give up, revert and skip the cpython test, and document in

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89163:803a7b9b59bf Date: 2016-12-18 21:27 +0100 http://bitbucket.org/pypy/pypy/changeset/803a7b9b59bf/ Log:Give up, revert and skip the cpython test, and document in cpython_differences.rst diff --git a/lib-python/2.7/test/test_for

[pypy-commit] pypy rffi-parser: Handle const pointers (we probably only care about 'const char *')

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89164:94988b4687ff Date: 2016-12-18 20:34 + http://bitbucket.org/pypy/pypy/changeset/94988b4687ff/ Log:Handle const pointers (we probably only care about 'const char *') diff --git a/pypy/module/cpyext/cparser.py b/pypy/module/cpyext/cpa

[pypy-commit] pypy stdlib-2.7.13: Revert the change to sqlite that occurred in 2.7.13, and document it as

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89167:23c8b64a1b80 Date: 2016-12-18 22:28 +0100 http://bitbucket.org/pypy/pypy/changeset/23c8b64a1b80/ Log:Revert the change to sqlite that occurred in 2.7.13, and document it as a known difference with CPython 2.7.13. diff --git a

[pypy-commit] pypy stdlib-2.7.13: tweak the error message to pass the cpython test

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89166:b0bc60afe38f Date: 2016-12-18 21:31 +0100 http://bitbucket.org/pypy/pypy/changeset/b0bc60afe38f/ Log:tweak the error message to pass the cpython test diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py --- a/pypy

[pypy-commit] pypy stdlib-2.7.13: fix version here too

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89168:47bb335b62e8 Date: 2016-12-18 22:45 +0100 http://bitbucket.org/pypy/pypy/changeset/47bb335b62e8/ Log:fix version here too diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyext/include/patchlevel.h --- a/pypy/modu

[pypy-commit] pypy stdlib-2.7.13: decompressobj().flush() also accepts sys.maxint now

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89169:bf66e022e49c Date: 2016-12-18 22:55 +0100 http://bitbucket.org/pypy/pypy/changeset/bf66e022e49c/ Log:decompressobj().flush() also accepts sys.maxint now diff --git a/pypy/module/zlib/interp_zlib.py b/pypy/module/zlib/interp_zlib.py -

[pypy-commit] pypy.org extradoc: Add a link from pypy.org to the bitbucket issues page

2016-12-18 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r836:a9c19b179793 Date: 2016-12-18 23:01 +0100 http://bitbucket.org/pypy/pypy.org/changeset/a9c19b179793/ Log:Add a link from pypy.org to the bitbucket issues page diff --git a/archive.html b/archive.html --- a/archive.html +++ b/archive.html @@

[pypy-commit] pypy stdlib-2.7.13: No clue if it's a good approach, but trying it out: allow cursors to

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89170:5d96f9ed88fe Date: 2016-12-18 23:28 +0100 http://bitbucket.org/pypy/pypy/changeset/5d96f9ed88fe/ Log:No clue if it's a good approach, but trying it out: allow cursors to linger like 2.7.13, but if they cause SQLITE_LOCKED, res

[pypy-commit] pypy stdlib-2.7.13: simplify code a bit

2016-12-18 Thread arigo
Author: Armin Rigo Branch: stdlib-2.7.13 Changeset: r89171:55980e9a374e Date: 2016-12-19 00:30 +0100 http://bitbucket.org/pypy/pypy/changeset/55980e9a374e/ Log:simplify code a bit diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @

[pypy-commit] pypy rffi-parser: const-correctness for tp_doc and tp_name

2016-12-18 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser Changeset: r89172:e3991a2b6927 Date: 2016-12-19 00:07 + http://bitbucket.org/pypy/pypy/changeset/e3991a2b6927/ Log:const-correctness for tp_doc and tp_name diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/buffer.py --- a/pypy/module/cp

[pypy-commit] pypy issue2444: translation fixes, redo self.pyobj to avoid check_graph_of_del_does_not_call_too_much() error

2016-12-18 Thread mattip
Author: Matti Picus Branch: issue2444 Changeset: r89173:bfce98836768 Date: 2016-12-18 23:24 +0200 http://bitbucket.org/pypy/pypy/changeset/bfce98836768/ Log:translation fixes, redo self.pyobj to avoid check_graph_of_del_does_not_call_too_much() error diff --git a/pypy/module/cpyext/s

[pypy-commit] pypy issue2444: failing test for leak in PyMemoryView_GET_BUFFER

2016-12-18 Thread mattip
Author: Matti Picus Branch: issue2444 Changeset: r89175:041bc115e0bd Date: 2016-12-19 06:20 +0200 http://bitbucket.org/pypy/pypy/changeset/041bc115e0bd/ Log:failing test for leak in PyMemoryView_GET_BUFFER diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py

[pypy-commit] pypy issue2444: merge default into branch

2016-12-18 Thread mattip
Author: Matti Picus Branch: issue2444 Changeset: r89174:b3b99a26e2b9 Date: 2016-12-18 23:42 +0200 http://bitbucket.org/pypy/pypy/changeset/b3b99a26e2b9/ Log:merge default into branch diff too long, truncating to 2000 out of 15848 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++