[pypy-commit] pypy default: refactor "os import" in make_portable.py to make it importable on windows

2019-11-03 Thread mattip
Author: Matti Picus Branch: Changeset: r97942:9f7ce234ad3a Date: 2019-11-02 05:58 -0400 http://bitbucket.org/pypy/pypy/changeset/9f7ce234ad3a/ Log:refactor "os import" in make_portable.py to make it importable on windows diff --git a/pypy/tool/release/make_portable.py b/pypy/tool/r

[pypy-commit] pypy default: refactor repackage script to generate exe

2019-10-11 Thread mattip
Author: Matti Picus Branch: Changeset: r97762:241777245f33 Date: 2019-10-11 13:40 +0300 http://bitbucket.org/pypy/pypy/changeset/241777245f33/ Log:refactor repackage script to generate exe diff --git a/pypy/tool/release/repackage.sh b/pypy/tool/release/repackage.sh --- a/pypy/tool/release/r

[pypy-commit] pypy default: Refactor PySequence_FAST_XXX to allow notably for specialized tuples (plus it's

2019-02-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r96026:1d688af446c2 Date: 2019-02-16 13:53 +0100 http://bitbucket.org/pypy/pypy/changeset/1d688af446c2/ Log:Refactor PySequence_FAST_XXX to allow notably for specialized tuples (plus it's a clean-up, I think) diff --git a/pypy/module/cpyext/list

[pypy-commit] pypy default: Refactor readline_w() and move most of the logic to DecodeBuffer

2017-11-25 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93175:65f3ab0d10e3 Date: 2017-11-26 00:54 + http://bitbucket.org/pypy/pypy/changeset/65f3ab0d10e3/ Log:Refactor readline_w() and move most of the logic to DecodeBuffer diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py

[pypy-commit] pypy default: refactor

2017-11-23 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93145:ff05ee1c4b6a Date: 2017-11-23 16:48 + http://bitbucket.org/pypy/pypy/changeset/ff05ee1c4b6a/ Log:refactor diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_io/interp_textio.py +++ b/pypy/modul

[pypy-commit] pypy default: Refactor interp_textio.py a little

2017-11-22 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93129:6eab39056eb5 Date: 2017-11-23 05:14 + http://bitbucket.org/pypy/pypy/changeset/6eab39056eb5/ Log:Refactor interp_textio.py a little diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py --- a/pypy/module/_io/in

[pypy-commit] pypy default: refactor 9ddefd44f80d handling pre-existing exceptions, add tests, still not bulletproof

2017-08-16 Thread mattip
Author: Matti Picus Branch: Changeset: r92160:40ee3c492e28 Date: 2017-08-16 22:56 +0300 http://bitbucket.org/pypy/pypy/changeset/40ee3c492e28/ Log:refactor 9ddefd44f80d handling pre-existing exceptions, add tests, still not bulletproof diff --git a/pypy/module/cpyext/api.py b/pypy/m

[pypy-commit] pypy default: Refactor typedef'd identifier handling in _get_type_and_quals(): move it together with the other identifiers

2017-01-20 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89679:5444bd569e8a Date: 2017-01-20 17:02 + http://bitbucket.org/pypy/pypy/changeset/5444bd569e8a/ Log:Refactor typedef'd identifier handling in _get_type_and_quals(): move it together with the other identifiers diff --git a/pypy/module/cpy

[pypy-commit] pypy default: Refactor globals registration

2016-12-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r89269:1e93630b441a Date: 2016-12-29 20:52 +0100 http://bitbucket.org/pypy/pypy/changeset/1e93630b441a/ Log:Refactor globals registration diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/modul

[pypy-commit] pypy default: refactor PyType_Ready into more_init for py3.5 compatibiility

2016-11-18 Thread mattip
Author: Matti Picus Branch: Changeset: r88462:9a8f9cff8c5d Date: 2016-11-18 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/9a8f9cff8c5d/ Log:refactor PyType_Ready into more_init for py3.5 compatibiility diff --git a/pypy/module/cpyext/test/test_bytesobject.py b/pypy/module/cpyext/tes

[pypy-commit] pypy default: refactor for py3k

2016-09-22 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r87336:9f43cc50b128 Date: 2016-09-22 19:57 -0700 http://bitbucket.org/pypy/pypy/changeset/9f43cc50b128/ Log:refactor for py3k diff --git a/lib_pypy/_subprocess.py b/lib_pypy/_subprocess.py --- a/lib_pypy/_subprocess.py +++ b/lib_pypy/_subprocess.py @

[pypy-commit] pypy default: Refactor the uid_t/gid_t handling in rlib.rposix and in interp_posix.py,

2016-08-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r86258:a59647bbf2e6 Date: 2016-08-17 23:00 +0200 http://bitbucket.org/pypy/pypy/changeset/a59647bbf2e6/ Log:Refactor the uid_t/gid_t handling in rlib.rposix and in interp_posix.py, based on the clean-up of CPython 2.7.x (see comment in in

[pypy-commit] pypy default: refactor - reuse externals from rfile

2016-08-04 Thread mattip
Author: Matti Picus Branch: Changeset: r86022:3c04fe2c5184 Date: 2016-08-04 21:36 +0300 http://bitbucket.org/pypy/pypy/changeset/3c04fe2c5184/ Log:refactor - reuse externals from rfile diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/p

[pypy-commit] pypy default: refactor _import_array to be more like upstream (used on pypy/numpy)

2016-06-24 Thread mattip
Author: Matti Picus Branch: Changeset: r85370:a0105e0d00db Date: 2016-06-24 16:24 +0300 http://bitbucket.org/pypy/pypy/changeset/a0105e0d00db/ Log:refactor _import_array to be more like upstream (used on pypy/numpy) diff --git a/pypy/module/cpyext/include/_numpypy/numpy/__multiarray_api.h

[pypy-commit] pypy default: refactor

2016-05-21 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r84559:58bcf36629d9 Date: 2016-05-21 15:06 -0700 http://bitbucket.org/pypy/pypy/changeset/58bcf36629d9/ Log:refactor (grafted from 7819376524b2e441d62ace72d6cd8e3a58c39647) diff --git a/pypy/objspace/std/objectobject.py b/pypy/objspace/std/objectobj

[pypy-commit] pypy default: refactor

2016-05-02 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r84166:6479edc9c369 Date: 2016-05-02 19:58 -0700 http://bitbucket.org/pypy/pypy/changeset/6479edc9c369/ Log:refactor diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/pypy/module/_codecs/interp_codecs.py

[pypy-commit] pypy default: Refactor parametric test into a single stateful test with increased run-time

2016-03-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82658:eeb057746657 Date: 2016-03-02 15:02 + http://bitbucket.org/pypy/pypy/changeset/eeb057746657/ Log:Refactor parametric test into a single stateful test with increased run-time diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rt

[pypy-commit] pypy default: refactor whatsnew-* into release notes

2015-10-15 Thread mattip
Author: mattip Branch: Changeset: r80252:18f21006dc31 Date: 2015-10-16 08:49 +0300 http://bitbucket.org/pypy/pypy/changeset/18f21006dc31/ Log:refactor whatsnew-* into release notes diff --git a/pypy/doc/release-15.11.0.rst b/pypy/doc/release-15.11.0.rst --- a/pypy/doc/release-15.11.0.rst ++

[pypy-commit] pypy default: refactor ndarray.flags in cpyext

2015-06-06 Thread mattip
Author: mattip Branch: Changeset: r77930:021adba9ebbe Date: 2015-06-06 21:44 +0300 http://bitbucket.org/pypy/pypy/changeset/021adba9ebbe/ Log:refactor ndarray.flags in cpyext diff --git a/pypy/module/cpyext/ndarrayobject.py b/pypy/module/cpyext/ndarrayobject.py --- a/pypy/module/cpyext/nda

[pypy-commit] pypy default: refactor join_blocks()

2015-03-14 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r76379:dc6eec95f4ed Date: 2014-11-10 18:51 + http://bitbucket.org/pypy/pypy/changeset/dc6eec95f4ed/ Log:refactor join_blocks() diff --git a/rpython/translator/simplify.py b/rpython/translator/simplify.py --- a/rpython/translator/simplify.py +++ b/rp

[pypy-commit] pypy default: Refactor the implementation of the dict iterators in RPython. The goal

2014-07-08 Thread arigo
Author: Armin Rigo Branch: Changeset: r72391:711f53c92504 Date: 2014-07-08 16:35 +0200 http://bitbucket.org/pypy/pypy/changeset/711f53c92504/ Log:Refactor the implementation of the dict iterators in RPython. The goal is to avoid the allocation of a tuple in iteritems().next(). diff

[pypy-commit] pypy default: refactor this script a little

2013-10-14 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67356:9bee4fc9c02b Date: 2013-10-14 14:26 +0200 http://bitbucket.org/pypy/pypy/changeset/9bee4fc9c02b/ Log:refactor this script a little diff --git a/rpython/tool/gcanalyze.py b/rpython/tool/gcanalyze.py --- a/rpython/tool/gcanalyze.py +++ b/rp

[pypy-commit] pypy default: Refactor for cpyext PyNumber_CoerceEx

2013-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r65822:73c0b2494f1f Date: 2013-07-30 16:20 +0200 http://bitbucket.org/pypy/pypy/changeset/73c0b2494f1f/ Log:Refactor for cpyext PyNumber_CoerceEx diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py --- a/pypy/objspace/descrope

[pypy-commit] pypy default: refactor

2013-04-30 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r63782:ba2b2f2160e8 Date: 2013-04-30 18:34 -0700 http://bitbucket.org/pypy/pypy/changeset/ba2b2f2160e8/ Log:refactor diff --git a/lib-python/2.7/distutils/command/install.py b/lib-python/2.7/distutils/command/install.py --- a/lib-python/2.7/distutil

[pypy-commit] pypy default: Refactor code a bit so there is less duplication. Use clang on darwin

2013-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r63587:ffb4b149feac Date: 2013-04-24 10:45 +0200 http://bitbucket.org/pypy/pypy/changeset/ffb4b149feac/ Log:Refactor code a bit so there is less duplication. Use clang on darwin and *bsd, it seems that GCC there is incredibly buggy (and I

[pypy-commit] pypy default: refactor llsuport/test/z* to avoid them being picked up there and only when imported in the backends

2013-04-12 Thread bivab
Author: David Schneider Branch: Changeset: r63266:79586f2fc0d6 Date: 2013-04-12 09:12 +0200 http://bitbucket.org/pypy/pypy/changeset/79586f2fc0d6/ Log:refactor llsuport/test/z* to avoid them being picked up there and only when imported in the backends diff --git a/rpython/jit/backen

[pypy-commit] pypy default: refactor dupe impls into a base class

2012-09-26 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r57619:385b31354be6 Date: 2012-09-26 13:55 -0700 http://bitbucket.org/pypy/pypy/changeset/385b31354be6/ Log:refactor dupe impls into a base class diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --- a/pypy/obj

[pypy-commit] pypy default: refactor a bit so the interface is easier to use. still incredibly obscure if you ask me

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55848:c44ac551a6e8 Date: 2012-06-26 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c44ac551a6e8/ Log:refactor a bit so the interface is easier to use. still incredibly obscure if you ask me diff --git a/pypy/tool/jitlogparser/pars

[pypy-commit] pypy default: refactor this a bit and split few more dirs

2012-05-21 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55149:f02ea87c3749 Date: 2012-05-21 18:48 +0200 http://bitbucket.org/pypy/pypy/changeset/f02ea87c3749/ Log:refactor this a bit and split few more dirs diff --git a/pypy/testrunner_cfg.py b/pypy/testrunner_cfg.py --- a/pypy/testrunner_cfg.py +++

[pypy-commit] pypy default: refactor the autoflush of streams: we cannot keep a set of w_iobase instances, else they would be never collected by the GC. Instead, we keep a set of 'holders', which have

2012-02-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r52807:4867e38be6fb Date: 2012-02-23 16:11 +0100 http://bitbucket.org/pypy/pypy/changeset/4867e38be6fb/ Log:refactor the autoflush of streams: we cannot keep a set of w_iobase instances, else they would be never collected by the GC. Instead, we

[pypy-commit] pypy default: Refactor away the 'width' attribute on AssemblerLocation.

2011-12-14 Thread arigo
Author: Armin Rigo Branch: Changeset: r50499:1665fe50f5da Date: 2011-12-14 12:30 +0100 http://bitbucket.org/pypy/pypy/changeset/1665fe50f5da/ Log:Refactor away the 'width' attribute on AssemblerLocation. diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py ---

[pypy-commit] pypy default: refactor how fields are handled in ctypes structures: instead of relying on __getattr__/__setattr__, make them descriptors and store them directly in the __dict__ of the cl

2011-08-10 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46423:39aa92506023 Date: 2011-08-10 18:08 +0200 http://bitbucket.org/pypy/pypy/changeset/39aa92506023/ Log:refactor how fields are handled in ctypes structures: instead of relying on __getattr__/__setattr__, make them descriptors and store

[pypy-commit] pypy default: refactor the code and start to write tests

2011-08-04 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46274:6acca3ec3ace Date: 2011-08-04 16:49 +0200 http://bitbucket.org/pypy/pypy/changeset/6acca3ec3ace/ Log:refactor the code and start to write tests diff --git a/pypy/tool/gdb_pypy.py b/pypy/tool/gdb_pypy.py --- a/pypy/tool/gdb_pypy.py +++ b/pypy/to

[pypy-commit] pypy default: refactor to not increment two counters

2011-07-29 Thread gutworth
Author: Benjamin Peterson Branch: Changeset: r46097:54515dec1d20 Date: 2011-07-29 14:17 -0500 http://bitbucket.org/pypy/pypy/changeset/54515dec1d20/ Log:refactor to not increment two counters diff --git a/pypy/rpython/lltypesystem/rbuilder.py b/pypy/rpython/lltypesystem/rbuilder.py --- a/p