[pypy-commit] [ACCEPTED] Pull request #11 for pypy/pypy: Remove unnecessary import and unused variable

2011-10-13 Thread Bitbucket
Pull request #11 has been accepted by Alex Gaynor. Changes in dlo/pypy have been pulled into pypy/pypy. https://bitbucket.org/pypy/pypy/pull-request/11/remove-unnecessary-import-and-unused -- This is an issue notification from bitbucket.org. You are receiving this either because you are the parti

[pypy-commit] [ACCEPTED] Pull request #11 for pypy/pypy: Remove unnecessary import and unused variable

2011-10-13 Thread Bitbucket
Pull request #11 has been accepted by Alex Gaynor. Changes in dlo/pypy have been pulled into pypy/pypy. https://bitbucket.org/pypy/pypy/pull-request/11/remove-unnecessary-import-and-unused -- This is an issue notification from bitbucket.org. You are receiving this either because you are the parti

[pypy-commit] pypy default: Remove unnecessary import and unused variable

2011-10-13 Thread dlo
Author: Dan Loewenherz Branch: Changeset: r48047:c77dd69c7542 Date: 2011-10-13 21:46 -0700 http://bitbucket.org/pypy/pypy/changeset/c77dd69c7542/ Log:Remove unnecessary import and unused variable diff --git a/lib_pypy/resource.py b/lib_pypy/resource.py --- a/lib_pypy/resource.py +++ b/lib_p

[pypy-commit] pypy default: make a bunch of random str and unicode methods faster

2011-10-13 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48046:cc2c0908716e Date: 2011-10-14 01:04 -0400 http://bitbucket.org/pypy/pypy/changeset/cc2c0908716e/ Log:make a bunch of random str and unicode methods faster diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/

[pypy-commit] [OPEN] Pull request #11 for pypy/pypy: Remove unnecessary import and unused variable

2011-10-13 Thread Bitbucket
A new pull request has been opened by Dan Loewenherz. dlo/pypy has changes to be pulled into pypy/pypy. https://bitbucket.org/pypy/pypy/pull-request/11/remove-unnecessary-import-and-unused Title: Remove unnecessary import and unused variable Changes to be pulled: -- This is an issue notifica

[pypy-commit] pypy py3k: posix.environ is a dict of bytes, os.environ decode these with the fsencoding.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48045:d59c68a96b3b Date: 2011-10-14 02:04 +0200 http://bitbucket.org/pypy/pypy/changeset/d59c68a96b3b/ Log:posix.environ is a dict of bytes, os.environ decode these with the fsencoding. diff --git a/pypy/module/posix/interp_posix.

[pypy-commit] pypy py3k: popen() and fdopen() are now implemented in os.py

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48042:ed169efaf72c Date: 2011-10-14 01:22 +0200 http://bitbucket.org/pypy/pypy/changeset/ed169efaf72c/ Log:popen() and fdopen() are now implemented in os.py diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/

[pypy-commit] pypy py3k: Installs io.open in builtins!

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48044:a0e19ad2f880 Date: 2011-10-14 01:59 +0200 http://bitbucket.org/pypy/pypy/changeset/a0e19ad2f880/ Log:Installs io.open in builtins! Todo: ensure it is also used for sys.stdout diff --git a/pypy/module/__builtin__/__init__.py

[pypy-commit] pypy py3k: more bytes/str distinction in _io

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48043:a7d7bcda8830 Date: 2011-10-14 01:58 +0200 http://bitbucket.org/pypy/pypy/changeset/a7d7bcda8830/ Log:more bytes/str distinction in _io diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/modul

[pypy-commit] pypy py3k: More wrapbytes in the io module.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48041:29eb69170a85 Date: 2011-10-14 00:52 +0200 http://bitbucket.org/pypy/pypy/changeset/29eb69170a85/ Log:More wrapbytes in the io module. diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py --- a/py

[pypy-commit] pypy py3k: iterators now must implement the __next__ method.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48040:f403ac4c1c5c Date: 2011-10-14 00:39 +0200 http://bitbucket.org/pypy/pypy/changeset/f403ac4c1c5c/ Log:iterators now must implement the __next__ method. diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy py3k: utf-8 codec now disallows lone surrogates

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48039:3f9d7e9aa6b6 Date: 2011-10-14 00:12 +0200 http://bitbucket.org/pypy/pypy/changeset/3f9d7e9aa6b6/ Log:utf-8 codec now disallows lone surrogates the surrogateescape error handler can be used for round-tripping unicode strings w

[pypy-commit] pypy py3k: bytes/str stuff in codec errorhandler

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48038:7735d20e8f56 Date: 2011-10-13 23:12 +0200 http://bitbucket.org/pypy/pypy/changeset/7735d20e8f56/ Log:bytes/str stuff in codec errorhandler diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py ---

[pypy-commit] pypy py3k: upgrade our pwd.py to new print syntax

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48037:e15fddeec745 Date: 2011-10-13 22:33 +0200 http://bitbucket.org/pypy/pypy/changeset/e15fddeec745/ Log:upgrade our pwd.py to new print syntax diff --git a/lib_pypy/pwd.py b/lib_pypy/pwd.py --- a/lib_pypy/pwd.py +++ b/lib_pypy/pwd.py @

[pypy-commit] pypy py3k: Fix typo

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48036:1795d200c7eb Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/1795d200c7eb/ Log:Fix typo diff --git a/pypy/objspace/std/inttype.py b/pypy/objspace/std/inttype.py --- a/pypy/objspace/std/inttype.py +++ b/pypy/obj

[pypy-commit] pypy py3k: posix.read() return bytes

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48035:37c28ac1e0f2 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/37c28ac1e0f2/ Log:posix.read() return bytes diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/pypy/module/pos

[pypy-commit] pypy py3k: A few more bytes conversion.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48033:ecaf43ac Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/ecaf43ac/ Log:A few more bytes conversion. Have tokenize.py use the io module consistently, to be reverted when pypy installs io.open in b

[pypy-commit] pypy py3k: Add Exception.__cause__ and __context__

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48032:47a171031fd3 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/47a171031fd3/ Log:Add Exception.__cause__ and __context__ diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpr

[pypy-commit] pypy py3k: bytes[i] is already a number

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48031:005e74019b69 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/005e74019b69/ Log:bytes[i] is already a number diff --git a/lib_pypy/struct.py b/lib_pypy/struct.py --- a/lib_pypy/struct.py +++ b/lib_pypy/struct.py

[pypy-commit] pypy py3k: Fix remaining failures in module/exception

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48030:9824a8b7789a Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/9824a8b7789a/ Log:Fix remaining failures in module/exception diff --git a/pypy/module/exceptions/test/test_exc.py b/pypy/module/exceptions/test/test

[pypy-commit] pypy py3k: Fix most of the tests for the exception module

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48029:f01df61615da Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/f01df61615da/ Log:Fix most of the tests for the exception module diff --git a/pypy/module/exceptions/interp_exceptions.py b/pypy/module/exceptions/i

[pypy-commit] pypy py3k: test_md5 now passes

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48028:f76981eb4678 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/f76981eb4678/ Log:test_md5 now passes diff --git a/lib_pypy/binascii.py b/lib_pypy/binascii.py --- a/lib_pypy/binascii.py +++ b/lib_pypy/binascii.py

[pypy-commit] pypy py3k: bytes() now accept a list of integers

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48026:897c563f0090 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/897c563f0090/ Log:bytes() now accept a list of integers diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py ---

[pypy-commit] pypy py3k: There is no such things as str.encode() and unicode.decode()!

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48024:8c6f39bc08a4 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/8c6f39bc08a4/ Log:There is no such things as str.encode() and unicode.decode()! diff --git a/pypy/objspace/std/ropeobject.py b/pypy/objspace/std/rope

[pypy-commit] pypy py3k: Implement a basic version of long.from_bytes,

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48034:6d32eeb3fc38 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/6d32eeb3fc38/ Log:Implement a basic version of long.from_bytes, it's enough for the random module. Also attach it to 'int', until these types

[pypy-commit] pypy py3k: Add "raise ex2 from ex1" syntax (the from clause is not really used yet)

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48023:689baa45b402 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/689baa45b402/ Log:Add "raise ex2 from ex1" syntax (the from clause is not really used yet) - Replace old "raise type, message" syntax

[pypy-commit] pypy py3k: Fix "raise TypeError", exception type vs. exception instance.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48027:82ba9ff70fc2 Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/82ba9ff70fc2/ Log:Fix "raise TypeError", exception type vs. exception instance. diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode

[pypy-commit] pypy py3k: The methods str._formatter_parser and formatter_field_name_split have moved to a new _string module.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48021:ec3004f1eb9e Date: 2011-10-13 22:37 +0200 http://bitbucket.org/pypy/pypy/changeset/ec3004f1eb9e/ Log:The methods str._formatter_parser and formatter_field_name_split have moved to a new _string module. diff --git a/pypy/conf

[pypy-commit] pypy py3k: unicode_encode should return bytes

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48025:f6ede46962ce Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/f6ede46962ce/ Log:unicode_encode should return bytes diff --git a/lib_pypy/_md5.py b/lib_pypy/_md5.py --- a/lib_pypy/_md5.py +++ b/lib_pypy/_md5.py @

[pypy-commit] pypy py3k: Remove the u in front of str.__repr__

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48020:76589f214f51 Date: 2011-10-13 22:37 +0200 http://bitbucket.org/pypy/pypy/changeset/76589f214f51/ Log:Remove the u in front of str.__repr__ diff --git a/pypy/rlib/runicode.py b/pypy/rlib/runicode.py --- a/pypy/rlib/runicode.py +++ b/

[pypy-commit] pypy py3k: The atexit module now replaces sys.exitfunc.

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48022:fac760084b0d Date: 2011-10-13 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/fac760084b0d/ Log:The atexit module now replaces sys.exitfunc. diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/p

[pypy-commit] pypy py3k: Fix test_newformat: bytes.format always return a unicode string

2011-10-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48019:8e1f509bd8dd Date: 2011-10-13 22:37 +0200 http://bitbucket.org/pypy/pypy/changeset/8e1f509bd8dd/ Log:Fix test_newformat: bytes.format always return a unicode string diff --git a/pypy/objspace/std/test/test_newformat.py b/pypy/objsp

[pypy-commit] pypy string-promote-2: close merged branch

2011-10-13 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r48018:f3b267864355 Date: 2011-10-13 22:02 +0200 http://bitbucket.org/pypy/pypy/changeset/f3b267864355/ Log:close merged branch ___ pypy-commit mailing list pypy-commit@python.org http:

[pypy-commit] pypy default: (fijal, reviewed by agaynor) Merge string-promote-2 branch. This branch lets

2011-10-13 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r48017:85ccfa8d2773 Date: 2011-10-13 22:01 +0200 http://bitbucket.org/pypy/pypy/changeset/85ccfa8d2773/ Log:(fijal, reviewed by agaynor) Merge string-promote-2 branch. This branch lets you promote strings by value by using jit.pro

[pypy-commit] pypy string-promote-2: write a test_pypy_c

2011-10-13 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r48016:74aea6b312d3 Date: 2011-10-13 21:58 +0200 http://bitbucket.org/pypy/pypy/changeset/74aea6b312d3/ Log:write a test_pypy_c diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_s

[pypy-commit] pypy default: Fix for "-Ojit --gc=boehm" translations.

2011-10-13 Thread arigo
Author: Armin Rigo Branch: Changeset: r48015:d296fda58621 Date: 2011-10-13 18:59 +0200 http://bitbucket.org/pypy/pypy/changeset/d296fda58621/ Log:Fix for "-Ojit --gc=boehm" translations. diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/llsupport/gc.py --- a/pypy/jit/backend/

[pypy-commit] pypy.org extradoc: update links

2011-10-13 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r286:f9eb2bf02c17 Date: 2011-10-13 18:45 +0200 http://bitbucket.org/pypy/pypy.org/changeset/f9eb2bf02c17/ Log:update links diff --git a/archive.html b/archive.html --- a/archive.html +++ b/archive.html @@ -38,7 +38,7 @@

[pypy-commit] extradoc extradoc: First Draft of the sprint announcement

2011-10-13 Thread lac
Author: Laura Creighton Branch: extradoc Changeset: r3928:56fa2ee352fe Date: 2011-10-13 16:02 +0200 http://bitbucket.org/pypy/extradoc/changeset/56fa2ee352fe/ Log:First Draft of the sprint announcement needs adding -- what we want to do at the sprint and whether it is at my h

[pypy-commit] pypy ppc-jit-backend: Adjusted the tests in test_ppc.py to the new framework.

2011-10-13 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48014:0333d746965b Date: 2011-10-13 09:09 +0200 http://bitbucket.org/pypy/pypy/changeset/0333d746965b/ Log:Adjusted the tests in test_ppc.py to the new framework. diff --git a/pypy/jit/backend/ppc/ppcgen/test/test_ppc.py b/pypy/jit/backend/p