[pypy-commit] pypy default: simplify the call to wrap_oserror2

2020-02-02 Thread mattip
Author: Matti Picus Branch: Changeset: r98627:2821b0633b53 Date: 2020-01-31 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/2821b0633b53/ Log:simplify the call to wrap_oserror2 diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py --- a/pypy/interpreter/error.py +++

[pypy-commit] pypy default: Simplify again sys._current_frames() from d48eaa036796. I *think*

2019-09-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r97377:6ef693fdb897 Date: 2019-09-05 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/6ef693fdb897/ Log:Simplify again sys._current_frames() from d48eaa036796. I *think* that by now it's not needed any more, and some basic testing seems

[pypy-commit] pypy default: simplify by requiring user to specify exe name

2019-03-25 Thread mattip
Author: Matti Picus Branch: Changeset: r96348:7dfde239f1b9 Date: 2019-03-25 08:43 +0200 http://bitbucket.org/pypy/pypy/changeset/7dfde239f1b9/ Log:simplify by requiring user to specify exe name diff --git a/pypy/tool/release/repackage.sh b/pypy/tool/release/repackage.sh ---

[pypy-commit] pypy default: Simplify a bit

2018-11-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r95384:ddf5bd822a68 Date: 2018-11-29 13:35 +0200 http://bitbucket.org/pypy/pypy/changeset/ddf5bd822a68/ Log:Simplify a bit diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_ajit.py ---

[pypy-commit] pypy default: Simplify tests

2018-11-17 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r95328:6891f3d45a36 Date: 2018-11-17 20:07 + http://bitbucket.org/pypy/pypy/changeset/6891f3d45a36/ Log:Simplify tests diff --git a/pypy/module/_rawffi/alt/test/test_ffitype.py b/pypy/module/_rawffi/alt/test/test_ffitype.py ---

[pypy-commit] pypy default: simplify

2018-10-20 Thread arigo
Author: Armin Rigo Branch: Changeset: r95226:72c9b40c6515 Date: 2018-10-20 14:10 +0200 http://bitbucket.org/pypy/pypy/changeset/72c9b40c6515/ Log:simplify diff --git a/pypy/module/_cffi_backend/misc.py b/pypy/module/_cffi_backend/misc.py --- a/pypy/module/_cffi_backend/misc.py +++

[pypy-commit] pypy default: Simplify misc.as_long()

2018-09-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r95121:048ec4801682 Date: 2018-09-15 23:02 +0200 http://bitbucket.org/pypy/pypy/changeset/048ec4801682/ Log:Simplify misc.as_long() diff --git a/pypy/module/_cffi_backend/misc.py b/pypy/module/_cffi_backend/misc.py ---

[pypy-commit] pypy default: simplify test

2018-04-19 Thread mattip
Author: Matti Picus Branch: Changeset: r94387:ad79cc0ce9a8 Date: 2018-04-19 23:37 +0300 http://bitbucket.org/pypy/pypy/changeset/ad79cc0ce9a8/ Log:simplify test diff --git a/pypy/module/cpyext/test/test_unicodeobject.py

[pypy-commit] pypy default: Simplify _find_line_ending() and fix logic in the case of embedded \r and self.readnl=='\r\n'

2017-11-23 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93147:8369cd92f7d0 Date: 2017-11-23 17:52 + http://bitbucket.org/pypy/pypy/changeset/8369cd92f7d0/ Log:Simplify _find_line_ending() and fix logic in the case of embedded \r and self.readnl=='\r\n' diff --git

[pypy-commit] pypy default: Simplify code

2017-11-15 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93049:5e549a04ab94 Date: 2016-11-20 16:57 + http://bitbucket.org/pypy/pypy/changeset/5e549a04ab94/ Log:Simplify code diff --git a/rpython/annotator/dictdef.py b/rpython/annotator/dictdef.py --- a/rpython/annotator/dictdef.py

[pypy-commit] pypy default: simplify the logic

2017-08-20 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r92181:f59f82d01a6d Date: 2017-08-20 19:04 +0200 http://bitbucket.org/pypy/pypy/changeset/f59f82d01a6d/ Log:simplify the logic diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend/llsupport/regalloc.py

[pypy-commit] pypy default: Simplify and complete the tests

2017-06-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r91556:e2b62fc32b15 Date: 2017-06-07 08:15 +0200 http://bitbucket.org/pypy/pypy/changeset/e2b62fc32b15/ Log:Simplify and complete the tests diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_array.py

[pypy-commit] pypy default: simplify

2017-02-13 Thread arigo
Author: Armin Rigo Branch: Changeset: r90093:21fe41563985 Date: 2017-02-13 17:06 +0100 http://bitbucket.org/pypy/pypy/changeset/21fe41563985/ Log:simplify diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++

[pypy-commit] pypy default: Simplify the signature of pop(). Needed anyway because CPython 3.5.3

2017-02-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r89984:3dce7b717294 Date: 2017-02-06 19:56 +0100 http://bitbucket.org/pypy/pypy/changeset/3dce7b717294/ Log:Simplify the signature of pop(). Needed anyway because CPython 3.5.3 adds a test that OrderedDict.pop() can be called

[pypy-commit] pypy default: Simplify code

2016-12-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89268:7ea1e9aea7b0 Date: 2016-12-29 18:24 +0100 http://bitbucket.org/pypy/pypy/changeset/7ea1e9aea7b0/ Log:Simplify code diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++

[pypy-commit] pypy default: Simplify the unwrapper_raise/unwrapper_catch mess a little

2016-12-14 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89061:c36941f291c3 Date: 2016-12-14 17:26 + http://bitbucket.org/pypy/pypy/changeset/c36941f291c3/ Log:Simplify the unwrapper_raise/unwrapper_catch mess a little diff --git a/pypy/module/cpyext/api.py

[pypy-commit] pypy default: Simplify slot definition code by adding llslot() helper

2016-12-10 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89002:ced4d857b5dc Date: 2016-12-10 17:03 + http://bitbucket.org/pypy/pypy/changeset/ced4d857b5dc/ Log:Simplify slot definition code by adding llslot() helper diff --git a/pypy/module/cpyext/pyobject.py

[pypy-commit] pypy default: Simplify stuff

2016-04-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r84051:bc001996d331 Date: 2016-04-30 10:33 +0200 http://bitbucket.org/pypy/pypy/changeset/bc001996d331/ Log:Simplify stuff diff --git a/rpython/rtyper/lltypesystem/ll2ctypes.py b/rpython/rtyper/lltypesystem/ll2ctypes.py ---

[pypy-commit] pypy default: simplify sys_exc_info to return None for a cleared exception and reuse some of

2016-04-25 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r83888:c24bc2ff9f5d Date: 2016-04-25 17:34 -0700 http://bitbucket.org/pypy/pypy/changeset/c24bc2ff9f5d/ Log:simplify sys_exc_info to return None for a cleared exception and reuse some of it in RAISE_VARARGS diff --git

[pypy-commit] pypy default: simplify ifdefs, add arm case

2016-03-12 Thread mattip
Author: mattip Branch: Changeset: r82997:94c2361efe8b Date: 2016-03-12 20:29 +0200 http://bitbucket.org/pypy/pypy/changeset/94c2361efe8b/ Log:simplify ifdefs, add arm case diff --git a/rpython/rlib/rvmprof/src/vmprof_config.h

[pypy-commit] pypy default: Simplify tests by using a dict as the reference.

2016-02-27 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82592:56afe29ed2bf Date: 2016-02-27 16:35 +0100 http://bitbucket.org/pypy/pypy/changeset/56afe29ed2bf/ Log:Simplify tests by using a dict as the reference. diff --git a/rpython/rtyper/test/test_rdict.py

[pypy-commit] pypy default: Simplify a bit the code here

2016-01-15 Thread arigo
Author: Armin Rigo Branch: Changeset: r81821:e430d927cd28 Date: 2016-01-15 20:02 +0100 http://bitbucket.org/pypy/pypy/changeset/e430d927cd28/ Log:Simplify a bit the code here diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py --- a/rpython/rlib/rbigint.py +++

[pypy-commit] pypy default: Simplify code.

2016-01-09 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r81645:090cb15bfa02 Date: 2016-01-09 18:41 +0100 http://bitbucket.org/pypy/pypy/changeset/090cb15bfa02/ Log:Simplify code. The code returns False in any case. Also, the transactionsafe attribute is only ever used

[pypy-commit] pypy default: simplify date +- timedelta

2015-11-24 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r80925:11243828bb74 Date: 2015-11-24 20:44 -0500 http://bitbucket.org/pypy/pypy/changeset/11243828bb74/ Log:simplify date +- timedelta diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++

[pypy-commit] pypy default: Simplify code

2015-06-23 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r78235:ba1832c3fd9d Date: 2015-06-21 21:38 +0200 http://bitbucket.org/pypy/pypy/changeset/ba1832c3fd9d/ Log:Simplify code diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py ---

[pypy-commit] pypy default: simplify

2015-05-28 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r77643:a680bce7a5b6 Date: 2015-05-28 13:58 +0200 http://bitbucket.org/pypy/pypy/changeset/a680bce7a5b6/ Log:simplify diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++

[pypy-commit] pypy default: simplify

2015-05-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r77555:ac49c84ddcf2 Date: 2015-05-25 23:49 +0200 http://bitbucket.org/pypy/pypy/changeset/ac49c84ddcf2/ Log:simplify diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py ---

[pypy-commit] pypy default: simplify the code and kill @specialize.memo function that makes no sense any

2015-03-31 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r76655:40afa1747889 Date: 2015-03-31 09:43 +0200 http://bitbucket.org/pypy/pypy/changeset/40afa1747889/ Log:simplify the code and kill @specialize.memo function that makes no sense any more diff --git

[pypy-commit] pypy default: Simplify Desc.consider_call_site() signature

2015-03-28 Thread rlamy
Author: Ronan Lamy ronan.l...@gmail.com Branch: Changeset: r76613:22b3272ea735 Date: 2015-03-28 20:29 + http://bitbucket.org/pypy/pypy/changeset/22b3272ea735/ Log:Simplify Desc.consider_call_site() signature diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py

[pypy-commit] pypy default: Simplify ListItem.merge()

2015-03-25 Thread rlamy
Author: Ronan Lamy ronan.l...@gmail.com Branch: Changeset: r76563:152a2c95b462 Date: 2015-03-26 01:42 + http://bitbucket.org/pypy/pypy/changeset/152a2c95b462/ Log:Simplify ListItem.merge() diff --git a/rpython/annotator/listdef.py b/rpython/annotator/listdef.py ---

[pypy-commit] pypy default: Simplify the logic in rweaklist.

2015-02-15 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r75895:5eb6bfa9ec8e Date: 2015-02-15 15:49 +0100 http://bitbucket.org/pypy/pypy/changeset/5eb6bfa9ec8e/ Log:Simplify the logic in rweaklist. diff --git a/rpython/rlib/rweaklist.py b/rpython/rlib/rweaklist.py ---

[pypy-commit] pypy default: simplify array.any test_pypy_c to use reduce directly

2014-12-04 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r74821:e301f280ff33 Date: 2014-12-04 20:24 -0500 http://bitbucket.org/pypy/pypy/changeset/e301f280ff33/ Log:simplify array.any test_pypy_c to use reduce directly diff --git a/pypy/module/pypyjit/test_pypy_c/test_micronumpy.py

[pypy-commit] pypy default: simplify setslice with no shape

2014-12-03 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r74797:e2e286fb7245 Date: 2014-12-03 15:03 -0500 http://bitbucket.org/pypy/pypy/changeset/e2e286fb7245/ Log:simplify setslice with no shape diff --git a/pypy/module/micronumpy/loop.py b/pypy/module/micronumpy/loop.py ---

[pypy-commit] pypy default: simplify signature of HLOperation.consider()

2014-10-15 Thread rlamy
Author: Ronan Lamy ronan.l...@gmail.com Branch: Changeset: r73966:2ae04cf3f6eb Date: 2014-10-15 15:20 +0100 http://bitbucket.org/pypy/pypy/changeset/2ae04cf3f6eb/ Log:simplify signature of HLOperation.consider() diff --git a/rpython/annotator/annrpython.py b/rpython/annotator/annrpython.py

[pypy-commit] pypy default: simplify

2014-09-11 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r73477:9580ada38c4c Date: 2014-07-27 11:36 -0700 http://bitbucket.org/pypy/pypy/changeset/9580ada38c4c/ Log:simplify (grafted from 50402333035102e8dcce27b9d01a3f14a26f8c73) diff --git a/pypy/module/operator/tscmp.py

[pypy-commit] pypy default: simplify rfile check if closed

2014-08-28 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r73140:2b3c04eda6f2 Date: 2014-08-28 23:22 -0400 http://bitbucket.org/pypy/pypy/changeset/2b3c04eda6f2/ Log:simplify rfile check if closed diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py --- a/rpython/rlib/rfile.py +++

[pypy-commit] pypy default: simplify struct.Struct methods now that everything lives at interp level

2014-05-05 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r71303:0928de078261 Date: 2014-05-05 17:25 -0400 http://bitbucket.org/pypy/pypy/changeset/0928de078261/ Log:simplify struct.Struct methods now that everything lives at interp level diff --git

[pypy-commit] pypy default: simplify get_module_type_name

2014-04-29 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r71083:4bb8079f8c4f Date: 2014-04-29 21:21 -0400 http://bitbucket.org/pypy/pypy/changeset/4bb8079f8c4f/ Log:simplify get_module_type_name diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py ---

[pypy-commit] pypy default: simplify, shell=True makes this work as is

2014-04-25 Thread mattip
Author: Matti Picus matti.pi...@gmail.com Branch: Changeset: r70964:a55bcb4345c9 Date: 2014-04-25 10:39 +0300 http://bitbucket.org/pypy/pypy/changeset/a55bcb4345c9/ Log:simplify, shell=True makes this work as is diff --git a/rpython/translator/platform/test/test_posix.py

[pypy-commit] pypy default: simplify

2014-04-23 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r70886:4cedca9c5099 Date: 2014-04-23 02:47 -0400 http://bitbucket.org/pypy/pypy/changeset/4cedca9c5099/ Log:simplify diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py --- a/pypy/module/cppyy/converter.py

[pypy-commit] pypy default: simplify

2014-04-22 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r70872:8382ba2271f5 Date: 2014-04-22 13:36 -0700 http://bitbucket.org/pypy/pypy/changeset/8382ba2271f5/ Log:simplify diff --git a/rpython/rlib/rsocket.py b/rpython/rlib/rsocket.py --- a/rpython/rlib/rsocket.py +++

[pypy-commit] pypy default: simplify

2014-04-18 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r70757:aba89d1880eb Date: 2014-04-18 12:35 -0400 http://bitbucket.org/pypy/pypy/changeset/aba89d1880eb/ Log:simplify diff --git a/pypy/module/micronumpy/nditer.py b/pypy/module/micronumpy/nditer.py ---

[pypy-commit] pypy default: simplify nditer

2014-04-18 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r70761:667ad75d7ce9 Date: 2014-04-18 14:51 -0400 http://bitbucket.org/pypy/pypy/changeset/667ad75d7ce9/ Log:simplify nditer diff --git a/pypy/module/micronumpy/iterators.py b/pypy/module/micronumpy/iterators.py ---

[pypy-commit] pypy default: simplify test

2014-04-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r70438:133dce379a38 Date: 2014-04-04 16:43 +0200 http://bitbucket.org/pypy/pypy/changeset/133dce379a38/ Log:simplify test diff --git a/rpython/jit/metainterp/test/test_loop.py b/rpython/jit/metainterp/test/test_loop.py ---

[pypy-commit] pypy default: simplify

2014-03-20 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r70107:c548a82ba9d3 Date: 2014-03-20 11:07 +0100 http://bitbucket.org/pypy/pypy/changeset/c548a82ba9d3/ Log:simplify diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py ---

[pypy-commit] pypy default: simplify

2014-03-20 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r70133:2d49948e8eba Date: 2014-03-20 15:57 -0400 http://bitbucket.org/pypy/pypy/changeset/2d49948e8eba/ Log:simplify diff --git a/rpython/jit/metainterp/optimizeopt/heap.py b/rpython/jit/metainterp/optimizeopt/heap.py ---

[pypy-commit] pypy default: simplify -- why pop and then insert again?

2014-03-08 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r69809:c5deffb57e50 Date: 2014-03-08 17:05 -0500 http://bitbucket.org/pypy/pypy/changeset/c5deffb57e50/ Log:simplify -- why pop and then insert again? diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py ---

[pypy-commit] pypy default: simplify

2014-03-05 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r69735:240dfa51dd8c Date: 2014-03-05 16:09 -0500 http://bitbucket.org/pypy/pypy/changeset/240dfa51dd8c/ Log:simplify diff --git a/pypy/interpreter/special.py b/pypy/interpreter/special.py --- a/pypy/interpreter/special.py +++

[pypy-commit] pypy default: simplify iter/dot optimizations

2014-02-27 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r69535:27f7c050271b Date: 2014-02-27 22:20 -0800 http://bitbucket.org/pypy/pypy/changeset/27f7c050271b/ Log:simplify iter/dot optimizations diff --git a/pypy/module/micronumpy/concrete.py b/pypy/module/micronumpy/concrete.py ---

[pypy-commit] pypy default: simplify dtype methods/attributes

2014-02-24 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r69383:1e1e64b26713 Date: 2014-02-24 13:22 -0500 http://bitbucket.org/pypy/pypy/changeset/1e1e64b26713/ Log:simplify dtype methods/attributes diff --git a/pypy/module/micronumpy/arrayimpl/concrete.py

[pypy-commit] pypy default: Simplify code.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68806:709d090d1c17 Date: 2014-01-21 14:31 +0100 http://bitbucket.org/pypy/pypy/changeset/709d090d1c17/ Log:Simplify code. diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/translator/driver.py +++

[pypy-commit] pypy default: simplify/fix some intp attributes

2013-12-19 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r68494:5076b09e7c83 Date: 2013-12-19 17:15 -0500 http://bitbucket.org/pypy/pypy/changeset/5076b09e7c83/ Log:simplify/fix some intp attributes diff --git a/pypy/module/micronumpy/interp_dtype.py

[pypy-commit] pypy default: simplify

2013-12-17 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r68445:61a7394c57ff Date: 2013-12-17 11:41 -0800 http://bitbucket.org/pypy/pypy/changeset/61a7394c57ff/ Log:simplify diff --git a/pypy/module/__builtin__/app_operation.py b/pypy/module/__builtin__/app_operation.py ---

[pypy-commit] pypy default: simplify {date, time, datetime}.replace (constructor does field validation, no need for it here)

2013-12-17 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r68453:2e0e9bfcb1a2 Date: 2013-12-17 20:39 -0500 http://bitbucket.org/pypy/pypy/changeset/2e0e9bfcb1a2/ Log:simplify {date,time,datetime}.replace (constructor does field validation, no need for it here) diff --git

[pypy-commit] pypy default: simplify

2013-12-17 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r68460:6269dd19f95d Date: 2013-12-18 00:48 -0500 http://bitbucket.org/pypy/pypy/changeset/6269dd19f95d/ Log:simplify diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/interp_boxes.py ---

[pypy-commit] pypy default: simplify by using newbyteorder here

2013-11-14 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r68123:9c0fabe8214b Date: 2013-11-14 16:09 -0500 http://bitbucket.org/pypy/pypy/changeset/9c0fabe8214b/ Log:simplify by using newbyteorder here diff --git a/pypy/module/micronumpy/interp_numarray.py

[pypy-commit] pypy default: Simplify

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67907:3eaae5cfbc86 Date: 2013-11-09 08:45 -0800 http://bitbucket.org/pypy/pypy/changeset/3eaae5cfbc86/ Log:Simplify diff --git a/pypy/module/_cffi_backend/ctypestruct.py b/pypy/module/_cffi_backend/ctypestruct.py ---

[pypy-commit] pypy default: Simplify the code and always call {read, write}_{int, ref, float}_at_mem().

2013-09-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r66864:e35d638cb427 Date: 2013-09-09 17:30 +0200 http://bitbucket.org/pypy/pypy/changeset/e35d638cb427/ Log:Simplify the code and always call {read,write}_{int,ref,float}_at_mem(). diff --git

[pypy-commit] pypy default: Simplify this code and make it faster

2013-08-29 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r66442:b0810369a3a8 Date: 2013-08-29 18:36 -0700 http://bitbucket.org/pypy/pypy/changeset/b0810369a3a8/ Log:Simplify this code and make it faster diff --git a/lib-python/2.7/uuid.py b/lib-python/2.7/uuid.py ---

[pypy-commit] pypy default: simplify

2013-08-22 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r66302:5492c8355133 Date: 2013-08-22 13:57 -0700 http://bitbucket.org/pypy/pypy/changeset/5492c8355133/ Log:simplify diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py ---

[pypy-commit] pypy default: simplify

2013-07-19 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r65506:a401eb4866e1 Date: 2013-07-19 19:58 -0700 http://bitbucket.org/pypy/pypy/changeset/a401eb4866e1/ Log:simplify diff --git a/pypy/module/test_lib_pypy/support.py b/pypy/module/test_lib_pypy/support.py ---

[pypy-commit] pypy default: simplify

2013-05-30 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r64668:1cb8c9339d1a Date: 2013-05-30 12:31 -0700 http://bitbucket.org/pypy/pypy/changeset/1cb8c9339d1a/ Log:simplify diff --git a/pypy/objspace/std/stdtypedef.py b/pypy/objspace/std/stdtypedef.py ---

[pypy-commit] pypy default: simplify

2013-05-18 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r64288:3e8ddc62dedc Date: 2013-05-18 14:10 -0700 http://bitbucket.org/pypy/pypy/changeset/3e8ddc62dedc/ Log:simplify diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py ---

[pypy-commit] pypy default: simplify

2013-05-02 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: Changeset: r63812:15827dd3d414 Date: 2013-05-02 17:03 -0700 http://bitbucket.org/pypy/pypy/changeset/15827dd3d414/ Log:simplify diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py --- a/pypy/module/imp/importing.py +++

[pypy-commit] pypy default: simplify sqlite tests by providing a funcarg that automatically connects/closes

2013-04-05 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r63090:3b60aa181915 Date: 2013-04-06 00:45 -0400 http://bitbucket.org/pypy/pypy/changeset/3b60aa181915/ Log:simplify sqlite tests by providing a funcarg that automatically connects/closes diff --git

[pypy-commit] pypy default: simplify

2013-03-08 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r62264:e9feed2a56c2 Date: 2013-03-08 22:07 -0500 http://bitbucket.org/pypy/pypy/changeset/e9feed2a56c2/ Log:simplify diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++ b/lib_pypy/datetime.py @@

[pypy-commit] pypy default: simplify sqlite cursor locking

2013-03-06 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r62123:92298f0e65e7 Date: 2013-03-06 02:35 -0500 http://bitbucket.org/pypy/pypy/changeset/92298f0e65e7/ Log:simplify sqlite cursor locking diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++

[pypy-commit] pypy default: simplify these functions

2013-03-05 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r62102:5e9db69947ee Date: 2013-03-05 18:58 -0500 http://bitbucket.org/pypy/pypy/changeset/5e9db69947ee/ Log:simplify these functions diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++

[pypy-commit] pypy default: simplify datetime.fromtimestamp

2013-03-03 Thread bdkearns
Author: Brian Kearns bdkea...@gmail.com Branch: Changeset: r61990:61f429986074 Date: 2013-03-04 02:08 -0500 http://bitbucket.org/pypy/pypy/changeset/61f429986074/ Log:simplify datetime.fromtimestamp diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++

[pypy-commit] pypy default: simplify

2013-01-20 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r60250:8648b3444808 Date: 2013-01-20 22:25 +0200 http://bitbucket.org/pypy/pypy/changeset/8648b3444808/ Log:simplify diff --git a/rpython/rlib/parsing/test/test_pcre_regtest.py b/rpython/rlib/parsing/test/test_pcre_regtest.py

[pypy-commit] pypy default: Simplify a bit.

2012-11-16 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r58962:fc1c36af8f9e Date: 2012-11-16 20:55 +0100 http://bitbucket.org/pypy/pypy/changeset/fc1c36af8f9e/ Log:Simplify a bit. diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py

[pypy-commit] pypy default: Simplify the logic.

2012-10-31 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r58646:fd45b4a00ced Date: 2012-10-31 17:37 +0100 http://bitbucket.org/pypy/pypy/changeset/fd45b4a00ced/ Log:Simplify the logic. diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/interpreter/buffer.py +++

[pypy-commit] pypy default: Simplify the custom logic to pickle module dictionary (as per Stackless

2012-06-06 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r55426:2fc954d5e462 Date: 2012-06-06 11:26 +0200 http://bitbucket.org/pypy/pypy/changeset/2fc954d5e462/ Log:Simplify the custom logic to pickle module dictionary (as per Stackless Python). Now it should only work with normal,

[pypy-commit] pypy default: simplify this assertion -- no need to loop

2012-03-12 Thread MichaelBlume
Author: Mike Blume m...@loggly.com Branch: Changeset: r53356:ca6202252099 Date: 2012-03-12 14:17 -0700 http://bitbucket.org/pypy/pypy/changeset/ca6202252099/ Log:simplify this assertion -- no need to loop diff --git a/pypy/module/micronumpy/test/test_numarray.py

[pypy-commit] pypy default: simplify targetnopstandalone

2012-01-26 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r51816:ddbfdbe2d419 Date: 2012-01-26 22:33 +0200 http://bitbucket.org/pypy/pypy/changeset/ddbfdbe2d419/ Log:simplify targetnopstandalone diff --git a/pypy/translator/goal/targetnopstandalone.py

[pypy-commit] pypy default: Simplify the graph before turning it into a generator, to get rid

2011-12-26 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r50873:d373deb39b4d Date: 2011-12-26 15:22 +0100 http://bitbucket.org/pypy/pypy/changeset/d373deb39b4d/ Log:Simplify the graph before turning it into a generator, to get rid of the extra variables passed around. diff --git

[pypy-commit] pypy default: simplify this code by removing some mostly dead code

2011-12-13 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r50460:22b2d8a07bcd Date: 2011-12-13 05:33 -0500 http://bitbucket.org/pypy/pypy/changeset/22b2d8a07bcd/ Log:simplify this code by removing some mostly dead code diff --git a/pypy/module/micronumpy/interp_numarray.py

[pypy-commit] pypy default: simplify this code a bit.

2011-11-30 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r50029:06acac97ffa5 Date: 2011-11-30 16:37 -0500 http://bitbucket.org/pypy/pypy/changeset/06acac97ffa5/ Log:simplify this code a bit. diff --git a/pypy/jit/codewriter/support.py b/pypy/jit/codewriter/support.py ---

[pypy-commit] pypy default: simplify failing test

2011-11-14 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r49431:bf8bf8a5810e Date: 2011-11-15 02:39 -0500 http://bitbucket.org/pypy/pypy/changeset/bf8bf8a5810e/ Log:simplify failing test diff --git a/pypy/rpython/test/test_rtuple.py b/pypy/rpython/test/test_rtuple.py ---

[pypy-commit] pypy default: simplify _convert_idx_params

2011-11-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48733:257c829ce3c1 Date: 2011-11-03 21:29 +0100 http://bitbucket.org/pypy/pypy/changeset/257c829ce3c1/ Log:simplify _convert_idx_params diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py ---

[pypy-commit] pypy default: simplify some code

2011-10-03 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r47816:71bb26b2f173 Date: 2011-10-03 22:13 -0400 http://bitbucket.org/pypy/pypy/changeset/71bb26b2f173/ Log:simplify some code diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py --- a/pypy/rlib/jit.py +++ b/pypy/rlib/jit.py @@

[pypy-commit] pypy default: Simplify the handling of we_are_translated() by moving it

2011-08-16 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r46536:80bde0482a01 Date: 2011-08-16 14:00 +0200 http://bitbucket.org/pypy/pypy/changeset/80bde0482a01/ Log:Simplify the handling of we_are_translated() by moving it to the flow space already. It also has the benefit that the

[pypy-commit] pypy default: Simplify a bit, computing a toobig value in a way that is

2011-08-02 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r46185:6df7a687dcae Date: 2011-08-01 21:41 +0200 http://bitbucket.org/pypy/pypy/changeset/6df7a687dcae/ Log:Simplify a bit, computing a toobig value in a way that is clearly constant-foldable, followed by a r_uint comparison.

[pypy-commit] pypy default: Simplify these loops.

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r45490:b7293d2ced2b Date: 2011-07-11 16:03 -0700 http://bitbucket.org/pypy/pypy/changeset/b7293d2ced2b/ Log:Simplify these loops. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py

[pypy-commit] pypy default: Simplify the array code, also probably improve its performance.

2011-07-04 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r45342:de2e42a93f5e Date: 2011-07-04 08:25 -0700 http://bitbucket.org/pypy/pypy/changeset/de2e42a93f5e/ Log:Simplify the array code, also probably improve its performance. diff --git a/pypy/module/array/interp_array.py

[pypy-commit] pypy default: Simplify, the windows quoting works on linux as well.

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r44110:722e6f60cfc1 Date: 2011-05-12 15:45 -0400 http://bitbucket.org/pypy/pypy/changeset/722e6f60cfc1/ Log:Simplify, the windows quoting works on linux as well. diff --git a/pypy/module/_multibytecodec/test/test_translation.py