[pypy-commit] pypy strbuf_by_default: turn on the strbuf (strjoin v2) objspace optimisation by default

2012-01-10 Thread timo_jbo
Author: Timo Paulssen Branch: strbuf_by_default Changeset: r51196:211606889b44 Date: 2012-01-10 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/211606889b44/ Log:turn on the strbuf (strjoin v2) objspace optimisation by default diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyopt

[pypy-commit] pypy strbuf_by_default: fix whitebox test that checks for W_StringObject, rather than W_AbstractStringObject.

2012-01-10 Thread timo_jbo
Author: Timo Paulssen Branch: strbuf_by_default Changeset: r51201:9014cd34145f Date: 2012-01-10 13:56 +0100 http://bitbucket.org/pypy/pypy/changeset/9014cd34145f/ Log:fix whitebox test that checks for W_StringObject, rather than W_AbstractStringObject. diff --git a/pypy/objspace/std/

[pypy-commit] pypy numpypy-issue1137: add tests for behavior of objects with either or both int and index slots.

2012-04-27 Thread timo_jbo
Author: Timo Paulssen Branch: numpypy-issue1137 Changeset: r54781:c1a1e296db16 Date: 2012-04-28 00:33 +0200 http://bitbucket.org/pypy/pypy/changeset/c1a1e296db16/ Log:add tests for behavior of objects with either or both int and index slots. diff --git a/pypy/module/micronumpy/test/t

[pypy-commit] pypy numpypy-issue1137: got the Custom*Object classes into setup_class, but it's not clean.

2012-04-29 Thread timo_jbo
Author: Timo Paulssen Branch: numpypy-issue1137 Changeset: r54802:7714c8bfaaec Date: 2012-04-29 13:19 +0200 http://bitbucket.org/pypy/pypy/changeset/7714c8bfaaec/ Log:got the Custom*Object classes into setup_class, but it's not clean. now setup_class has a copy of BaseNumpyAppTest.se

[pypy-commit] pypy numpypy-issue1137: the magic incantation to call the base classes setup_class has been found.

2012-04-29 Thread timo_jbo
Author: Timo Paulssen Branch: numpypy-issue1137 Changeset: r54812:54c62c649f89 Date: 2012-04-29 23:05 +0200 http://bitbucket.org/pypy/pypy/changeset/54c62c649f89/ Log:the magic incantation to call the base classes setup_class has been found. diff --git a/pypy/module/micronumpy/test/t

[pypy-commit] pypy numpypy-issue1137: make setup_class unnecessary again.

2012-05-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpypy-issue1137 Changeset: r54869:69e9f3547488 Date: 2012-05-02 11:33 +0200 http://bitbucket.org/pypy/pypy/changeset/69e9f3547488/ Log:make setup_class unnecessary again. diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/

[pypy-commit] pypy numpypy-issue1137: pep8, swallow exceptions in __int__ and __index__ like numpy and better error

2012-05-05 Thread timo_jbo
Author: Timo Paulssen Branch: numpypy-issue1137 Changeset: r54896:7ab172b5fbf2 Date: 2012-05-05 15:30 +0200 http://bitbucket.org/pypy/pypy/changeset/7ab172b5fbf2/ Log:pep8, swallow exceptions in __int__ and __index__ like numpy and better error when the index doesn't supply a working

[pypy-commit] pypy numpypy-issue1137: fixed the FakeSpace just enough to work again.

2012-05-05 Thread timo_jbo
Author: Timo Paulssen Branch: numpypy-issue1137 Changeset: r54897:657b043bac5a Date: 2012-05-05 16:11 +0200 http://bitbucket.org/pypy/pypy/changeset/657b043bac5a/ Log:fixed the FakeSpace just enough to work again. diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compi

[pypy-commit] pypy default: Merge numpypy-issue1137

2012-05-05 Thread timo_jbo
Author: Timo Paulssen Branch: Changeset: r54898:629cfca82920 Date: 2012-05-05 16:12 +0200 http://bitbucket.org/pypy/pypy/changeset/629cfca82920/ Log:Merge numpypy-issue1137 diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py --- a/pypy/module/micronumpy/compi

[pypy-commit] pypy separate-applevel-numpy: test_numpy.py gets its own NumpyAppTest base class.

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47582:ba1f49c28b45 Date: 2011-09-24 20:00 +0200 http://bitbucket.org/pypy/pypy/changeset/ba1f49c28b45/ Log:test_numpy.py gets its own NumpyAppTest base class. diff --git a/lib_pypy/pypy_test/test_numpy.py b/lib_pypy/pypy_test/

[pypy-commit] pypy numpy-random: implement a few simple methods in numpy.random.

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-random Changeset: r47583:a6ab5e7ba103 Date: 2011-09-22 20:05 +0200 http://bitbucket.org/pypy/pypy/changeset/a6ab5e7ba103/ Log:implement a few simple methods in numpy.random. diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__

[pypy-commit] pypy numpy-random: added implementations for random_integers and randint with tests.

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-random Changeset: r47584:d231d6fbeb81 Date: 2011-09-22 20:40 +0200 http://bitbucket.org/pypy/pypy/changeset/d231d6fbeb81/ Log:added implementations for random_integers and randint with tests. diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/m

[pypy-commit] pypy numpy-random: implement a few numpy.random methods

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-random Changeset: r47585:3ae0ae8e9c00 Date: 2011-09-24 20:28 +0200 http://bitbucket.org/pypy/pypy/changeset/3ae0ae8e9c00/ Log:implement a few numpy.random methods diff --git a/lib_pypy/numpy/random.py b/lib_pypy/numpy/random.py new file mode 100644 --- /de

[pypy-commit] pypy numpy-random: implement a couple integer random methods, too.

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-random Changeset: r47586:c059753d0865 Date: 2011-09-24 20:30 +0200 http://bitbucket.org/pypy/pypy/changeset/c059753d0865/ Log:implement a couple integer random methods, too. diff --git a/lib_pypy/numpy/random.py b/lib_pypy/numpy/random.py --- a/lib_pypy/nu

[pypy-commit] pypy numpy-random: merge heads

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-random Changeset: r47587:dbf4471a691d Date: 2011-09-24 20:35 +0200 http://bitbucket.org/pypy/pypy/changeset/dbf4471a691d/ Log:merge heads diff --git a/pypy/module/micronumpy/app_random.py b/pypy/module/micronumpy/app_random.py new file mode 100644 --- /de

[pypy-commit] pypy numpy-random: re-removed old micronumpy files

2011-09-24 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-random Changeset: r47588:0b6b9b557c0c Date: 2011-09-24 20:35 +0200 http://bitbucket.org/pypy/pypy/changeset/0b6b9b557c0c/ Log:re-removed old micronumpy files diff --git a/pypy/module/micronumpy/app_random.py b/pypy/module/micronumpy/app_random.py deleted

[pypy-commit] pypy separate-applevel-numpy: implement numpy.bincount with tests

2011-09-27 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47638:88a4e8b8d916 Date: 2011-09-27 21:43 +0200 http://bitbucket.org/pypy/pypy/changeset/88a4e8b8d916/ Log:implement numpy.bincount with tests diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.py --- a/lib_pypy

[pypy-commit] pypy separate-applevel-numpy: implement creating arrays with tuples as size arguments.

2011-09-27 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47639:a38ccdc30d81 Date: 2011-09-27 22:03 +0200 http://bitbucket.org/pypy/pypy/changeset/a38ccdc30d81/ Log:implement creating arrays with tuples as size arguments. diff --git a/pypy/module/_numpy/interp_numarray.py b/pypy/mod

[pypy-commit] pypy separate-applevel-numpy: translation fix

2011-09-29 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47671:ee5aff4eb630 Date: 2011-09-29 09:40 +0200 http://bitbucket.org/pypy/pypy/changeset/ee5aff4eb630/ Log:translation fix diff --git a/pypy/module/_numpy/interp_numarray.py b/pypy/module/_numpy/interp_numarray.py --- a/pypy/

[pypy-commit] pypy numpy-data-buffer: first bit of buffer support, supports reading, somewhat.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47774:103fcb594b05 Date: 2011-10-03 05:12 +0200 http://bitbucket.org/pypy/pypy/changeset/103fcb594b05/ Log:first bit of buffer support, supports reading, somewhat. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_num

[pypy-commit] pypy numpy-data-buffer: implement buffers of slice-views.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47775:04889b07a351 Date: 2011-10-03 05:29 +0200 http://bitbucket.org/pypy/pypy/changeset/04889b07a351/ Log:implement buffers of slice-views. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/interp_buffer.py ---

[pypy-commit] pypy numpy-data-buffer: implement setting items on buffers of arrays and views.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47776:d577d2a94297 Date: 2011-10-03 05:38 +0200 http://bitbucket.org/pypy/pypy/changeset/d577d2a94297/ Log:implement setting items on buffers of arrays and views. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_nump

[pypy-commit] pypy numpy-data-buffer: setting slices on buffers of arrays and slice-views

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r4:da293bf60612 Date: 2011-10-03 05:55 +0200 http://bitbucket.org/pypy/pypy/changeset/da293bf60612/ Log:setting slices on buffers of arrays and slice-views diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/in

[pypy-commit] pypy numpy-data-buffer: fix obvious off-by-ones, assert lens, size of dtype is important for length of buffer.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47778:bceb4ab33edd Date: 2011-10-03 07:21 +0200 http://bitbucket.org/pypy/pypy/changeset/bceb4ab33edd/ Log:fix obvious off-by-ones, assert lens, size of dtype is important for length of buffer. diff --git a/pypy/module/_nump

[pypy-commit] pypy numpy-data-buffer: add property "itemsize" to dtype objects

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47779:7c67ce4f3e43 Date: 2011-10-03 07:22 +0200 http://bitbucket.org/pypy/pypy/changeset/7c67ce4f3e43/ Log:add property "itemsize" to dtype objects diff --git a/pypy/module/_numpy/interp_dtype.py b/pypy/module/_numpy/interp_dtype.p

[pypy-commit] pypy numpy-data-buffer: move numpy.fromstring to applevel, add support for dtypes and count.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47780:f4a7400e9c6e Date: 2011-10-03 07:22 +0200 http://bitbucket.org/pypy/pypy/changeset/f4a7400e9c6e/ Log:move numpy.fromstring to applevel, add support for dtypes and count. diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy

[pypy-commit] pypy numpy-data-buffer: fix off-by-ones, fix NumpyViewBuffer.calc_index, test float dtype a bit.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47781:02416eeae241 Date: 2011-10-03 07:51 +0200 http://bitbucket.org/pypy/pypy/changeset/02416eeae241/ Log:fix off-by-ones, fix NumpyViewBuffer.calc_index, test float dtype a bit. diff --git a/pypy/module/_numpy/interp_buffe

[pypy-commit] pypy numpy-data-buffer: more tests for floats, setslice, setitem, ...

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47782:d4bb282ba363 Date: 2011-10-03 07:58 +0200 http://bitbucket.org/pypy/pypy/changeset/d4bb282ba363/ Log:more tests for floats, setslice, setitem, ... diff --git a/pypy/module/_numpy/test/test_buffer.py b/pypy/module/_numpy/test/

[pypy-commit] pypy numpy-data-buffer: test str(NumpyBuffer), fix incorrect size constraints in views.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47783:b2f6f9ba6200 Date: 2011-10-03 08:05 +0200 http://bitbucket.org/pypy/pypy/changeset/b2f6f9ba6200/ Log:test str(NumpyBuffer), fix incorrect size constraints in views. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/modu

[pypy-commit] pypy numpy-data-buffer: translation improvement.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47790:a8fbe3b9f870 Date: 2011-10-03 13:13 +0200 http://bitbucket.org/pypy/pypy/changeset/a8fbe3b9f870/ Log:translation improvement. diff --git a/pypy/module/_numpy/interp_numarray.py b/pypy/module/_numpy/interp_numarray.py --- a/py

[pypy-commit] pypy numpy-data-buffer: fix translation

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47791:e5cc9556a7bb Date: 2011-10-03 15:43 +0200 http://bitbucket.org/pypy/pypy/changeset/e5cc9556a7bb/ Log:fix translation diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/interp_buffer.py --- a/pypy/module/_nu

[pypy-commit] pypy numpy-data-buffer: fix error messages for index out of bounds.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47792:103438c04860 Date: 2011-10-03 15:49 +0200 http://bitbucket.org/pypy/pypy/changeset/103438c04860/ Log:fix error messages for index out of bounds. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/interp_buf

[pypy-commit] pypy numpy-data-buffer: implement numpy.frombuffer

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47793:f30d7a06caf9 Date: 2011-10-03 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/f30d7a06caf9/ Log:implement numpy.frombuffer diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.py --- a/lib_pypy/numpy/__init__

[pypy-commit] pypy numpy-data-buffer: implement using separators for fromstring.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47794:fb2e36c041b7 Date: 2011-10-03 16:36 +0200 http://bitbucket.org/pypy/pypy/changeset/fb2e36c041b7/ Log:implement using separators for fromstring. diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.py --- a/lib_pyp

[pypy-commit] pypy numpy-data-buffer: use StringBuilder for getslice in NumpyBuffer.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47795:fa778e5f7b0f Date: 2011-10-03 16:48 +0200 http://bitbucket.org/pypy/pypy/changeset/fa778e5f7b0f/ Log:use StringBuilder for getslice in NumpyBuffer. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/interp_

[pypy-commit] pypy numpy-data-buffer: simple implementation of fromfile.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47796:60161adfdbba Date: 2011-10-03 17:01 +0200 http://bitbucket.org/pypy/pypy/changeset/60161adfdbba/ Log:simple implementation of fromfile. diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.py --- a/lib_pypy/numpy/

[pypy-commit] pypy numpy-data-buffer: test numpy.fromfile.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47797:49b174c8db3a Date: 2011-10-03 17:35 +0200 http://bitbucket.org/pypy/pypy/changeset/49b174c8db3a/ Log:test numpy.fromfile. diff --git a/lib_pypy/pypy_test/test_numpy.py b/lib_pypy/pypy_test/test_numpy.py --- a/lib_pypy/pypy_tes

[pypy-commit] pypy numpy-data-buffer: add jits for setslice and getslice, move constants to earlier places.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47808:0eb532b36b5d Date: 2011-10-03 23:00 +0200 http://bitbucket.org/pypy/pypy/changeset/0eb532b36b5d/ Log:add jits for setslice and getslice, move constants to earlier places. diff --git a/lib_pypy/numpy/__init__.py b/lib_p

[pypy-commit] pypy separate-applevel-numpy: import arctanh and arcsinh from _numpy into numpy, too.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47815:f3a0c7efb8c5 Date: 2011-10-04 00:39 +0200 http://bitbucket.org/pypy/pypy/changeset/f3a0c7efb8c5/ Log:import arctanh and arcsinh from _numpy into numpy, too. diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init

[pypy-commit] pypy separate-applevel-numpy: inf went missing from numpy somewhere along the way

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47811:436d920d8853 Date: 2011-10-04 00:04 +0200 http://bitbucket.org/pypy/pypy/changeset/436d920d8853/ Log:inf went missing from numpy somewhere along the way diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.p

[pypy-commit] pypy separate-applevel-numpy: remove the app_numpy.py, which should've been gone already.

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47812:025efeb947da Date: 2011-10-04 00:12 +0200 http://bitbucket.org/pypy/pypy/changeset/025efeb947da/ Log:remove the app_numpy.py, which should've been gone already. diff --git a/pypy/module/_numpy/app_numpy.py b/pypy/module/

[pypy-commit] pypy separate-applevel-numpy: merge in default

2011-10-03 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47813:b528c5ddc7c1 Date: 2011-10-04 00:16 +0200 http://bitbucket.org/pypy/pypy/changeset/b528c5ddc7c1/ Log:merge in default diff --git a/pypy/module/_numpy/__init__.py b/pypy/module/_numpy/__init__.py --- a/pypy/module/_numpy/

[pypy-commit] pypy separate-applevel-numpy: merge in default

2011-10-04 Thread timo_jbo
Author: Timo Paulssen Branch: separate-applevel-numpy Changeset: r47824:73824d8b6491 Date: 2011-10-05 02:43 +0200 http://bitbucket.org/pypy/pypy/changeset/73824d8b6491/ Log:merge in default diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy/__init__.py --- a/lib_pypy/numpy/__init__.py

[pypy-commit] pypy default: make the test for time.sleep with negative values fail (Issue922)

2011-10-25 Thread timo_jbo
Author: Timo Paulssen Branch: Changeset: r48466:1ee24bbb619b Date: 2011-10-26 02:57 +0200 http://bitbucket.org/pypy/pypy/changeset/1ee24bbb619b/ Log:make the test for time.sleep with negative values fail (Issue922) diff --git a/pypy/module/rctime/test/test_rctime.py b/pypy/module/rctime/te

[pypy-commit] pypy default: raise an IOError when sleeping for negative time (Issue922)

2011-10-25 Thread timo_jbo
Author: Timo Paulssen Branch: Changeset: r48467:b5bd720602fb Date: 2011-10-26 03:00 +0200 http://bitbucket.org/pypy/pypy/changeset/b5bd720602fb/ Log:raise an IOError when sleeping for negative time (Issue922) diff --git a/pypy/module/rctime/interp_time.py b/pypy/module/rctime/interp_time.p

[pypy-commit] pypy default: Merge heads

2011-10-25 Thread timo_jbo
Author: Timo Paulssen Branch: Changeset: r48468:c0c84696f00b Date: 2011-10-26 03:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c0c84696f00b/ Log:Merge heads diff --git a/pypy/rpython/module/ll_os.py b/pypy/rpython/module/ll_os.py --- a/pypy/rpython/module/ll_os.py +++ b/pypy/rpython/mod

[pypy-commit] pypy.org extradoc: features.txt: update text about pypy-net, add link to topazruby.

2013-04-07 Thread timo_jbo
Author: Timo Paulssen Branch: extradoc Changeset: r398:c233be4ff4bb Date: 2013-04-07 15:27 +0200 http://bitbucket.org/pypy/pypy.org/changeset/c233be4ff4bb/ Log:features.txt: update text about pypy-net, add link to topazruby. diff --git a/features.html b/features.html --- a/features.html +++

[pypy-commit] pypy py3k-ceil-floor: adapted a test case from 3.2/test/test_math for ceil.

2012-11-22 Thread timo_jbo
Author: Timo Paulssen Branch: py3k-ceil-floor Changeset: r59060:30125a5875fc Date: 2012-11-23 00:17 +0100 http://bitbucket.org/pypy/pypy/changeset/30125a5875fc/ Log:adapted a test case from 3.2/test/test_math for ceil. diff --git a/pypy/module/math/test/test_math.py b/pypy/module/math/test/

[pypy-commit] pypy py3k-ceil-floor: math.ceil behaves a lot like cpython now.

2012-11-22 Thread timo_jbo
Author: Timo Paulssen Branch: py3k-ceil-floor Changeset: r59061:739ba9767011 Date: 2012-11-23 00:58 +0100 http://bitbucket.org/pypy/pypy/changeset/739ba9767011/ Log:math.ceil behaves a lot like cpython now. diff --git a/pypy/module/math/interp_math.py b/pypy/module/math/interp_math.py --- a/

[pypy-commit] pypy py3k-ceil-floor: do the same changes with math.floor, too.

2012-11-22 Thread timo_jbo
Author: Timo Paulssen Branch: py3k-ceil-floor Changeset: r59062:351124282c1f Date: 2012-11-23 01:18 +0100 http://bitbucket.org/pypy/pypy/changeset/351124282c1f/ Log:do the same changes with math.floor, too. there are two commented lines in the test case. the one with negative

[pypy-commit] pypy py3k-ceil-floor: missing minus, removed "almost_equal".

2012-11-23 Thread timo_jbo
Author: Timo Paulssen Branch: py3k-ceil-floor Changeset: r59069:0c17239d22b5 Date: 2012-11-23 11:58 +0100 http://bitbucket.org/pypy/pypy/changeset/0c17239d22b5/ Log:missing minus, removed "almost_equal". diff --git a/pypy/module/math/test/test_math.py b/pypy/module/math/test/test_math.py --

[pypy-commit] pypy py3k-ceil-floor: use math1, test custom classes with __float__, fix docstring.

2012-11-23 Thread timo_jbo
Author: Timo Paulssen Branch: py3k-ceil-floor Changeset: r59071:6a1c5f8e7931 Date: 2012-11-23 13:28 +0100 http://bitbucket.org/pypy/pypy/changeset/6a1c5f8e7931/ Log:use math1, test custom classes with __float__, fix docstring. diff --git a/pypy/module/math/interp_math.py b/pypy/module/math/i