[pypy-commit] pypy default: convert zip to app-level, it's a tad faster this way. also, more app-level code makes me happy

2011-10-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48253:868ae3832ed8 Date: 2011-10-20 00:04 -0400 http://bitbucket.org/pypy/pypy/changeset/868ae3832ed8/ Log:convert zip to app-level, it's a tad faster this way. also, more app-level code makes me happy diff --git a/pypy/module/__builtin__/__in

[pypy-commit] pypy default: copy a tad less in rbuilder, only copy the amount of data we have, not the amount we allocated

2011-10-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48251:48ae76147f6f Date: 2011-10-19 21:18 -0400 http://bitbucket.org/pypy/pypy/changeset/48ae76147f6f/ Log:copy a tad less in rbuilder, only copy the amount of data we have, not the amount we allocated diff --git a/pypy/rpython/lltypesystem/rb

[pypy-commit] pypy default: merged upstream

2011-10-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48252:63d990952c7a Date: 2011-10-19 21:20 -0400 http://bitbucket.org/pypy/pypy/changeset/63d990952c7a/ Log:merged upstream diff --git a/pypy/module/__builtin__/app_io.py b/pypy/module/__builtin__/app_io.py --- a/pypy/module/__builtin__/app_io.py +++

[pypy-commit] pypy default: Also add the tests provided on issue917.

2011-10-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r48250:0d404d07e902 Date: 2011-10-20 00:05 +0200 http://bitbucket.org/pypy/pypy/changeset/0d404d07e902/ Log:Also add the tests provided on issue917. diff --git a/pypy/module/__builtin__/test/test_builtin.py b/pypy/module/__builtin__/test/test_builtin.p

[pypy-commit] pypy default: Fix also the case of '__raw_input__'. Harder to test :-/

2011-10-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r48249:4519d98952d9 Date: 2011-10-19 23:57 +0200 http://bitbucket.org/pypy/pypy/changeset/4519d98952d9/ Log:Fix also the case of '__raw_input__'. Harder to test :-/ diff --git a/pypy/module/__builtin__/app_io.py b/pypy/module/__builtin__/app_io.py ---

[pypy-commit] pypy numpy-comparison: Check size of arrays in binary operations (needed for comparison)

2011-10-19 Thread snus_mumrik
Author: Ilya Osadchiy Branch: numpy-comparison Changeset: r48248:949a5026cd03 Date: 2011-10-19 22:51 +0200 http://bitbucket.org/pypy/pypy/changeset/949a5026cd03/ Log:Check size of arrays in binary operations (needed for comparison) diff --git a/pypy/module/micronumpy/interp_ufuncs.py b/pypy

[pypy-commit] pypy numpy-comparison: Returning False for "arr == None". Preparations for "zeors(3) == zeros(4)" to

2011-10-19 Thread snus_mumrik
Author: Ilya Osadchiy Branch: numpy-comparison Changeset: r48246:58762c30991d Date: 2011-10-01 21:26 +0300 http://bitbucket.org/pypy/pypy/changeset/58762c30991d/ Log:Returning False for "arr == None". Preparations for "zeors(3) == zeros(4)" to return False diff --git a/pypy/module/mi

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

2011-10-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r48244:2a1eb9241e77 Date: 2011-10-19 23:26 +0200 http://bitbucket.org/pypy/pypy/changeset/2a1eb9241e77/ Log:Test and fix for issue917. diff --git a/pypy/module/__builtin__/app_io.py b/pypy/module/__builtin__/app_io.py --- a/pypy/module/__builtin__/app_

[pypy-commit] pypy py3k: Merge default

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48243:e6393bbc25cf Date: 2011-10-19 22:50 +0200 http://bitbucket.org/pypy/pypy/changeset/e6393bbc25cf/ Log:Merge default diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py b/pypy/jit/metainterp/optimizeopt/rewrite.py --- a/pypy/jit/

[pypy-commit] pypy py3k: Fix tests in the _io module

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48242:74214095bb4a Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/74214095bb4a/ Log:Fix tests in the _io module diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py --- a/pypy/mo

[pypy-commit] pypy py3k: Lot of fixes in the _codecs module

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48241:e0cf3d8b87a2 Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/e0cf3d8b87a2/ Log:Lot of fixes in the _codecs module diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/

[pypy-commit] pypy py3k: Remove many modules from "working_modules".

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48239:f24a5ad97e35 Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/f24a5ad97e35/ Log:Remove many modules from "working_modules". There are still enough builtin modules to run most regression tests diff --git

[pypy-commit] pypy py3k: Fix the binascii module

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48238:e2959749a482 Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/e2959749a482/ Log:Fix the binascii module diff --git a/pypy/module/binascii/interp_base64.py b/pypy/module/binascii/interp_base64.py --- a/pypy/modu

[pypy-commit] pypy py3k: filter() should return an iterable object, not a list or string or whatever

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48236:bde154c88f96 Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/bde154c88f96/ Log:filter() should return an iterable object, not a list or string or whatever diff --git a/pypy/module/__builtin__/app_functi

[pypy-commit] pypy py3k: Fixes for the select module.

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48234:e2fc88ce5b9c Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/e2fc88ce5b9c/ Log:Fixes for the select module. _socket._accept() must return the raw fd. diff --git a/pypy/module/_socket/interp_socket.py b

[pypy-commit] pypy py3k: Fix all tests in module/_locale

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48240:149eb1fd7f2a Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/149eb1fd7f2a/ Log:Fix all tests in module/_locale diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/pyp

[pypy-commit] pypy py3k: Add traceback to exception objects.

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48237:e279f4abab78 Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/e279f4abab78/ Log:Add traceback to exception objects. Not filled by the interpreter yet, at least with_traceback() won't fail. diff --git a/p

[pypy-commit] pypy py3k: Fix fcntl module

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48235:059c4d141093 Date: 2011-10-19 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/059c4d141093/ Log:Fix fcntl module diff --git a/pypy/module/fcntl/interp_fcntl.py b/pypy/module/fcntl/interp_fcntl.py --- a/pypy/module/fcntl/interp

[pypy-commit] pypy py3k: Fix unicodedata tests.

2011-10-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48233:0c4dd4a4f750 Date: 2011-10-19 02:02 +0200 http://bitbucket.org/pypy/pypy/changeset/0c4dd4a4f750/ Log:Fix unicodedata tests. diff --git a/pypy/module/unicodedata/test/test_unicodedata.py b/pypy/module/unicodedata/test/test_unicodeda

[pypy-commit] pyrepl py3ksupport: tonns of python3 fixes in various files, normal usage is still fine

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r148:9fd2a470fd2a Date: 2011-10-19 22:37 +0200 http://bitbucket.org/pypy/pyrepl/changeset/9fd2a470fd2a/ Log:tonns of python3 fixes in various files, normal usage is still fine diff --git a/pyrepl/cmdrepl.py b/pyrepl/cmdrepl.py --- a/p

[pypy-commit] extradoc extradoc: another blocker

2011-10-19 Thread alex_gaynor
Author: Alex Gaynor Branch: extradoc Changeset: r3934:f35ad4f8d263 Date: 2011-10-19 16:30 -0400 http://bitbucket.org/pypy/extradoc/changeset/f35ad4f8d263/ Log:another blocker diff --git a/planning/release-blockers-1.7.rst b/planning/release-blockers-1.7.rst --- a/planning/release-blockers-1

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

2011-10-19 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48232:ae454f6ace0a Date: 2011-10-19 13:13 -0600 http://bitbucket.org/pypy/pypy/changeset/ae454f6ace0a/ Log:merge in default diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py b/pypy/jit/metainterp/optimizeopt/rewrite.py --- a/pyp

[pypy-commit] pypy rgc-mem-pressure: make CloseHandle (win32) not thread safe to satisfy __del__ conditions

2011-10-19 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48231:20a9ccb0d85d Date: 2011-10-19 12:32 -0600 http://bitbucket.org/pypy/pypy/changeset/20a9ccb0d85d/ Log:make CloseHandle (win32) not thread safe to satisfy __del__ conditions diff --git a/pypy/module/_multiprocessing/interp_

[pypy-commit] pypy.org extradoc: add numbers to numpy as well

2011-10-19 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r288:6aecc698aa56 Date: 2011-10-19 19:22 +0200 http://bitbucket.org/pypy/pypy.org/changeset/6aecc698aa56/ Log:add numbers to numpy as well diff --git a/don3.html b/don3.html --- a/don3.html +++ b/don3.html @@ -5,6 +5,20 @@ Donate to

[pypy-commit] pypy rgc-mem-pressure: improve _digest method in hashlib

2011-10-19 Thread justinpeel
Author: Justin Peel Branch: rgc-mem-pressure Changeset: r48230:063291428036 Date: 2011-10-19 09:36 -0600 http://bitbucket.org/pypy/pypy/changeset/063291428036/ Log:improve _digest method in hashlib diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy/module/_hashlib/interp_hashlib.py

[pypy-commit] pypy faster-json: a test and an obscure fix

2011-10-19 Thread fijal
Author: Maciej Fijalkowski Branch: faster-json Changeset: r48229:53aa34f815e0 Date: 2011-10-19 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/53aa34f815e0/ Log:a test and an obscure fix diff --git a/lib-python/modified-2.7/json/encoder.py b/lib-python/modified-2.7/json/encoder.py ---

[pypy-commit] pypy faster-json: use identity_dict and factor out common infrastructure

2011-10-19 Thread fijal
Author: Maciej Fijalkowski Branch: faster-json Changeset: r48228:e562bb829fbf Date: 2011-10-19 13:29 +0200 http://bitbucket.org/pypy/pypy/changeset/e562bb829fbf/ Log:use identity_dict and factor out common infrastructure diff --git a/lib-python/modified-2.7/json/encoder.py b/lib-python/modi

[pypy-commit] pypy default: Issue916: test and fix by dhx.

2011-10-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r48227:ff2cfafa5e63 Date: 2011-10-19 13:25 +0200 http://bitbucket.org/pypy/pypy/changeset/ff2cfafa5e63/ Log:Issue916: test and fix by dhx. diff --git a/pypy/objspace/std/strutil.py b/pypy/objspace/std/strutil.py --- a/pypy/objspace/std/strutil.py +++ b/

[pypy-commit] pypy faster-json: Step one - remove irrelevant clutter, mostly CPython optimizations.

2011-10-19 Thread fijal
Author: Maciej Fijalkowski Branch: faster-json Changeset: r48226:4c970cf4ece9 Date: 2011-10-19 13:11 +0200 http://bitbucket.org/pypy/pypy/changeset/4c970cf4ece9/ Log:Step one - remove irrelevant clutter, mostly CPython optimizations. diff --git a/lib-python/modified-2.7/json/encoder.py b/li

[pypy-commit] pypy virtualizable-experiments: Avoid ping-pong when doing return/yield, instead store the value on the

2011-10-19 Thread fijal
Author: Maciej Fijalkowski Branch: virtualizable-experiments Changeset: r48225:6768b5b353a1 Date: 2011-10-14 12:38 +0200 http://bitbucket.org/pypy/pypy/changeset/6768b5b353a1/ Log:Avoid ping-pong when doing return/yield, instead store the value on the exception itself diff --git a/py

[pypy-commit] pyrepl py3ksupport: use integer division for the wrapcount, testsuite passes now

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r147:25ba09cae1bb Date: 2011-10-19 10:53 +0200 http://bitbucket.org/pypy/pyrepl/changeset/25ba09cae1bb/ Log:use integer division for the wrapcount, testsuite passes now diff --git a/pyrepl/reader.py b/pyrepl/reader.py --- a/pyrepl/rea

[pypy-commit] pyrepl py3ksupport: use unnamed argument expansion for passing event data to a command

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r145:007debcdb09f Date: 2011-10-19 10:34 +0200 http://bitbucket.org/pypy/pyrepl/changeset/007debcdb09f/ Log:use unnamed argument expansion for passing event data to a command diff --git a/pyrepl/commands.py b/pyrepl/commands.py --- a/

[pypy-commit] pyrepl py3ksupport: py3 safe keymap

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r144:e9e3e95c2a67 Date: 2011-10-19 10:29 +0200 http://bitbucket.org/pypy/pyrepl/changeset/e9e3e95c2a67/ Log:py3 safe keymap diff --git a/pyrepl/keymap.py b/pyrepl/keymap.py --- a/pyrepl/keymap.py +++ b/pyrepl/keymap.py @@ -101,27 +101

[pypy-commit] pyrepl py3ksupport: py3 save input

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r142:f95ff4b955a4 Date: 2011-10-19 10:27 +0200 http://bitbucket.org/pypy/pyrepl/changeset/f95ff4b955a4/ Log:py3 save input diff --git a/pyrepl/input.py b/pyrepl/input.py --- a/pyrepl/input.py +++ b/pyrepl/input.py @@ -32,7 +32,7 @@ #

[pypy-commit] pyrepl py3ksupport: fix up stuff for tox usage

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r141:f1c267d79023 Date: 2011-10-19 09:34 +0200 http://bitbucket.org/pypy/pyrepl/changeset/f1c267d79023/ Log:fix up stuff for tox usage diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -1,3 +1,4 @@ dist/ build/ +

[pypy-commit] pyrepl py3ksupport: partial py3 compat of reader

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r146:d75fa967d0c3 Date: 2011-10-19 10:43 +0200 http://bitbucket.org/pypy/pyrepl/changeset/d75fa967d0c3/ Log:partial py3 compat of reader diff --git a/pyrepl/reader.py b/pyrepl/reader.py --- a/pyrepl/reader.py +++ b/pyrepl/reader.py @@

[pypy-commit] pyrepl py3ksupport: fix rest of tests

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r140:720b6383d757 Date: 2011-10-19 09:27 +0200 http://bitbucket.org/pypy/pyrepl/changeset/720b6383d757/ Log:fix rest of tests diff --git a/testing/test_basic.py b/testing/test_basic.py --- a/testing/test_basic.py +++ b/testing/test_ba

[pypy-commit] pyrepl py3ksupport: py3 save testing infrastructure

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r143:b135d7b5a777 Date: 2011-10-19 10:27 +0200 http://bitbucket.org/pypy/pyrepl/changeset/b135d7b5a777/ Log:py3 save testing infrastructure diff --git a/testing/infrastructure.py b/testing/infrastructure.py --- a/testing/infrastructur

[pypy-commit] pyrepl py3ksupport: allow consoles to stream in events that dont need translation

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r139:af08afe96096 Date: 2011-10-19 09:25 +0200 http://bitbucket.org/pypy/pyrepl/changeset/af08afe96096/ Log:allow consoles to stream in events that dont need translation diff --git a/pyrepl/reader.py b/pyrepl/reader.py --- a/pyrepl/re

[pypy-commit] pyrepl py3ksupport: import/whitespace cleanup in testing infrastructure

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r138:a4b000ce4256 Date: 2011-10-19 09:21 +0200 http://bitbucket.org/pypy/pyrepl/changeset/a4b000ce4256/ Log:import/whitespace cleanup in testing infrastructure diff --git a/testing/infrastructure.py b/testing/infrastructure.py --- a/t

[pypy-commit] pyrepl py3ksupport: use deque + O(1) popleft in inputtranslator instead of list + O(N) pop(0)

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r137:1d4238db5d7e Date: 2011-10-19 09:21 +0200 http://bitbucket.org/pypy/pyrepl/changeset/1d4238db5d7e/ Log:use deque + O(1) popleft in inputtranslator instead of list + O(N) pop(0) diff --git a/pyrepl/input.py b/pyrepl/input.

[pypy-commit] pyrepl py3ksupport: objectify console.py

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r136:5acd791e2f76 Date: 2011-10-19 09:20 +0200 http://bitbucket.org/pypy/pyrepl/changeset/5acd791e2f76/ Log:objectify console.py diff --git a/pyrepl/console.py b/pyrepl/console.py --- a/pyrepl/console.py +++ b/pyrepl/console.py @@ -17

[pypy-commit] pyrepl py3ksupport: pytest-ize test functions

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r133:c3b33f80a61d Date: 2011-10-18 12:12 +0200 http://bitbucket.org/pypy/pyrepl/changeset/c3b33f80a61d/ Log:pytest-ize test functions diff --git a/testing/infrastructure.py b/testing/infrastructure.py --- a/testing/infrastructure.py +

[pypy-commit] pyrepl py3ksupport: verbose test events by default

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r135:f589811464d5 Date: 2011-10-18 12:26 +0200 http://bitbucket.org/pypy/pyrepl/changeset/f589811464d5/ Log:verbose test events by default diff --git a/testing/infrastructure.py b/testing/infrastructure.py --- a/testing/infrastructure

[pypy-commit] pyrepl py3ksupport: test events need to be a 2 tuple

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r131:70c2f802c6c2 Date: 2011-10-18 11:13 +0200 http://bitbucket.org/pypy/pyrepl/changeset/70c2f802c6c2/ Log:test events need to be a 2 tuple diff --git a/pyrepl/tests/infrastructure.py b/pyrepl/tests/infrastructure.py --- a/pyrepl/tes

[pypy-commit] pyrepl py3ksupport: pytest-ize functonal tests

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r134:828ecb76b616 Date: 2011-10-18 12:24 +0200 http://bitbucket.org/pypy/pyrepl/changeset/828ecb76b616/ Log:pytest-ize functonal tests diff --git a/testing/test_functional.py b/testing/test_functional.py --- a/testing/test_functional.

[pypy-commit] pyrepl py3ksupport: move the functional tests to new dir

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r130:ab5192bb7c88 Date: 2011-10-18 10:59 +0200 http://bitbucket.org/pypy/pyrepl/changeset/ab5192bb7c88/ Log:move the functional tests to new dir diff --git a/testing/__init__.py b/testing/__init__.py new file mode 100644 diff --git a/

[pypy-commit] pyrepl py3ksupport: move rest of the tests to testing

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r132:deb881a5a096 Date: 2011-10-18 11:21 +0200 http://bitbucket.org/pypy/pyrepl/changeset/deb881a5a096/ Log:move rest of the tests to testing diff --git a/pyrepl/tests/__init__.py b/pyrepl/tests/__init__.py deleted file mode 100644 --

[pypy-commit] pyrepl py3ksupport: make the tests discoverable by pytest

2011-10-19 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: py3ksupport Changeset: r129:3901976ecb47 Date: 2011-10-18 10:58 +0200 http://bitbucket.org/pypy/pyrepl/changeset/3901976ecb47/ Log:make the tests discoverable by pytest diff --git a/pyrepl/tests/basic.py b/pyrepl/tests/test_basic.py rename from pyrepl/tests