[pypy-commit] pypy default: test and fix for #3146

2020-01-09 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: Changeset: r98499:9e44a2dcc537 Date: 2020-01-09 14:45 +0100 http://bitbucket.org/pypy/pypy/changeset/9e44a2dcc537/ Log:test and fix for #3146 JsonDictStrategy was missing a setitem_str default implementation, so all strategies

[pypy-commit] pypy default: Test and fix

2019-04-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r96555:4cbb314b4683 Date: 2019-04-29 10:28 +0200 http://bitbucket.org/pypy/pypy/changeset/4cbb314b4683/ Log:Test and fix diff --git a/pypy/objspace/std/formatting.py b/pypy/objspace/std/formatting.py --- a/pypy/objspace/std/formatting.py +++

[pypy-commit] pypy default: Test and fix

2019-04-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r96554:05fb831f48eb Date: 2019-04-29 10:26 +0200 http://bitbucket.org/pypy/pypy/changeset/05fb831f48eb/ Log:Test and fix diff --git a/pypy/objspace/std/formatting.py b/pypy/objspace/std/formatting.py --- a/pypy/objspace/std/formatting.py +++

[pypy-commit] pypy default: Test and fix

2019-04-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r96551:0fd3a83a1891 Date: 2019-04-29 10:07 +0200 http://bitbucket.org/pypy/pypy/changeset/0fd3a83a1891/ Log:Test and fix diff --git a/pypy/module/_pypyjson/interp_decoder.py b/pypy/module/_pypyjson/interp_decoder.py ---

[pypy-commit] pypy default: Test and fix

2019-04-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r96550:d8a9df1bc3eb Date: 2019-04-29 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/d8a9df1bc3eb/ Log:Test and fix diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array/interp_array.py +++

[pypy-commit] pypy default: Test and fix

2019-04-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r96549:436c5f4660ab Date: 2019-04-29 09:54 +0200 http://bitbucket.org/pypy/pypy/changeset/436c5f4660ab/ Log:Test and fix diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py ---

[pypy-commit] pypy default: Test and fix for unicode.translate()

2019-04-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r96515:a229b0127567 Date: 2019-04-18 11:02 +0200 http://bitbucket.org/pypy/pypy/changeset/a229b0127567/ Log:Test and fix for unicode.translate() diff --git a/pypy/objspace/std/test/test_unicodeobject.py b/pypy/objspace/std/test/test_unicodeobject.py

[pypy-commit] pypy default: Test and fix for a large list unpacking

2019-03-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r96365:f8035bf26e3d Date: 2019-03-27 15:48 +0100 http://bitbucket.org/pypy/pypy/changeset/f8035bf26e3d/ Log:Test and fix for a large list unpacking diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/codegen.py ---

[pypy-commit] pypy default: Test and fix: can get a segfault instead of an IndexError "too many initializers"

2018-08-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r95041:beeebc0b35f3 Date: 2018-08-30 12:17 +0200 http://bitbucket.org/pypy/pypy/changeset/beeebc0b35f3/ Log:Test and fix: can get a segfault instead of an IndexError "too many initializers" diff --git a/pypy/module/_cffi_backend/ctypeobj.py

[pypy-commit] pypy default: Test and fix for issue #2788. Also implements "del obj.getsetprop".

2018-04-08 Thread arigo
Author: Armin Rigo Branch: Changeset: r94264:1843dd2013b4 Date: 2018-04-08 09:34 +0200 http://bitbucket.org/pypy/pypy/changeset/1843dd2013b4/ Log:Test and fix for issue #2788. Also implements "del obj.getsetprop". diff --git a/pypy/interpreter/test/test_typedef.py

[pypy-commit] pypy default: test and fix: in the on_abort hook, the descrs of guards are still None as it runs before optimization

2018-03-30 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: Changeset: r94178:fe40f4eff666 Date: 2018-03-30 08:28 +0200 http://bitbucket.org/pypy/pypy/changeset/fe40f4eff666/ Log:test and fix: in the on_abort hook, the descrs of guards are still None as it runs before optimization

[pypy-commit] pypy default: Test and fix interpreter crash after int overflow involving __length_hint__.

2018-03-19 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r94016:c5cc7018cdd5 Date: 2018-03-19 23:19 +0100 http://bitbucket.org/pypy/pypy/changeset/c5cc7018cdd5/ Log:Test and fix interpreter crash after int overflow involving __length_hint__. diff --git

[pypy-commit] pypy default: Test and fix: an ll_assert() can rarely fail in debug mode in the GC,

2017-09-14 Thread arigo
Author: Armin Rigo Branch: Changeset: r92386:9bd6fef43680 Date: 2017-09-14 10:52 +0200 http://bitbucket.org/pypy/pypy/changeset/9bd6fef43680/ Log:Test and fix: an ll_assert() can rarely fail in debug mode in the GC, but that's not a real problem diff --git

[pypy-commit] pypy default: test and fix

2017-03-14 Thread arigo
Author: Armin Rigo Branch: Changeset: r90686:9cc33cbcd4a7 Date: 2017-03-14 22:11 +0100 http://bitbucket.org/pypy/pypy/changeset/9cc33cbcd4a7/ Log:test and fix diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py ---

[pypy-commit] pypy default: test and fix: rposix.sendfile() didn't capture errno

2017-03-08 Thread arigo
Author: Armin Rigo Branch: Changeset: r90594:a88dd1282cf9 Date: 2017-03-08 15:56 +0100 http://bitbucket.org/pypy/pypy/changeset/a88dd1282cf9/ Log:test and fix: rposix.sendfile() didn't capture errno diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py ---

[pypy-commit] pypy default: Test and fix (from unicode-utf8): an obscure case where we get

2017-02-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r90405:98f4a2ce0fa5 Date: 2017-02-27 16:31 +0100 http://bitbucket.org/pypy/pypy/changeset/98f4a2ce0fa5/ Log:Test and fix (from unicode-utf8): an obscure case where we get convert_from_to() that targets SomeImpossibleValue. diff

[pypy-commit] pypy default: test and fix

2017-02-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r90203:4334782fe642 Date: 2017-02-19 16:41 +0100 http://bitbucket.org/pypy/pypy/changeset/4334782fe642/ Log:test and fix diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py ---

[pypy-commit] pypy default: test and fix

2017-01-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r89736:ad54ed3f27d2 Date: 2017-01-24 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/ad54ed3f27d2/ Log:test and fix diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpreter/astcompiler/astbuilder.py ---

[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

[pypy-commit] pypy default: Test and fix: type names

2016-12-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r88826:1e7540052811 Date: 2016-12-02 17:25 +0100 http://bitbucket.org/pypy/pypy/changeset/1e7540052811/ Log:Test and fix: type names diff --git a/pypy/interpreter/test/test_special.py b/pypy/interpreter/test/test_special.py ---

[pypy-commit] pypy default: Test and fix: try harder to propagate 'can_be_None=False' information

2016-11-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r88643:27b352d10c03 Date: 2016-11-24 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/27b352d10c03/ Log:Test and fix: try harder to propagate 'can_be_None=False' information diff --git a/rpython/rlib/jit.py

[pypy-commit] pypy default: test and fix: PyDict_Update is not actually the same as dict.update in CPython

2016-11-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r88582:436f95cd8184 Date: 2016-11-23 17:25 +0100 http://bitbucket.org/pypy/pypy/changeset/436f95cd8184/ Log:test and fix: PyDict_Update is not actually the same as dict.update in CPython (that would be too simple) diff

[pypy-commit] pypy default: Test and fix for 'methodcaller(..., self=...)'

2016-11-20 Thread arigo
Author: Armin Rigo Branch: Changeset: r88493:030861c2e0a2 Date: 2016-11-20 16:48 +0100 http://bitbucket.org/pypy/pypy/changeset/030861c2e0a2/ Log:Test and fix for 'methodcaller(..., self=...)' diff --git a/pypy/module/operator/app_operator.py

[pypy-commit] pypy default: Test and fix

2016-09-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r87119:b509a7598625 Date: 2016-09-15 09:23 +0200 http://bitbucket.org/pypy/pypy/changeset/b509a7598625/ Log:Test and fix diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/module/_cffi_backend/ctypefunc.py ---

[pypy-commit] pypy default: test and fix

2016-08-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r86696:0262db87059d Date: 2016-08-29 16:13 +0200 http://bitbucket.org/pypy/pypy/changeset/0262db87059d/ Log:test and fix diff --git a/rpython/rlib/rsre/rsre_char.py b/rpython/rlib/rsre/rsre_char.py --- a/rpython/rlib/rsre/rsre_char.py

[pypy-commit] pypy default: Test and fix for rposix.fdopendir()

2016-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r86392:43568988afe8 Date: 2016-08-22 10:05 +0200 http://bitbucket.org/pypy/pypy/changeset/43568988afe8/ Log:Test and fix for rposix.fdopendir() diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py

[pypy-commit] pypy default: Test and fix for yet another very obscure misfeature of ctypes

2016-04-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r84052:9f9c409ee27e Date: 2016-04-30 10:40 +0200 http://bitbucket.org/pypy/pypy/changeset/9f9c409ee27e/ Log:Test and fix for yet another very obscure misfeature of ctypes diff --git a/rpython/rtyper/lltypesystem/ll2ctypes.py

[pypy-commit] pypy default: Test and fix for unicode_dealloc().

2016-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r83917:5c74afbd7d74 Date: 2016-04-26 21:07 +0200 http://bitbucket.org/pypy/pypy/changeset/5c74afbd7d74/ Log:Test and fix for unicode_dealloc(). diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py ---

[pypy-commit] pypy default: Test and fix: we could get in obscure cases an AssertionError that

2016-03-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r83414:bd677c5dd9b8 Date: 2016-03-29 10:50 +0200 http://bitbucket.org/pypy/pypy/changeset/bd677c5dd9b8/ Log:Test and fix: we could get in obscure cases an AssertionError that should really be just an InvalidLoop diff --git

[pypy-commit] pypy default: Test and fix: if we use create_link_pypy() on *non-nursery* young

2016-03-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r82998:82f5992c242d Date: 2016-03-12 20:24 +0100 http://bitbucket.org/pypy/pypy/changeset/82f5992c242d/ Log:Test and fix: if we use create_link_pypy() on *non-nursery* young objects, crash diff --git

[pypy-commit] pypy default: Test and fix for another corner case (likely shown by Krakatau)

2016-02-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r82267:96c2ec82f010 Date: 2016-02-15 16:32 +0100 http://bitbucket.org/pypy/pypy/changeset/96c2ec82f010/ Log:Test and fix for another corner case (likely shown by Krakatau) diff --git a/rpython/jit/metainterp/optimizeopt/rewrite.py

[pypy-commit] pypy default: test and fix for the sandboxing issue on 32-bit (test_lseek)

2016-01-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r81833:4fd739667032 Date: 2016-01-18 11:08 +0100 http://bitbucket.org/pypy/pypy/changeset/4fd739667032/ Log:test and fix for the sandboxing issue on 32-bit (test_lseek) diff --git a/rpython/rlib/rmarshal.py b/rpython/rlib/rmarshal.py

[pypy-commit] pypy default: Test and fix

2016-01-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r81543:4b35b2c07181 Date: 2016-01-04 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/4b35b2c07181/ Log:Test and fix diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py --- a/rpython/rlib/buffer.py +++

[pypy-commit] pypy default: test and fix (via a fastpath for scalars) SliceArrays with scalar assignment

2015-10-14 Thread mattip
Author: mattip Branch: Changeset: r80221:de3e116ddd1c Date: 2015-10-14 23:40 +0300 http://bitbucket.org/pypy/pypy/changeset/de3e116ddd1c/ Log:test and fix (via a fastpath for scalars) SliceArrays with scalar assignment diff --git

[pypy-commit] pypy default: Test and fix

2015-10-09 Thread arigo
Author: Armin Rigo Branch: Changeset: r80095:5c2b0a8678a4 Date: 2015-10-09 19:40 +0200 http://bitbucket.org/pypy/pypy/changeset/5c2b0a8678a4/ Log:Test and fix diff --git a/pypy/module/_cffi_backend/ctypearray.py b/pypy/module/_cffi_backend/ctypearray.py ---

[pypy-commit] pypy default: Test and fix (this should fix test_pypy_c.test_generators)

2015-09-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r79859:afce8682985f Date: 2015-09-27 09:49 +0200 http://bitbucket.org/pypy/pypy/changeset/afce8682985f/ Log:Test and fix (this should fix test_pypy_c.test_generators) diff --git a/rpython/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy default: Test and fix for a segfault in itertools.islice()

2015-09-14 Thread arigo
Author: Armin Rigo Branch: Changeset: r79620:2e44a71f Date: 2015-09-14 13:10 +0200 http://bitbucket.org/pypy/pypy/changeset/2e44a71f/ Log:Test and fix for a segfault in itertools.islice() diff --git a/pypy/module/itertools/interp_itertools.py

[pypy-commit] pypy default: Test and fix for rare annotation issue

2015-09-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r79460:77d8c602142b Date: 2015-09-05 13:13 +0200 http://bitbucket.org/pypy/pypy/changeset/77d8c602142b/ Log:Test and fix for rare annotation issue diff --git a/rpython/annotator/test/test_annrpython.py

[pypy-commit] pypy default: Test and fix in the annotator! Still!

2015-07-04 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r78430:705d7abb7534 Date: 2015-07-04 20:09 +0200 http://bitbucket.org/pypy/pypy/changeset/705d7abb7534/ Log:Test and fix in the annotator! Still! diff --git a/rpython/annotator/builtin.py b/rpython/annotator/builtin.py ---

[pypy-commit] pypy default: Test and fix for a case of mutating kwargs dictionaries. Thanks

2015-06-27 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r78329:f35f84a382a9 Date: 2015-06-27 15:19 +0200 http://bitbucket.org/pypy/pypy/changeset/f35f84a382a9/ Log:Test and fix for a case of mutating kwargs dictionaries. Thanks Mitsuhiko diff --git

[pypy-commit] pypy default: Test and fix for a better error message on failing imports

2015-06-23 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r78219:fcb2ba48f07c Date: 2015-06-21 09:26 +0200 http://bitbucket.org/pypy/pypy/changeset/fcb2ba48f07c/ Log:Test and fix for a better error message on failing imports diff --git a/rpython/flowspace/flowcontext.py

[pypy-commit] pypy default: Test and fix: ffi.addressof(lib, 'func-with-struct-args') would return

2015-06-23 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r78249:e8bd7b84971b Date: 2015-06-23 09:28 +0200 http://bitbucket.org/pypy/pypy/changeset/e8bd7b84971b/ Log:Test and fix: ffi.addressof(lib, 'func-with-struct-args') would return a badly typed cdata object diff --git

[pypy-commit] pypy default: Test and fix for 'math.fsum([nan])'. It's a typo when copying from CPython's mathmodule.c.

2015-06-23 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r78258:459148974175 Date: 2015-06-23 13:20 +0200 http://bitbucket.org/pypy/pypy/changeset/459148974175/ Log:Test and fix for 'math.fsum([nan])'. It's a typo when copying from CPython's mathmodule.c. diff --git

[pypy-commit] pypy default: Test and fix: the test (s == ) was optimized by incorrectly assuming

2015-05-26 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r77585:f883c1d60693 Date: 2015-05-26 17:04 +0200 http://bitbucket.org/pypy/pypy/changeset/f883c1d60693/ Log:Test and fix: the test (s == ) was optimized by incorrectly assuming that s is not None diff --git

[pypy-commit] pypy default: Test and fix for gdbm

2015-05-06 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r77170:e0f1bcfbc61b Date: 2015-05-06 21:26 +0200 http://bitbucket.org/pypy/pypy/changeset/e0f1bcfbc61b/ Log:Test and fix for gdbm diff --git a/lib_pypy/gdbm.py b/lib_pypy/gdbm.py --- a/lib_pypy/gdbm.py +++ b/lib_pypy/gdbm.py @@ -112,7

[pypy-commit] pypy default: Test and fix for END_FINALLY's stack usage

2015-04-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76757:e66f14f4e3d9 Date: 2015-04-09 14:26 +0200 http://bitbucket.org/pypy/pypy/changeset/e66f14f4e3d9/ Log:Test and fix for END_FINALLY's stack usage diff --git a/pypy/interpreter/astcompiler/assemble.py

[pypy-commit] pypy default: Test and fix

2015-04-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76759:d77902fffe58 Date: 2015-04-09 14:45 +0200 http://bitbucket.org/pypy/pypy/changeset/d77902fffe58/ Log:Test and fix diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py ---

[pypy-commit] pypy default: Test and fix

2015-04-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76760:f57c8be4e18c Date: 2015-04-09 14:52 +0200 http://bitbucket.org/pypy/pypy/changeset/f57c8be4e18c/ Log:Test and fix diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py ---

[pypy-commit] pypy default: Test and fix

2015-04-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76758:72049e6e23d8 Date: 2015-04-09 14:37 +0200 http://bitbucket.org/pypy/pypy/changeset/72049e6e23d8/ Log:Test and fix diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py ---

[pypy-commit] pypy default: Test and fix

2015-04-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76748:523b8af1cd1c Date: 2015-04-08 10:00 +0200 http://bitbucket.org/pypy/pypy/changeset/523b8af1cd1c/ Log:Test and fix diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py

[pypy-commit] pypy default: Test and fix for issue #2006

2015-04-01 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76677:ba063d80a04f Date: 2015-04-01 15:25 +0200 http://bitbucket.org/pypy/pypy/changeset/ba063d80a04f/ Log:Test and fix for issue #2006 diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++

[pypy-commit] pypy default: Test and fix for a very rare case

2015-03-31 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76665:dac9223bca11 Date: 2015-03-31 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/dac9223bca11/ Log:Test and fix for a very rare case diff --git a/rpython/rtyper/rpbc.py b/rpython/rtyper/rpbc.py --- a/rpython/rtyper/rpbc.py +++

[pypy-commit] pypy default: Test and fix for EmptyProfiler

2015-03-21 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76485:8438bb05ecf2 Date: 2015-03-21 09:21 +0100 http://bitbucket.org/pypy/pypy/changeset/8438bb05ecf2/ Log:Test and fix for EmptyProfiler diff --git a/rpython/jit/metainterp/jitprof.py b/rpython/jit/metainterp/jitprof.py ---

[pypy-commit] pypy default: Test and fix: a type's __eq__ or __ne__ methods must return

2015-03-16 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r76419:c5e489d4b8a7 Date: 2015-03-16 19:17 +0100 http://bitbucket.org/pypy/pypy/changeset/c5e489d4b8a7/ Log:Test and fix: a type's __eq__ or __ne__ methods must return NotImplemented instead of False when given a non-type diff

[pypy-commit] pypy default: Test and fix (discovered by 5eb6bfa9ec8e)

2015-02-15 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r75897:6b4ac7be0d78 Date: 2015-02-15 16:05 +0100 http://bitbucket.org/pypy/pypy/changeset/6b4ac7be0d78/ Log:Test and fix (discovered by 5eb6bfa9ec8e) diff --git a/rpython/annotator/listdef.py b/rpython/annotator/listdef.py ---

[pypy-commit] pypy default: Test and fix: Cls.__dict__.popitem() = segfault instead of KeyError

2015-01-16 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r75374:0e383b1145e4 Date: 2015-01-16 11:41 +0100 http://bitbucket.org/pypy/pypy/changeset/0e383b1145e4/ Log:Test and fix: Cls.__dict__.popitem() = segfault instead of KeyError diff --git a/pypy/objspace/std/dictmultiobject.py

[pypy-commit] pypy default: Test and fix

2014-12-24 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r75105:b950155cdd8a Date: 2014-12-24 16:57 +0100 http://bitbucket.org/pypy/pypy/changeset/b950155cdd8a/ Log:Test and fix diff --git a/rpython/annotator/model.py b/rpython/annotator/model.py --- a/rpython/annotator/model.py +++

[pypy-commit] pypy default: Test and fix

2014-11-13 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r74497:f175883d10c1 Date: 2014-11-13 10:26 +0100 http://bitbucket.org/pypy/pypy/changeset/f175883d10c1/ Log:Test and fix diff --git a/pypy/objspace/std/strbufobject.py b/pypy/objspace/std/strbufobject.py ---

[pypy-commit] pypy default: Test and fix: produce a user-readable jit_debug() output in the logs

2014-11-10 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r74432:a5e7edf73a08 Date: 2014-11-10 21:24 +0100 http://bitbucket.org/pypy/pypy/changeset/a5e7edf73a08/ Log:Test and fix: produce a user-readable jit_debug() output in the logs too, not just when tracing it the first time. It was

[pypy-commit] pypy default: Test and fix for issue #1909: the logic would incorrectly insert

2014-10-30 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r74303:642e055393ac Date: 2014-10-30 20:20 +0100 http://bitbucket.org/pypy/pypy/changeset/642e055393ac/ Log:Test and fix for issue #1909: the logic would incorrectly insert some zero_ptr_field() operation between an int_add_ovf()

[pypy-commit] pypy default: Test and fix on Windows: if we pass a timeout larger than 49 days, we

2014-10-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r74237:66b144c1d6f7 Date: 2014-10-25 19:24 +0200 http://bitbucket.org/pypy/pypy/changeset/66b144c1d6f7/ Log:Test and fix on Windows: if we pass a timeout larger than 49 days, we used to get an abort in thread_nt.c. diff --git

[pypy-commit] pypy default: Test and fix, likely fixes issue 1887

2014-10-13 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r73922:80f6a6e5c89c Date: 2014-10-13 19:18 +0200 http://bitbucket.org/pypy/pypy/changeset/80f6a6e5c89c/ Log:Test and fix, likely fixes issue 1887 diff --git a/rpython/rlib/streamio.py b/rpython/rlib/streamio.py ---

[pypy-commit] pypy default: Test and fix: give a sane error message

2014-10-03 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r73762:c9685aebe8e0 Date: 2014-10-03 16:00 +0200 http://bitbucket.org/pypy/pypy/changeset/c9685aebe8e0/ Log:Test and fix: give a sane error message diff --git a/rpython/jit/codewriter/jtransform.py b/rpython/jit/codewriter/jtransform.py

[pypy-commit] pypy default: Test and fix (for 64-bit only): the nonnull() method of ConstFloat

2014-09-28 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r73742:03e137fd14b3 Date: 2014-09-28 22:45 +0200 http://bitbucket.org/pypy/pypy/changeset/03e137fd14b3/ Log:Test and fix (for 64-bit only): the nonnull() method of ConstFloat and BoxFloat was implemented with self.value != 0.0,

[pypy-commit] pypy default: Test and fix (the code in module/pypyjit was already doing that correctly)

2014-08-07 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r72713:380497b41b43 Date: 2014-08-07 20:44 +0200 http://bitbucket.org/pypy/pypy/changeset/380497b41b43/ Log:Test and fix (the code in module/pypyjit was already doing that correctly) diff --git a/pypy/interpreter/pyopcode.py

[pypy-commit] pypy default: Test and fix for llexternal(macro=True) seen by the JIT.

2014-06-27 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r72251:5fe7c3c02218 Date: 2014-06-27 11:58 +0200 http://bitbucket.org/pypy/pypy/changeset/5fe7c3c02218/ Log:Test and fix for llexternal(macro=True) seen by the JIT. diff --git a/rpython/jit/backend/llsupport/test/ztranslation_test.py

[pypy-commit] pypy default: Test and fix (struys and eevee on http://stackoverflow.com/questions/23816549)

2014-05-24 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r71693:69ff0c3801ca Date: 2014-05-24 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/69ff0c3801ca/ Log:Test and fix (struys and eevee on http://stackoverflow.com/questions/23816549) diff --git a/pypy/module/imp/importing.py

[pypy-commit] pypy default: test and fix

2014-05-10 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r71439:6a78aac458a8 Date: 2014-05-10 17:14 +0200 http://bitbucket.org/pypy/pypy/changeset/6a78aac458a8/ Log:test and fix diff --git a/rpython/rlib/debug.py b/rpython/rlib/debug.py --- a/rpython/rlib/debug.py +++ b/rpython/rlib/debug.py

[pypy-commit] pypy default: Test and fix (according to -A)

2014-05-01 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r71127:5fc41bfef56f Date: 2014-05-01 09:31 +0200 http://bitbucket.org/pypy/pypy/changeset/5fc41bfef56f/ Log:Test and fix (according to -A) diff --git a/pypy/module/_lsprof/interp_lsprof.py b/pypy/module/_lsprof/interp_lsprof.py ---

[pypy-commit] pypy default: Test and fix: submodules of built-in modules had their classes

2014-04-15 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r70636:6dac6407412f Date: 2014-04-15 15:08 +0200 http://bitbucket.org/pypy/pypy/changeset/6dac6407412f/ Log:Test and fix: submodules of built-in modules had their classes incorrectly reported as belonging to the base module. diff

[pypy-commit] pypy default: test and fix: NonNull is not more general than NULL (!!!)

2014-04-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r70441:e16936f60a43 Date: 2014-04-04 18:01 +0200 http://bitbucket.org/pypy/pypy/changeset/e16936f60a43/ Log:test and fix: NonNull is not more general than NULL (!!!) fixes the test, but another bug is still around diff

[pypy-commit] pypy default: Test and fix: 'guard_not_forced_2' was ignored if followed by a 'finish'

2014-03-31 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r70345:8f8d27711915 Date: 2014-03-31 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/8f8d27711915/ Log:Test and fix: 'guard_not_forced_2' was ignored if followed by a 'finish' that doesn't return a reference. Found

[pypy-commit] pypy default: Test and fix for the issue of dicts occasionally not updating their

2014-03-22 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r70157:7e2b44e79080 Date: 2014-03-22 09:17 +0100 http://bitbucket.org/pypy/pypy/changeset/7e2b44e79080/ Log:Test and fix for the issue of dicts occasionally not updating their cached status on a del. The fix is to record the whole

[pypy-commit] pypy default: Test and fix for [None] * some_r_uint_number.

2014-02-26 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r69452:1e265793f593 Date: 2014-02-26 09:16 +0100 http://bitbucket.org/pypy/pypy/changeset/1e265793f593/ Log:Test and fix for [None] * some_r_uint_number. diff --git a/rpython/rtyper/test/test_rlist.py b/rpython/rtyper/test/test_rlist.py

[pypy-commit] pypy default: Test and fix: the _nowrapper C functions couldn't be elided before.

2014-02-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r69417:3c477e9543db Date: 2014-02-25 13:16 +0100 http://bitbucket.org/pypy/pypy/changeset/3c477e9543db/ Log:Test and fix: the _nowrapper C functions couldn't be elided before. diff --git a/rpython/jit/codewriter/test/test_call.py

[pypy-commit] pypy default: Test and fix.

2014-02-10 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r69114:8c8b45fbe536 Date: 2014-02-10 11:00 +0100 http://bitbucket.org/pypy/pypy/changeset/8c8b45fbe536/ Log:Test and fix. diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py --- a/rpython/rlib/rfile.py +++ b/rpython/rlib/rfile.py

[pypy-commit] pypy default: Test and fix

2014-02-03 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r69067:36ce13e8847d Date: 2014-02-04 00:11 +0100 http://bitbucket.org/pypy/pypy/changeset/36ce13e8847d/ Log:Test and fix diff --git a/pypy/objspace/std/specialisedtupleobject.py b/pypy/objspace/std/specialisedtupleobject.py ---

[pypy-commit] pypy default: Test and fix

2014-01-26 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r68958:beafaef52b05 Date: 2014-01-27 00:36 +0100 http://bitbucket.org/pypy/pypy/changeset/beafaef52b05/ Log:Test and fix diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++

[pypy-commit] pypy default: Test and fix: the parser would use UTF-16 and produce surrogates

2014-01-22 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r68838:574aa48e4875 Date: 2014-01-22 10:33 +0100 http://bitbucket.org/pypy/pypy/changeset/574aa48e4875/ Log:Test and fix: the parser would use UTF-16 and produce surrogates from the source code, even if we're a UTF-32 version of

[pypy-commit] pypy default: Test and fix (thanks ionelmc on irc).

2013-12-20 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r68511:8331c42d7d4a Date: 2013-12-20 20:27 +0100 http://bitbucket.org/pypy/pypy/changeset/8331c42d7d4a/ Log:Test and fix (thanks ionelmc on irc). diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py ---

[pypy-commit] pypy default: Test and fix for issue #1632.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67891:a3af3cc958c5 Date: 2013-11-09 11:27 +0100 http://bitbucket.org/pypy/pypy/changeset/a3af3cc958c5/ Log:Test and fix for issue #1632. diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] pypy default: Test and fix

2013-11-06 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67863:bed2204ab3ba Date: 2013-11-06 11:07 +0100 http://bitbucket.org/pypy/pypy/changeset/bed2204ab3ba/ Log:Test and fix diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py

[pypy-commit] pypy default: test and fix for noncommutative accumulate segfault

2013-10-29 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r67700:db79497dfb4f Date: 2013-10-29 13:37 -0400 http://bitbucket.org/pypy/pypy/changeset/db79497dfb4f/ Log:test and fix for noncommutative accumulate segfault diff --git a/pypy/module/micronumpy/loop.py

[pypy-commit] pypy default: test and fix numpy void getitem behavior

2013-10-29 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r67695:be671931b570 Date: 2013-10-29 12:41 -0400 http://bitbucket.org/pypy/pypy/changeset/be671931b570/ Log:test and fix numpy void getitem behavior diff --git a/pypy/module/micronumpy/interp_boxes.py

[pypy-commit] pypy default: test and fix numpy dtype getitem behavior

2013-10-29 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r67694:00ce0266c6c3 Date: 2013-10-29 12:32 -0400 http://bitbucket.org/pypy/pypy/changeset/00ce0266c6c3/ Log:test and fix numpy dtype getitem behavior diff --git a/pypy/module/micronumpy/interp_dtype.py

[pypy-commit] pypy default: test and fix

2013-10-24 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67546:deb9af94dcc2 Date: 2013-10-24 08:25 +0200 http://bitbucket.org/pypy/pypy/changeset/deb9af94dcc2/ Log:test and fix diff --git a/pypy/module/_cffi_backend/ctypeobj.py b/pypy/module/_cffi_backend/ctypeobj.py ---

[pypy-commit] pypy default: Test and fix

2013-10-24 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67548:be1986c9f303 Date: 2013-10-24 09:03 +0200 http://bitbucket.org/pypy/pypy/changeset/be1986c9f303/ Log:Test and fix diff --git a/pypy/module/_cffi_backend/ctypeptr.py b/pypy/module/_cffi_backend/ctypeptr.py ---

[pypy-commit] pypy default: test and fix

2013-10-24 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67554:20c63568140f Date: 2013-10-24 10:22 +0200 http://bitbucket.org/pypy/pypy/changeset/20c63568140f/ Log:test and fix diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py ---

[pypy-commit] pypy default: Test and fix

2013-10-13 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67341:e99ecdbbbcc7 Date: 2013-10-13 09:12 +0200 http://bitbucket.org/pypy/pypy/changeset/e99ecdbbbcc7/ Log:Test and fix diff --git a/rpython/rtyper/rint.py b/rpython/rtyper/rint.py --- a/rpython/rtyper/rint.py +++

[pypy-commit] pypy default: Test and fix for the error message

2013-10-08 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67204:ae1fe34facf8 Date: 2013-10-08 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/ae1fe34facf8/ Log:Test and fix for the error message diff --git a/rpython/rtyper/rstr.py b/rpython/rtyper/rstr.py --- a/rpython/rtyper/rstr.py +++

[pypy-commit] pypy default: Test and fix.

2013-09-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r66876:0e2f0d910e8f Date: 2013-09-09 21:55 +0200 http://bitbucket.org/pypy/pypy/changeset/0e2f0d910e8f/ Log:Test and fix. diff --git a/rpython/rtyper/rpbc.py b/rpython/rtyper/rpbc.py --- a/rpython/rtyper/rpbc.py +++

[pypy-commit] pypy default: Test and fix: 'object' has an empty __init__ which we should not copy.

2013-08-20 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r66255:ee2311d4ba26 Date: 2013-08-20 14:15 +0200 http://bitbucket.org/pypy/pypy/changeset/ee2311d4ba26/ Log:Test and fix: 'object' has an empty __init__ which we should not copy. diff --git a/pypy/interpreter/buffer.py

[pypy-commit] pypy default: Test and fix for an issue reported by krono on irc

2013-08-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r66033:8be5fec47a23 Date: 2013-08-09 10:56 +0200 http://bitbucket.org/pypy/pypy/changeset/8be5fec47a23/ Log:Test and fix for an issue reported by krono on irc diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py ---

[pypy-commit] pypy default: Test and fix. (no cookies :-)

2013-07-11 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r65359:4229b0f4399f Date: 2013-07-12 00:13 +0200 http://bitbucket.org/pypy/pypy/changeset/4229b0f4399f/ Log:Test and fix. (no cookies :-) diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py ---

[pypy-commit] pypy default: Test and fix issue with set optimization that made frozenset([1, 2]) set([2]) a set instead of an frozenset.

2013-06-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r64950:a178d3a3cf1b Date: 2013-06-21 18:09 +0200 http://bitbucket.org/pypy/pypy/changeset/a178d3a3cf1b/ Log:Test and fix issue with set optimization that made frozenset([1, 2]) set([2]) a set instead of an frozenset. diff --git

[pypy-commit] pypy default: Test and fix for from_pkg_config().

2013-05-29 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r64663:a66a2e966de1 Date: 2013-05-29 12:09 +0200 http://bitbucket.org/pypy/pypy/changeset/a66a2e966de1/ Log:Test and fix for from_pkg_config(). diff --git a/rpython/translator/tool/cbuild.py b/rpython/translator/tool/cbuild.py ---

[pypy-commit] pypy default: Test and fix for ``((1, 2) == object())`` returning space.w_NotImplementedError.

2013-05-22 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r64466:5bcf229de77c Date: 2013-05-22 18:38 +0200 http://bitbucket.org/pypy/pypy/changeset/5bcf229de77c/ Log:Test and fix for ``((1, 2) == object())`` returning space.w_NotImplementedError. diff --git

[pypy-commit] pypy default: test and fix uneven comparisons

2013-05-15 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r64157:d36d874c476a Date: 2013-05-15 15:43 +0200 http://bitbucket.org/pypy/pypy/changeset/d36d874c476a/ Log:test and fix uneven comparisons diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py ---

[pypy-commit] pypy default: Test and fix for cffi issue #78. Consolidate in rx86.py the 'abs_' and

2013-04-18 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r63495:0ea3b7331c89 Date: 2013-04-19 00:16 +0200 http://bitbucket.org/pypy/pypy/changeset/0ea3b7331c89/ Log:Test and fix for cffi issue #78. Consolidate in rx86.py the 'abs_' and the following 'immediate()' in a single 'abs_()',

[pypy-commit] pypy default: test and fix for BytesIO.__init__()

2013-04-12 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r63284:61d35aaefb02 Date: 2013-04-12 13:14 -0400 http://bitbucket.org/pypy/pypy/changeset/61d35aaefb02/ Log:test and fix for BytesIO.__init__() diff --git a/pypy/module/_io/interp_bytesio.py b/pypy/module/_io/interp_bytesio.py ---

  1   2   >