[pypy-commit] pypy default: fix a bug in to_str for ndim=1, size=1 arrays. also affected any multi-dim array where the last dimension is 1. tests included.

2012-01-18 Thread justinpeel
Author: Justin Peel Branch: Changeset: r51444:db7b9b0aa08d Date: 2012-01-17 22:13 -0700 http://bitbucket.org/pypy/pypy/changeset/db7b9b0aa08d/ Log:fix a bug in to_str for ndim=1, size=1 arrays. also affected any multi-dim array where the last dimension is 1. tests included. diff --g

[pypy-commit] pypy faster-str-decode-escape: Try to speed up string's decode escape by using a string builder and appending unescaped text in slices

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: faster-str-decode-escape Changeset: r52927:6f5ea64c8b8d Date: 2012-02-27 07:55 -0700 http://bitbucket.org/pypy/pypy/changeset/6f5ea64c8b8d/ Log:Try to speed up string's decode escape by using a string builder and appending unescaped text in slices diff --g

[pypy-commit] pypy faster-str-decode-escape: merge in default

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: faster-str-decode-escape Changeset: r52946:c095ae1d0b83 Date: 2012-02-27 20:24 -0700 http://bitbucket.org/pypy/pypy/changeset/c095ae1d0b83/ Log:merge in default diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/llsupport/gc.py --- a/pypy/jit/backend

[pypy-commit] pypy default: merge in faster-str-decode-escape branch

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r52947:80e3d375b9ec Date: 2012-02-27 20:25 -0700 http://bitbucket.org/pypy/pypy/changeset/80e3d375b9ec/ Log:merge in faster-str-decode-escape branch diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py --- a

[pypy-commit] pypy default: close branch

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r52948:034e2cd62f1c Date: 2012-02-27 20:26 -0700 http://bitbucket.org/pypy/pypy/changeset/034e2cd62f1c/ Log:close branch ___ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/list

[pypy-commit] pypy faster-str-decode-escape: close this branch

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: faster-str-decode-escape Changeset: r52949:6cd6773cb83a Date: 2012-02-27 20:28 -0700 http://bitbucket.org/pypy/pypy/changeset/6cd6773cb83a/ Log:close this branch ___ pypy-commit mailing list pypy-commit@python.org http:/

[pypy-commit] pypy default: move import outside of function

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r52950:1604c8f1d469 Date: 2012-02-27 20:37 -0700 http://bitbucket.org/pypy/pypy/changeset/1604c8f1d469/ Log:move import outside of function diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py --- a/pypy/int

[pypy-commit] pypy default: move import to top...

2012-02-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r52951:079551524b28 Date: 2012-02-27 21:09 -0700 http://bitbucket.org/pypy/pypy/changeset/079551524b28/ Log:move import to top... diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py --- a/pypy/interpreter/p

[pypy-commit] pypy default: Speed up cPickle in general and in particular with datetime objects and longs in protocol 2. The general changes include making the dispatch dict key on integers rather tha

2012-03-03 Thread justinpeel
Author: Justin Peel Branch: Changeset: r53140:8b5f9add3f20 Date: 2012-03-03 09:32 -0700 http://bitbucket.org/pypy/pypy/changeset/8b5f9add3f20/ Log:Speed up cPickle in general and in particular with datetime objects and longs in protocol 2. The general changes include making the

[pypy-commit] pypy default: speed up unpickling of datetime.time objects

2012-03-03 Thread justinpeel
Author: Justin Peel Branch: Changeset: r53154:c3c5061a39af Date: 2012-03-03 14:11 -0700 http://bitbucket.org/pypy/pypy/changeset/c3c5061a39af/ Log:speed up unpickling of datetime.time objects diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++ b/lib_pypy/

[pypy-commit] pypy default: speed up unpickling of datetime.datetime objects

2012-03-03 Thread justinpeel
Author: Justin Peel Branch: Changeset: r53155:3539e2d663f4 Date: 2012-03-03 14:27 -0700 http://bitbucket.org/pypy/pypy/changeset/3539e2d663f4/ Log:speed up unpickling of datetime.datetime objects diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++ b/lib_p

[pypy-commit] pypy zlib-mem-pressure: Add memory pressure to zlib's compressor and decompressor.

2012-03-14 Thread justinpeel
Author: Justin Peel Branch: zlib-mem-pressure Changeset: r53561:3a26c1c5172e Date: 2012-03-14 07:45 -0600 http://bitbucket.org/pypy/pypy/changeset/3a26c1c5172e/ Log:Add memory pressure to zlib's compressor and decompressor. diff --git a/pypy/rlib/rzlib.py b/pypy/rlib/rzlib.py --- a/pypy/rlib

[pypy-commit] pypy zlib-mem-pressure: merge in default

2012-03-14 Thread justinpeel
Author: Justin Peel Branch: zlib-mem-pressure Changeset: r53655:51221f3fd04c Date: 2012-03-14 21:19 -0600 http://bitbucket.org/pypy/pypy/changeset/51221f3fd04c/ Log:merge in default diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py --- a/pypy/rlib/rarithmetic.py +++ b/pypy/rli

[pypy-commit] pypy default: Merge in zlib-mem-pressure. It probably needs more memory pressure, but this is better than none.

2012-03-14 Thread justinpeel
Author: Justin Peel Branch: Changeset: r53656:fb2a05e148e3 Date: 2012-03-14 21:21 -0600 http://bitbucket.org/pypy/pypy/changeset/fb2a05e148e3/ Log:Merge in zlib-mem-pressure. It probably needs more memory pressure, but this is better than none. diff --git a/pypy/rlib/rzlib.py b/pypy

[pypy-commit] pypy default: merge

2012-03-14 Thread justinpeel
Author: Justin Peel Branch: Changeset: r53657:5433a5a5b974 Date: 2012-03-14 21:23 -0600 http://bitbucket.org/pypy/pypy/changeset/5433a5a5b974/ Log:merge diff --git a/pypy/jit/backend/llsupport/test/test_gc.py b/pypy/jit/backend/llsupport/test/test_gc.py --- a/pypy/jit/backend/llsupport/tes

[pypy-commit] pypy numpy-singledim: Added simple repr and str for ViewArrays

2011-07-16 Thread justinpeel
Author: Justin Peel Branch: numpy-singledim Changeset: r45673:29e15adb6915 Date: 2011-07-15 18:10 -0600 http://bitbucket.org/pypy/pypy/changeset/29e15adb6915/ Log:Added simple repr and str for ViewArrays diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_

[pypy-commit] pypy numpy-ndim-size: numpy: added ndim and size attributes. This includes work by Timo.

2011-07-16 Thread justinpeel
Author: Justin Peel Branch: numpy-ndim-size Changeset: r45674:db28a9352aa2 Date: 2011-07-16 10:38 -0600 http://bitbucket.org/pypy/pypy/changeset/db28a9352aa2/ Log:numpy: added ndim and size attributes. This includes work by Timo. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy

[pypy-commit] pypy numpy-repr-str: numpy: simple implementations of repr and str. includes work by Timo.

2011-07-16 Thread justinpeel
Author: Justin Peel Branch: numpy-repr-str Changeset: r45675:9e83042f6f27 Date: 2011-07-16 10:53 -0600 http://bitbucket.org/pypy/pypy/changeset/9e83042f6f27/ Log:numpy: simple implementations of repr and str. includes work by Timo. diff --git a/pypy/module/micronumpy/interp_numarray.

[pypy-commit] pypy numpy-setslice: numpy: setslice added but doesn't work correctly for setting a slice of a slice yet

2011-07-16 Thread justinpeel
Author: Justin Peel Branch: numpy-setslice Changeset: r45685:9d55cebe8768 Date: 2011-07-16 12:49 -0600 http://bitbucket.org/pypy/pypy/changeset/9d55cebe8768/ Log:numpy: setslice added but doesn't work correctly for setting a slice of a slice yet diff --git a/pypy/module/micronumpy/in

[pypy-commit] pypy numpy-ndim-size: Added a bounds check on binary operations.

2011-07-17 Thread justinpeel
Author: Justin Peel Branch: numpy-ndim-size Changeset: r45705:76e17925faf1 Date: 2011-07-17 23:53 -0600 http://bitbucket.org/pypy/pypy/changeset/76e17925faf1/ Log:Added a bounds check on binary operations. diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py --

[pypy-commit] pypy numpy-ndim-size: Changed size and ndim on FloatWrapper to not use exceptions. Instead, size and ndim are -1 on such types.

2011-07-17 Thread justinpeel
Author: Justin Peel Branch: numpy-ndim-size Changeset: r45706:0b020cb8d109 Date: 2011-07-18 00:06 -0600 http://bitbucket.org/pypy/pypy/changeset/0b020cb8d109/ Log:Changed size and ndim on FloatWrapper to not use exceptions. Instead, size and ndim are -1 on such types. diff --git a/py

[pypy-commit] pypy numpy-sort: First rendition of sort. Needs more work and tests.

2011-07-17 Thread justinpeel
Author: Justin Peel Branch: numpy-sort Changeset: r45707:6fcaedcfdebb Date: 2011-07-18 00:16 -0600 http://bitbucket.org/pypy/pypy/changeset/6fcaedcfdebb/ Log:First rendition of sort. Needs more work and tests. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/i

[pypy-commit] pypy numpy-ufuncs: added ufuncs add, divide, multiply, subtract

2011-07-17 Thread justinpeel
Author: Justin Peel Branch: numpy-ufuncs Changeset: r45708:02090c007d03 Date: 2011-07-18 00:51 -0600 http://bitbucket.org/pypy/pypy/changeset/02090c007d03/ Log:added ufuncs add, divide, multiply, subtract diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py -

[pypy-commit] pypy numpy-setslice: setslice seems to be all working. needs more tests.

2011-07-18 Thread justinpeel
Author: Justin Peel Branch: numpy-setslice Changeset: r45720:2e37d616a1ee Date: 2011-07-18 12:28 -0600 http://bitbucket.org/pypy/pypy/changeset/2e37d616a1ee/ Log:setslice seems to be all working. needs more tests. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronum

[pypy-commit] pypy numpy-setslice: Fixed setslice and added extra tests for slice of slice. Everything appears to be working for setting slices.

2011-07-19 Thread justinpeel
Author: Justin Peel Branch: numpy-setslice Changeset: r45747:818b17e123de Date: 2011-07-18 18:15 -0600 http://bitbucket.org/pypy/pypy/changeset/818b17e123de/ Log:Fixed setslice and added extra tests for slice of slice. Everything appears to be working for setting slices. diff --git a

[pypy-commit] pypy streamio-bufout: Sped up BufferingOutputStream and LineBufferingOutputStream

2011-07-20 Thread justinpeel
Author: Justin Peel Branch: streamio-bufout Changeset: r45785:5d4b20b417a5 Date: 2011-07-19 17:19 -0600 http://bitbucket.org/pypy/pypy/changeset/5d4b20b417a5/ Log:Sped up BufferingOutputStream and LineBufferingOutputStream diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy

[pypy-commit] pypy streamio-bufout: Fixed BufferedOutputStream and LineBufferedOutputStream so that they fully pass all tests.

2011-07-20 Thread justinpeel
Author: Justin Peel Branch: streamio-bufout Changeset: r45786:a93fcd815003 Date: 2011-07-19 23:25 -0600 http://bitbucket.org/pypy/pypy/changeset/a93fcd815003/ Log:Fixed BufferedOutputStream and LineBufferedOutputStream so that they fully pass all tests. diff --git a/pypy/rlib/streami

[pypy-commit] pypy default: numpy: changed numarray unary functions to use ufuncs

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45834:136146a41b4a Date: 2011-07-21 11:18 -0600 http://bitbucket.org/pypy/pypy/changeset/136146a41b4a/ Log:numpy: changed numarray unary functions to use ufuncs diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_nu

[pypy-commit] pypy default: merged unary functs

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45835:9b3ddfcb4c38 Date: 2011-07-21 11:20 -0600 http://bitbucket.org/pypy/pypy/changeset/9b3ddfcb4c38/ Log:merged unary functs diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/module/micron

[pypy-commit] pypy default: Re-enable set slice drivers for numarrays for that the zjit tests succeed.

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45836:acad170d7ecf Date: 2011-07-21 11:39 -0600 http://bitbucket.org/pypy/pypy/changeset/acad170d7ecf/ Log:Re-enable set slice drivers for numarrays for that the zjit tests succeed. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pyp

[pypy-commit] pypy default: fixed numpy's setslice to play nicely with the jit.

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45854:631e083bd996 Date: 2011-07-21 19:20 -0600 http://bitbucket.org/pypy/pypy/changeset/631e083bd996/ Log:fixed numpy's setslice to play nicely with the jit. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numa

[pypy-commit] pypy default: Fixed a typo in a test

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45855:cc2ae015c7fb Date: 2011-07-21 20:22 -0600 http://bitbucket.org/pypy/pypy/changeset/cc2ae015c7fb/ Log:Fixed a typo in a test diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py --- a/pypy/modu

[pypy-commit] pypy streamio-bufout: close for merge

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: streamio-bufout Changeset: r45857:89c23d06a9c3 Date: 2011-07-22 00:44 -0600 http://bitbucket.org/pypy/pypy/changeset/89c23d06a9c3/ Log:close for merge ___ pypy-commit mailing list pypy-commit@python.org http://mail.pytho

[pypy-commit] pypy default: merged streamio-bufout

2011-07-21 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45858:a02ff8434e20 Date: 2011-07-22 00:48 -0600 http://bitbucket.org/pypy/pypy/changeset/a02ff8434e20/ Log:merged streamio-bufout diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rlib/streamio.py +++ b/pypy/rlib/streamio.py @@ -87

[pypy-commit] pypy default: numpy: added copy and made set slice work when setting to part of the same array

2011-07-22 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45890:0055fef080ed Date: 2011-07-22 18:10 -0600 http://bitbucket.org/pypy/pypy/changeset/0055fef080ed/ Log:numpy: added copy and made set slice work when setting to part of the same array diff --git a/pypy/module/micronumpy/interp_numarray.py

[pypy-commit] pypy default: Small speed-up for stream output buffers

2011-07-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46031:410c4f324cf5 Date: 2011-07-27 15:04 -0600 http://bitbucket.org/pypy/pypy/changeset/410c4f324cf5/ Log:Small speed-up for stream output buffers diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rlib/streamio.py +++ b/pypy/rlib/

[pypy-commit] pypy streamio-bufinput: Revamped BufferingInputStream to be faster.

2011-07-28 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46066:4d206523194f Date: 2011-07-28 13:55 -0600 http://bitbucket.org/pypy/pypy/changeset/4d206523194f/ Log:Revamped BufferingInputStream to be faster. diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rlib/streamio

[pypy-commit] pypy default: numpy: fix slices of virtual arrays

2011-07-28 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46081:8077531fdd4e Date: 2011-07-28 21:53 -0600 http://bitbucket.org/pypy/pypy/changeset/8077531fdd4e/ Log:numpy: fix slices of virtual arrays diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/py

[pypy-commit] pypy numpy-dtype: Added simple dtypes. Still needs a lot of work.

2011-08-01 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46174:f0e8e21ec01c Date: 2011-08-01 23:19 -0600 http://bitbucket.org/pypy/pypy/changeset/f0e8e21ec01c/ Log:Added simple dtypes. Still needs a lot of work. diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py

[pypy-commit] pypy numpy-dtype: add interp_dtype.py and its test file

2011-08-01 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46175:e563185b1051 Date: 2011-08-01 23:21 -0600 http://bitbucket.org/pypy/pypy/changeset/e563185b1051/ Log:add interp_dtype.py and its test file diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py n

[pypy-commit] pypy default: Alex Gaynor's error message patch to help people like me figure out what they are doing wrong

2011-08-01 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46177:4b3c8fa61ddd Date: 2011-08-02 00:18 -0600 http://bitbucket.org/pypy/pypy/changeset/4b3c8fa61ddd/ Log:Alex Gaynor's error message patch to help people like me figure out what they are doing wrong diff --git a/pypy/interpreter/gateway.py b

[pypy-commit] pypy numpy-dtype: Added ScalarWrapper. Added some more types.

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46217:bb78cfeb8c6d Date: 2011-08-02 13:22 -0600 http://bitbucket.org/pypy/pypy/changeset/bb78cfeb8c6d/ Log:Added ScalarWrapper. Added some more types. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtyp

[pypy-commit] pypy numpy-dtype: Add num and kind attributes to dtype

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46218:83b6f9331702 Date: 2011-08-02 13:29 -0600 http://bitbucket.org/pypy/pypy/changeset/83b6f9331702/ Log:Add num and kind attributes to dtype diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --

[pypy-commit] pypy numpy-dtype: step 1 in getting Call2 to deal with dtypes

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46220:9b7c9608f17c Date: 2011-08-02 13:55 -0600 http://bitbucket.org/pypy/pypy/changeset/9b7c9608f17c/ Log:step 1 in getting Call2 to deal with dtypes diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_n

[pypy-commit] pypy numpy-dtype: got one type of int working. binary operations appear to work with mixed types.

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46221:4145ce2b3d99 Date: 2011-08-02 18:17 -0600 http://bitbucket.org/pypy/pypy/changeset/4145ce2b3d99/ Log:got one type of int working. binary operations appear to work with mixed types. diff --git a/pypy/module/micronumpy/interp_dt

[pypy-commit] pypy numpy-dtype: added int8, uint8, int16, uint16 dtypes. Added back in some explicit casting.

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46222:e1c6862ff132 Date: 2011-08-02 19:05 -0600 http://bitbucket.org/pypy/pypy/changeset/e1c6862ff132/ Log:added int8, uint8, int16, uint16 dtypes. Added back in some explicit casting. diff --git a/pypy/module/micronumpy/interp_dtyp

[pypy-commit] pypy numpy-dtype: add bool, int64, and uint64 types

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46223:738b3abe41b1 Date: 2011-08-02 19:43 -0600 http://bitbucket.org/pypy/pypy/changeset/738b3abe41b1/ Log:add bool, int64, and uint64 types diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --- a

[pypy-commit] pypy numpy-dtype: add back in int32 and uint32 dtypes

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46224:998dd2036252 Date: 2011-08-02 20:03 -0600 http://bitbucket.org/pypy/pypy/changeset/998dd2036252/ Log:add back in int32 and uint32 dtypes diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py ---

[pypy-commit] pypy numpy-dtype: add float32 and float96 dtypes

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46225:92d7e1954794 Date: 2011-08-02 22:14 -0600 http://bitbucket.org/pypy/pypy/changeset/92d7e1954794/ Log:add float32 and float96 dtypes diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --- a/py

[pypy-commit] pypy numpy-dtype: added find_result_dtype. binops should work correctly now.

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46226:959ca3a44df9 Date: 2011-08-02 23:30 -0600 http://bitbucket.org/pypy/pypy/changeset/959ca3a44df9/ Log:added find_result_dtype. binops should work correctly now. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronu

[pypy-commit] pypy numpy-dtype: add ability to get dtypes with types (e.g. dtype(bool) or array([1], bool))

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46227:cc5e673fa4a4 Date: 2011-08-02 23:49 -0600 http://bitbucket.org/pypy/pypy/changeset/cc5e673fa4a4/ Log:add ability to get dtypes with types (e.g. dtype(bool) or array([1],bool)) diff --git a/pypy/module/micronumpy/interp_dtype.p

[pypy-commit] pypy numpy-dtype: dtype can be specified as keyword to array()

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46229:313d75d25bbf Date: 2011-08-03 00:06 -0600 http://bitbucket.org/pypy/pypy/changeset/313d75d25bbf/ Log:dtype can be specified as keyword to array() diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_

[pypy-commit] pypy numpy-dtype: Fixed two dtype defs and find_result_dtype and added more tests

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46232:de8306f5870e Date: 2011-08-03 00:42 -0600 http://bitbucket.org/pypy/pypy/changeset/de8306f5870e/ Log:Fixed two dtype defs and find_result_dtype and added more tests diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/mi

[pypy-commit] pypy numpy-dtype: use longer strings to specify dtypes

2011-08-02 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46233:52e1f875ee0d Date: 2011-08-03 00:56 -0600 http://bitbucket.org/pypy/pypy/changeset/52e1f875ee0d/ Log:use longer strings to specify dtypes diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --

[pypy-commit] pypy numpy-dtype: change array repr and str to format ints and bools correctly. still need to show dtype.

2011-08-03 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46234:21b2605606ce Date: 2011-08-03 01:13 -0600 http://bitbucket.org/pypy/pypy/changeset/21b2605606ce/ Log:change array repr and str to format ints and bools correctly. still need to show dtype. diff --git a/pypy/module/micronumpy/i

[pypy-commit] pypy numpy-dtype: dtypes repr and str

2011-08-03 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46235:b0f23dc4ccac Date: 2011-08-03 01:32 -0600 http://bitbucket.org/pypy/pypy/changeset/b0f23dc4ccac/ Log:dtypes repr and str diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --- a/pypy/module/m

[pypy-commit] pypy numpy-dtype: code clean-up and add one test

2011-08-03 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46249:c9320ca675c9 Date: 2011-08-03 10:58 -0600 http://bitbucket.org/pypy/pypy/changeset/c9320ca675c9/ Log:code clean-up and add one test diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --- a/py

[pypy-commit] pypy numpy-dtype: make get_dtype play nicely with the annotator

2011-08-03 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46258:298694cf047a Date: 2011-08-03 14:56 -0600 http://bitbucket.org/pypy/pypy/changeset/298694cf047a/ Log:make get_dtype play nicely with the annotator diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dt

[pypy-commit] pypy numpy-dtype: trying to satisfy the annotator. disabled some functions to simplify debugging temporarily.

2011-08-06 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46343:9fe913a49303 Date: 2011-08-06 19:01 -0600 http://bitbucket.org/pypy/pypy/changeset/9fe913a49303/ Log:trying to satisfy the annotator. disabled some functions to simplify debugging temporarily. diff --git a/pypy/module/micronum

[pypy-commit] pypy numpy-dtype: Add a cast and use get_root_storage more

2011-08-15 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46528:07115e093698 Date: 2011-08-08 16:54 -0600 http://bitbucket.org/pypy/pypy/changeset/07115e093698/ Log:Add a cast and use get_root_storage more diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numa

[pypy-commit] pypy numpy-dtype: works with annotator, but had to disable most functionality for now. Basically can create arrays and get/setitem with them. Float32/96 aren't liked by the annotator so

2011-08-15 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46529:bea325b046d9 Date: 2011-08-15 22:56 -0600 http://bitbucket.org/pypy/pypy/changeset/bea325b046d9/ Log:works with annotator, but had to disable most functionality for now. Basically can create arrays and get/setitem with them. Fl

[pypy-commit] pypy streamio-bufinput: Added a return for when whence=2. All tests pass now.

2011-08-19 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46649:d1e68fa256d2 Date: 2011-08-19 14:27 -0600 http://bitbucket.org/pypy/pypy/changeset/d1e68fa256d2/ Log:Added a return for when whence=2. All tests pass now. diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rli

[pypy-commit] pypy default: small change for string's repr to make common visible characters (>= 32 and < 128) require less checks. speeds up by about 20% for strings with such characters.

2011-08-19 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46653:1f8c162174c6 Date: 2011-08-19 23:17 -0600 http://bitbucket.org/pypy/pypy/changeset/1f8c162174c6/ Log:small change for string's repr to make common visible characters (>= 32 and < 128) require less checks. speeds up by about 20% for

[pypy-commit] pypy streamio-bufinput: got rid of the strange whence=2 code for when a MyNotImplementedError is raised. tests all still pass.

2011-08-20 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46668:0a9f3a17a71d Date: 2011-08-20 09:53 -0600 http://bitbucket.org/pypy/pypy/changeset/0a9f3a17a71d/ Log:got rid of the strange whence=2 code for when a MyNotImplementedError is raised. tests all still pass. diff --git a/pyp

[pypy-commit] pypy numpy-dtype: fixed getitem of a slice

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46713:481b3ae5777d Date: 2011-08-16 00:12 -0600 http://bitbucket.org/pypy/pypy/changeset/481b3ae5777d/ Log:fixed getitem of a slice diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/py

[pypy-commit] pypy numpy-dtype: Added in Int64 and fixed a typo.

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46715:48a26861a1ac Date: 2011-08-22 01:17 -0600 http://bitbucket.org/pypy/pypy/changeset/48a26861a1ac/ Log:Added in Int64 and fixed a typo. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype.py --- a/

[pypy-commit] pypy numpy-dtype: setslice is working, but had to disable all types except bool, int32, long, float64.

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46714:7695baf72d2f Date: 2011-08-22 00:38 -0600 http://bitbucket.org/pypy/pypy/changeset/7695baf72d2f/ Log:setslice is working, but had to disable all types except bool, int32, long, float64. diff --git a/pypy/module/micronumpy/inte

[pypy-commit] pypy numpy-dtype: convert_to_array can handle scalars again.

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46716:d3b95f7ca4d2 Date: 2011-08-22 12:31 -0600 http://bitbucket.org/pypy/pypy/changeset/d3b95f7ca4d2/ Log:convert_to_array can handle scalars again. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronumpy/interp_dtype

[pypy-commit] pypy numpy-dtype: Added neg unary function. no jit stuff at all so far.

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46717:155103f6a006 Date: 2011-08-23 00:49 -0600 http://bitbucket.org/pypy/pypy/changeset/155103f6a006/ Log:Added neg unary function. no jit stuff at all so far. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronump

[pypy-commit] pypy numpy-dtype: add abs

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46718:9e75642aab93 Date: 2011-08-23 00:52 -0600 http://bitbucket.org/pypy/pypy/changeset/9e75642aab93/ Log:add abs diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/module/micronu

[pypy-commit] pypy numpy-dtype: add __pos__

2011-08-22 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46719:4705cb4b51b3 Date: 2011-08-23 00:54 -0600 http://bitbucket.org/pypy/pypy/changeset/4705cb4b51b3/ Log:add __pos__ diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/module/mic

[pypy-commit] pypy numpy-dtype: put back in binop and add. translates, but has problems.

2011-08-23 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46745:2f509d2206d0 Date: 2011-08-23 10:45 -0600 http://bitbucket.org/pypy/pypy/changeset/2f509d2206d0/ Log:put back in binop and add. translates, but has problems. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronump

[pypy-commit] pypy default: Backed out changeset f8086f9fc11d

2011-08-23 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46751:bdc441759d76 Date: 2011-08-23 16:49 -0600 http://bitbucket.org/pypy/pypy/changeset/bdc441759d76/ Log:Backed out changeset f8086f9fc11d diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspace/std/st

[pypy-commit] pypy numpy-dtype: re-merge in default

2011-08-23 Thread justinpeel
Author: Justin Peel Branch: numpy-dtype Changeset: r46753:5445ab443c0a Date: 2011-08-23 17:12 -0600 http://bitbucket.org/pypy/pypy/changeset/5445ab443c0a/ Log:re-merge in default diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspace/std/strin

[pypy-commit] pypy streamio-bufinput: added back in whence=2 code for when seek isn't implemented adapted to new buffering system. all streamio tests passed.

2011-08-26 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46809:5375c356fe0c Date: 2011-08-26 23:39 -0600 http://bitbucket.org/pypy/pypy/changeset/5375c356fe0c/ Log:added back in whence=2 code for when seek isn't implemented adapted to new buffering system. all streamio tests passed.

[pypy-commit] pypy streamio-bufinput: merge in default

2011-08-26 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46810:151a20159ae6 Date: 2011-08-27 00:55 -0600 http://bitbucket.org/pypy/pypy/changeset/151a20159ae6/ Log:merge in default diff --git a/ctypes_configure/configure.py b/ctypes_configure/configure.py --- a/ctypes_configure/configure.py

[pypy-commit] pypy streamio-bufinput: Close branch streamio-bufinput

2011-08-26 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46811:8fdf2fce29ea Date: 2011-08-27 00:57 -0600 http://bitbucket.org/pypy/pypy/changeset/8fdf2fce29ea/ Log:Close branch streamio-bufinput ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy default: merge branch streamio-bufinput

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46812:907a17df6cd4 Date: 2011-08-27 00:58 -0600 http://bitbucket.org/pypy/pypy/changeset/907a17df6cd4/ Log:merge branch streamio-bufinput diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rlib/streamio.py +++ b/pypy/rlib/streamio.p

[pypy-commit] pypy faster-bz2: sped up the buffering when reading bz2 files

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: faster-bz2 Changeset: r46829:ce4fd81688d5 Date: 2011-08-27 14:33 -0600 http://bitbucket.org/pypy/pypy/changeset/ce4fd81688d5/ Log:sped up the buffering when reading bz2 files diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py --- a/pypy/mod

[pypy-commit] pypy default: (alex gaynor) fix getlogin to not break translation

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46832:db8707a7079e Date: 2011-08-27 16:02 -0600 http://bitbucket.org/pypy/pypy/changeset/db8707a7079e/ Log:(alex gaynor) fix getlogin to not break translation diff --git a/pypy/rpython/module/ll_os.py b/pypy/rpython/module/ll_os.py --- a/pypy/rpython/

[pypy-commit] pypy default: speed up unpacking of integers

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46841:824c34520e40 Date: 2011-08-27 22:34 -0600 http://bitbucket.org/pypy/pypy/changeset/824c34520e40/ Log:speed up unpacking of integers diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/formatiterator.py --- a/pypy/module/struc

[pypy-commit] pypy default: backout unpacking speed up

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46846:14f152109578 Date: 2011-08-27 23:12 -0600 http://bitbucket.org/pypy/pypy/changeset/14f152109578/ Log:backout unpacking speed up diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/formatiterator.py --- a/pypy/module/struct/fo

[pypy-commit] pypy unpack-ints-fast: fixed rzipfile problems, I think

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: unpack-ints-fast Changeset: r46850:d18372b66c65 Date: 2011-08-28 00:27 -0600 http://bitbucket.org/pypy/pypy/changeset/d18372b66c65/ Log:fixed rzipfile problems, I think diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/formatiterator.py --- a

[pypy-commit] pypy unpack-ints-fast: try to speed up unpacking ints

2011-08-27 Thread justinpeel
Author: Justin Peel Branch: unpack-ints-fast Changeset: r46849:4cb38c130da5 Date: 2011-08-27 23:20 -0600 http://bitbucket.org/pypy/pypy/changeset/4cb38c130da5/ Log:try to speed up unpacking ints diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/formatiterator.py --- a/p

[pypy-commit] pypy unpack-ints-fast: merge in default

2011-08-28 Thread justinpeel
Author: Justin Peel Branch: unpack-ints-fast Changeset: r46864:932034e455ea Date: 2011-08-28 12:02 -0600 http://bitbucket.org/pypy/pypy/changeset/932034e455ea/ Log:merge in default diff --git a/pypy/doc/_ref.txt b/pypy/doc/_ref.txt --- a/pypy/doc/_ref.txt +++ b/pypy/doc/_ref.txt @@ -1,11 +1,

[pypy-commit] pypy faster-bz2: close faster-bz2

2011-08-28 Thread justinpeel
Author: Justin Peel Branch: faster-bz2 Changeset: r46871:d95d449cb0e2 Date: 2011-08-28 15:49 -0600 http://bitbucket.org/pypy/pypy/changeset/d95d449cb0e2/ Log:close faster-bz2 ___ pypy-commit mailing list pypy-commit@python.org http://mail.python.or

[pypy-commit] pypy default: merge in faster-bz2. greatly speeds up using tarfile on bzipped tarballs.

2011-08-28 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46872:69bd52f5244b Date: 2011-08-28 15:50 -0600 http://bitbucket.org/pypy/pypy/changeset/69bd52f5244b/ Log:merge in faster-bz2. greatly speeds up using tarfile on bzipped tarballs. diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/i

[pypy-commit] pypy faster-sum: Try to make a faster built-in sum function

2011-08-28 Thread justinpeel
Author: Justin Peel Branch: faster-sum Changeset: r46881:e4d3269945d5 Date: 2011-08-29 00:57 -0600 http://bitbucket.org/pypy/pypy/changeset/e4d3269945d5/ Log:Try to make a faster built-in sum function diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py

[pypy-commit] pypy faster-sum: wasn't faster

2011-08-29 Thread justinpeel
Author: Justin Peel Branch: faster-sum Changeset: r46901:3eba0bde5e95 Date: 2011-08-29 12:15 -0600 http://bitbucket.org/pypy/pypy/changeset/3eba0bde5e95/ Log:wasn't faster ___ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/m

[pypy-commit] pypy faster-sum: fixed

2011-08-29 Thread justinpeel
Author: Justin Peel Branch: faster-sum Changeset: r46900:beff4fcadc5c Date: 2011-08-29 12:15 -0600 http://bitbucket.org/pypy/pypy/changeset/beff4fcadc5c/ Log:fixed diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py --- a/pypy/module/__builtin__/functi

[pypy-commit] extradoc extradoc: started a micronumpy TODO

2011-08-29 Thread justinpeel
Author: Justin Peel Branch: extradoc Changeset: r3889:045fa0878a37 Date: 2011-08-29 18:15 -0600 http://bitbucket.org/pypy/extradoc/changeset/045fa0878a37/ Log:started a micronumpy TODO diff --git a/planning/micronumpy.txt b/planning/micronumpy.txt new file mode 100644 --- /dev/null +++ b/pla

[pypy-commit] pypy default: small speed-up for tarfile.py checksums

2011-08-29 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46909:35da98dedf56 Date: 2011-08-29 18:32 -0600 http://bitbucket.org/pypy/pypy/changeset/35da98dedf56/ Log:small speed-up for tarfile.py checksums diff --git a/lib-python/modified-2.7/tarfile.py b/lib-python/modified-2.7/tarfile.py --- a/lib-python/m

[pypy-commit] pypy default: speed up seeking when no seeking is needed. speeds up tarfile with gzipped tarballs.

2011-08-29 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46913:9f1fb6a3bb13 Date: 2011-08-30 00:18 -0600 http://bitbucket.org/pypy/pypy/changeset/9f1fb6a3bb13/ Log:speed up seeking when no seeking is needed. speeds up tarfile with gzipped tarballs. diff --git a/lib-python/modified-2.7/gzip.py b/lib-

[pypy-commit] pypy default: speed up for tarfile. pypy doesn't like adding empty strings.

2011-08-29 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46914:c7da5730f011 Date: 2011-08-30 00:35 -0600 http://bitbucket.org/pypy/pypy/changeset/c7da5730f011/ Log:speed up for tarfile. pypy doesn't like adding empty strings. diff --git a/lib-python/modified-2.7/tarfile.py b/lib-python/modified-2.7/tarfile

[pypy-commit] pypy default: fix a gzip test and still get most of the speed up.

2011-08-30 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46915:41ad1c84aec7 Date: 2011-08-30 01:26 -0600 http://bitbucket.org/pypy/pypy/changeset/41ad1c84aec7/ Log:fix a gzip test and still get most of the speed up. diff --git a/lib-python/modified-2.7/gzip.py b/lib-python/modified-2.7/gzip.py --- a/lib-pyt

[pypy-commit] pypy default: typo fix in pyjitpl5 doc

2011-08-30 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46923:09e6278b548c Date: 2011-08-30 09:55 -0600 http://bitbucket.org/pypy/pypy/changeset/09e6278b548c/ Log:typo fix in pyjitpl5 doc diff --git a/pypy/doc/jit/pyjitpl5.rst b/pypy/doc/jit/pyjitpl5.rst --- a/pypy/doc/jit/pyjitpl5.rst +++ b/pypy/doc/jit/p

[pypy-commit] pypy default: fix bz2. tests didn't find this.

2011-08-30 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46937:b4d8eb5fdf6c Date: 2011-08-31 00:17 -0600 http://bitbucket.org/pypy/pypy/changeset/b4d8eb5fdf6c/ Log:fix bz2. tests didn't find this. diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py --- a/pypy/module/bz2/interp_bz2.py

[pypy-commit] pypy default: change bz2 test so that it reads chunks which don't divide evenly into test data's length

2011-08-31 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46956:13c94c0591c3 Date: 2011-08-31 13:32 -0600 http://bitbucket.org/pypy/pypy/changeset/13c94c0591c3/ Log:change bz2 test so that it reads chunks which don't divide evenly into test data's length diff --git a/pypy/module/bz2/test/test_bz2_fil

[pypy-commit] pypy default: micronumpy: added indexing by tuples to get/setitem

2011-08-31 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46964:93adb3d59791 Date: 2011-08-31 18:01 -0600 http://bitbucket.org/pypy/pypy/changeset/93adb3d59791/ Log:micronumpy: added indexing by tuples to get/setitem diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numa

[pypy-commit] pypy default: fix my slice creation in micronumpy

2011-08-31 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46965:e31726cdf996 Date: 2011-08-31 19:51 -0600 http://bitbucket.org/pypy/pypy/changeset/e31726cdf996/ Log:fix my slice creation in micronumpy diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/py

  1   2   3   >