[pypy-commit] pypy py3k: Fixes in _ssl module

2011-12-06 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50238:c0288af60001 Date: 2011-12-06 01:35 +0100 http://bitbucket.org/pypy/pypy/changeset/c0288af60001/ Log:Fixes in _ssl module diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py ---

[pypy-commit] pypy py3k: Return bytes for Linux abstract namespace sockets

2011-12-06 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50235:f65121a60b37 Date: 2011-12-05 00:21 +0100 http://bitbucket.org/pypy/pypy/changeset/f65121a60b37/ Log:Return bytes for Linux abstract namespace sockets diff --git a/pypy/rlib/rsocket.py b/pypy/rlib/rsocket.py ---

[pypy-commit] pypy py3k: socket.inet_aton() should return bytes

2011-12-06 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50236:fc9f0d9b77db Date: 2011-12-05 22:08 +0100 http://bitbucket.org/pypy/pypy/changeset/fc9f0d9b77db/ Log:socket.inet_aton() should return bytes diff --git a/pypy/module/_socket/interp_func.py

[pypy-commit] pypy py3k: socket.getaddrinfo() accept strings for the 'port' parameter

2011-12-06 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50237:df2edb52b29e Date: 2011-12-05 22:48 +0100 http://bitbucket.org/pypy/pypy/changeset/df2edb52b29e/ Log:socket.getaddrinfo() accept strings for the 'port' parameter diff --git a/pypy/module/_socket/interp_func.py

[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: Fix for 64bit platforms

2011-12-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: pyarg-parsetuple-s-star-buffer Changeset: r50447:ab4be8e09a58 Date: 2011-12-12 21:54 +0100 http://bitbucket.org/pypy/pypy/changeset/ab4be8e09a58/ Log:Fix for 64bit platforms diff --git a/pypy/module/cpyext/bufferobject.py

[pypy-commit] pypy default: Run ./interpreter/astcompiler/tools/asdl_py.py

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r50610:1ed3eaa72e9d Date: 2011-12-16 22:42 +0100 http://bitbucket.org/pypy/pypy/changeset/1ed3eaa72e9d/ Log:Run ./interpreter/astcompiler/tools/asdl_py.py diff --git a/pypy/interpreter/astcompiler/ast.py

[pypy-commit] pypy default: Check type of some ast nodes:

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r50612:a699f3064d8f Date: 2011-12-17 13:28 +0100 http://bitbucket.org/pypy/pypy/changeset/a699f3064d8f/ Log:Check type of some ast nodes: return.value must be an expr *subclass*, but not an expr! diff --git

[pypy-commit] pypy py3k: Remove issuer and server attributes from ssl socket.

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50639:6a82b1beaf24 Date: 2011-12-17 14:24 +0100 http://bitbucket.org/pypy/pypy/changeset/6a82b1beaf24/ Log:Remove issuer and server attributes from ssl socket. + Fix shutdown test diff --git

[pypy-commit] pypy py3k: Fix compiler: the exception handler target is now a NAME

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50642:3f837e62c8c0 Date: 2011-12-17 22:04 +0100 http://bitbucket.org/pypy/pypy/changeset/3f837e62c8c0/ Log:Fix compiler: the exception handler target is now a NAME (and not any assignment target as before). Still

[pypy-commit] pypy py3k: Fix a crash when the 'str' unwrap_spec is given a non-ascii unicode string.

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50640:8d91b7ba9f7c Date: 2011-12-17 18:37 +0100 http://bitbucket.org/pypy/pypy/changeset/8d91b7ba9f7c/ Log:Fix a crash when the 'str' unwrap_spec is given a non-ascii unicode string. Now it automatically converts

[pypy-commit] pypy py3k: Fix BZ2File by importing the applevel version from CPython 3.3.

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50645:8d890adadd94 Date: 2011-12-17 22:59 +0100 http://bitbucket.org/pypy/pypy/changeset/8d890adadd94/ Log:Fix BZ2File by importing the applevel version from CPython 3.3. diff --git a/pypy/module/bz2/__init__.py

[pypy-commit] pypy py3k: Remove except Exception, e syntax.

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50641:4c7922f5a847 Date: 2011-12-17 18:41 +0100 http://bitbucket.org/pypy/pypy/changeset/4c7922f5a847/ Log:Remove except Exception, e syntax. Expected to break a lot of code... diff --git

[pypy-commit] pypy py3k: Unicode fixes in _multibytecodec module

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50643:c13feede4946 Date: 2011-12-17 20:47 +0100 http://bitbucket.org/pypy/pypy/changeset/c13feede4946/ Log:Unicode fixes in _multibytecodec module diff --git a/pypy/module/_multibytecodec/interp_incremental.py

[pypy-commit] pypy py3k: Unicode fixes for the bz2 module

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50644:e20a4198d35c Date: 2011-12-17 21:52 +0100 http://bitbucket.org/pypy/pypy/changeset/e20a4198d35c/ Log:Unicode fixes for the bz2 module diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py ---

[pypy-commit] pypy py3k: Try to fix translation

2011-12-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50646:c0d4b0fdc8f1 Date: 2011-12-17 23:14 +0100 http://bitbucket.org/pypy/pypy/changeset/c0d4b0fdc8f1/ Log:Try to fix translation diff --git a/pypy/module/bz2/app_bz2file.py b/pypy/module/bz2/app_bz2file.py ---

[pypy-commit] pypy py3k: Syntax fixes for import readline

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50651:95d16ee05f34 Date: 2011-12-18 13:08 +0100 http://bitbucket.org/pypy/pypy/changeset/95d16ee05f34/ Log:Syntax fixes for import readline diff --git a/lib_pypy/pyrepl/unix_console.py b/lib_pypy/pyrepl/unix_console.py

[pypy-commit] pypy py3k: copy_reg is now named copyreg

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50666:0ef2cb5eb4a6 Date: 2011-12-18 17:01 +0100 http://bitbucket.org/pypy/pypy/changeset/0ef2cb5eb4a6/ Log:copy_reg is now named copyreg diff --git a/pypy/objspace/std/dicttype.py b/pypy/objspace/std/dicttype.py ---

[pypy-commit] pypy py3k: Fix some syntax errors in lib_pypy

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50667:14e9568e4282 Date: 2011-12-18 17:05 +0100 http://bitbucket.org/pypy/pypy/changeset/14e9568e4282/ Log:Fix some syntax errors in lib_pypy diff --git a/lib_pypy/_rpyc_support.py b/lib_pypy/_rpyc_support.py ---

[pypy-commit] pypy py3k: All types are now printed as class ...

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50668:81bc80bf4f62 Date: 2011-12-18 17:13 +0100 http://bitbucket.org/pypy/pypy/changeset/81bc80bf4f62/ Log:All types are now printed as class ... diff --git a/pypy/objspace/std/test/test_typeobject.py

[pypy-commit] pypy py3k: fix keyword argument for str(object=)

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50669:1aa5643d7e26 Date: 2011-12-18 17:16 +0100 http://bitbucket.org/pypy/pypy/changeset/1aa5643d7e26/ Log:fix keyword argument for str(object=) diff --git a/pypy/objspace/std/test/test_unicodeobject.py

[pypy-commit] pypy py3k: Use the same check (and error message) for bool() and len(),

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50670:4508c3d16324 Date: 2011-12-18 17:43 +0100 http://bitbucket.org/pypy/pypy/changeset/4508c3d16324/ Log:Use the same check (and error message) for bool() and len(), when the same __len__ method is used for

[pypy-commit] pypy py3k: Fix tests in test_descroperation

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50671:4f0c02a4d39e Date: 2011-12-18 18:18 +0100 http://bitbucket.org/pypy/pypy/changeset/4f0c02a4d39e/ Log:Fix tests in test_descroperation diff --git a/pypy/objspace/test/test_descroperation.py

[pypy-commit] pypy py3k: Kill more oldstyle tests

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50673:506acf2ebd22 Date: 2011-12-18 18:24 +0100 http://bitbucket.org/pypy/pypy/changeset/506acf2ebd22/ Log:Kill more oldstyle tests diff --git a/pypy/objspace/test/test_descroperation.py

[pypy-commit] pypy py3k: hg merge default

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50674:e8bdadce915a Date: 2011-12-18 19:33 +0100 http://bitbucket.org/pypy/pypy/changeset/e8bdadce915a/ Log:hg merge default diff --git a/pypy/module/_weakref/interp__weakref.py b/pypy/module/_weakref/interp__weakref.py

[pypy-commit] pypy py3k: Fix translation

2011-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50675:a2fe74325124 Date: 2011-12-18 19:43 +0100 http://bitbucket.org/pypy/pypy/changeset/a2fe74325124/ Log:Fix translation diff --git a/pypy/module/pyexpat/interp_pyexpat.py b/pypy/module/pyexpat/interp_pyexpat.py ---

[pypy-commit] pypy py3k: - range() object now allows large numbers above sys.maxint

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50736:3a17a31ac77a Date: 2011-12-19 17:15 +0100 http://bitbucket.org/pypy/pypy/changeset/3a17a31ac77a/ Log:- range() object now allows large numbers above sys.maxint - add range.count and range.__contains__ diff

[pypy-commit] pypy py3k: Kill more code related to old-style classes

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50739:957bcdcb424d Date: 2011-12-19 23:26 +0100 http://bitbucket.org/pypy/pypy/changeset/957bcdcb424d/ Log:Kill more code related to old-style classes diff --git a/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy py3k: Implement range slices, and test getitem with large numbers

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50738:9e845f84d41f Date: 2011-12-19 22:49 +0100 http://bitbucket.org/pypy/pypy/changeset/9e845f84d41f/ Log:Implement range slices, and test getitem with large numbers diff --git a/pypy/module/__builtin__/functional.py

[pypy-commit] pypy py3k: Exception checks are not abstract anymore

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50741:ed5224a1b668 Date: 2011-12-19 23:33 +0100 http://bitbucket.org/pypy/pypy/changeset/ed5224a1b668/ Log:Exception checks are not abstract anymore diff --git a/pypy/module/__builtin__/__init__.py

[pypy-commit] pypy py3k: remove __builtins__._issubtype

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50742:6ae88cc085dc Date: 2011-12-19 23:47 +0100 http://bitbucket.org/pypy/pypy/changeset/6ae88cc085dc/ Log:remove __builtins__._issubtype diff --git a/pypy/module/__builtin__/__init__.py

[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: Fix translation

2011-12-20 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: pyarg-parsetuple-s-star-buffer Changeset: r50786:ffdf30e6ad7b Date: 2011-12-20 23:13 +0100 http://bitbucket.org/pypy/pypy/changeset/ffdf30e6ad7b/ Log:Fix translation diff --git a/pypy/module/cpyext/bufferobject.py

[pypy-commit] pypy pyarg-parsetuple-s-star-buffer: Close branch about to be merged

2011-12-20 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: pyarg-parsetuple-s-star-buffer Changeset: r50787:7359951c27a7 Date: 2011-12-20 23:16 +0100 http://bitbucket.org/pypy/pypy/changeset/7359951c27a7/ Log:Close branch about to be merged ___

[pypy-commit] pypy default: Merge branch pyarg-parsetuple-s-star-buffer:

2011-12-20 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r50788:5d4dfac3c59a Date: 2011-12-20 23:18 +0100 http://bitbucket.org/pypy/pypy/changeset/5d4dfac3c59a/ Log:Merge branch pyarg-parsetuple-s-star-buffer: (exarkun) Add support for buffer() objects in cpyext. They also

[pypy-commit] pypy default: Attempt to fix translation

2011-12-21 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r50814:d94baec282bc Date: 2011-12-21 22:44 +0100 http://bitbucket.org/pypy/pypy/changeset/d94baec282bc/ Log:Attempt to fix translation diff --git a/pypy/module/_multiprocessing/interp_connection.py

[pypy-commit] pypy py3k: Implement imp.source_from_cache()

2011-12-21 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50815:221a0077614d Date: 2011-12-21 23:00 +0100 http://bitbucket.org/pypy/pypy/changeset/221a0077614d/ Log:Implement imp.source_from_cache() Kind of... we still use the old .py/pyc scheme. diff --git

[pypy-commit] pypy py3k: set.__repr__ uses the new set literal syntax: {1, 2, 3}

2011-12-21 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r50817:ceb5f49d0eeb Date: 2011-12-22 00:39 +0100 http://bitbucket.org/pypy/pypy/changeset/ceb5f49d0eeb/ Log:set.__repr__ uses the new set literal syntax: {1, 2, 3} diff --git a/pypy/objspace/std/setobject.py

[pypy-commit] pypy default: cpyext: Add support for PyInterpreterState.next.

2012-01-07 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51114:416009084c6f Date: 2012-01-07 12:10 +0100 http://bitbucket.org/pypy/pypy/changeset/416009084c6f/ Log:cpyext: Add support for PyInterpreterState.next. Always NULL, since there is only one interpreter... diff

[pypy-commit] pypy default: Add stubs for PyObject_GetBuffer: pypy does not yet implement

2012-01-07 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51117:75b3dbc7d326 Date: 2012-01-07 13:41 +0100 http://bitbucket.org/pypy/pypy/changeset/75b3dbc7d326/ Log:Add stubs for PyObject_GetBuffer: pypy does not yet implement the new buffer interface. diff --git

[pypy-commit] pypy default: cpyext: export Py_ByteArrayType and Py_MemoryViewType

2012-01-07 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51116:4bace20eef15 Date: 2012-01-07 13:15 +0100 http://bitbucket.org/pypy/pypy/changeset/4bace20eef15/ Log:cpyext: export Py_ByteArrayType and Py_MemoryViewType diff --git a/pypy/module/cpyext/api.py

[pypy-commit] pypy default: issue900: Implement processor pinning on win32,

2012-01-08 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51147:a7e8e37cbf30 Date: 2012-01-08 21:16 +0100 http://bitbucket.org/pypy/pypy/changeset/a7e8e37cbf30/ Log:issue900: Implement processor pinning on win32, should fix inconsistent figures with cProfile. diff --git

[pypy-commit] pypy default: ArgErr.getmsg() does not include the function name anymore.

2012-01-08 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51152:62df4f51cdc8 Date: 2012-01-08 20:35 +0100 http://bitbucket.org/pypy/pypy/changeset/62df4f51cdc8/ Log:ArgErr.getmsg() does not include the function name anymore. This will make it easier to support Python3 and

[pypy-commit] pypy py3k: fixes in pure-Python implementation of sha1 and md5:

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51319:5f39f911a130 Date: 2011-12-22 11:06 +0100 http://bitbucket.org/pypy/pypy/changeset/5f39f911a130/ Log:fixes in pure-Python implementation of sha1 and md5: they accept bytes, not strings diff --git

[pypy-commit] pypy py3k: Implement str.isidentifier()

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51318:c863145453cb Date: 2011-12-22 10:44 +0100 http://bitbucket.org/pypy/pypy/changeset/c863145453cb/ Log:Implement str.isidentifier() diff --git a/pypy/objspace/std/test/test_unicodeobject.py

[pypy-commit] pypy py3k: Fix for repr of the empty set: set(), not {} which is a dict...

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51322:a69b99cf0083 Date: 2011-12-26 17:26 +0100 http://bitbucket.org/pypy/pypy/changeset/a69b99cf0083/ Log:Fix for repr of the empty set: set(), not {} which is a dict... diff --git a/pypy/objspace/std/setobject.py

[pypy-commit] pypy py3k: Add _thread.RLock

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51321:ae023502cd1a Date: 2011-12-26 17:19 +0100 http://bitbucket.org/pypy/pypy/changeset/ae023502cd1a/ Log:Add _thread.RLock diff --git a/pypy/module/thread/__init__.py b/pypy/module/thread/__init__.py ---

[pypy-commit] pypy py3k: CPython issue #1721812: Binary operations and copy operations on

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51323:3924c71a5c0a Date: 2011-12-26 17:49 +0100 http://bitbucket.org/pypy/pypy/changeset/3924c71a5c0a/ Log:CPython issue #1721812: Binary operations and copy operations on set/frozenset subclasses need to return

[pypy-commit] pypy py3k: Break everything and unify int and long!

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51325:f4af6649c12f Date: 2011-12-27 17:22 +0100 http://bitbucket.org/pypy/pypy/changeset/f4af6649c12f/ Log:Break everything and unify int and long! diff --git a/pypy/interpreter/astcompiler/astbuilder.py

[pypy-commit] pypy py3k: Fix checkmodule.py, and run it on the thread module.

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51324:65597104c440 Date: 2011-12-26 18:39 +0100 http://bitbucket.org/pypy/pypy/changeset/65597104c440/ Log:Fix checkmodule.py, and run it on the thread module. diff --git a/pypy/module/thread/os_lock.py

[pypy-commit] pypy py3k: Now reject u'' literals,

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51328:662eb2c58644 Date: 2011-12-27 00:29 +0100 http://bitbucket.org/pypy/pypy/changeset/662eb2c58644/ Log:Now reject u'' literals, expect to break many tests here and there... diff --git

[pypy-commit] pypy py3k: Remove 'L' suffix from the output of hex() and oct()

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51326:83fc38544bca Date: 2011-12-26 23:48 +0100 http://bitbucket.org/pypy/pypy/changeset/83fc38544bca/ Log:Remove 'L' suffix from the output of hex() and oct() diff --git a/pypy/objspace/std/test/test_longobject.py

[pypy-commit] pypy py3k: don't parse '0L' anymore

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51327:40196a1cc504 Date: 2011-12-27 00:03 +0100 http://bitbucket.org/pypy/pypy/changeset/40196a1cc504/ Log:don't parse '0L' anymore diff --git a/pypy/interpreter/pyparser/genpytokenize.py

[pypy-commit] pypy py3k: intern() is now in the sys module

2012-01-14 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51329:cb7edd67143d Date: 2011-12-27 17:41 +0100 http://bitbucket.org/pypy/pypy/changeset/cb7edd67143d/ Log:intern() is now in the sys module diff --git a/pypy/module/__builtin__/__init__.py

[pypy-commit] pypy py3k: Remove long() and L suffix from binascii.py

2012-01-16 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51369:708194fb76ef Date: 2012-01-16 20:32 +0100 http://bitbucket.org/pypy/pypy/changeset/708194fb76ef/ Log:Remove long() and L suffix from binascii.py diff --git a/lib_pypy/binascii.py b/lib_pypy/binascii.py ---

[pypy-commit] pypy py3k: Fixes in termios module

2012-01-16 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51371:4a6fb1817feb Date: 2012-01-16 23:53 +0100 http://bitbucket.org/pypy/pypy/changeset/4a6fb1817feb/ Log:Fixes in termios module diff --git a/pypy/module/termios/interp_termios.py

[pypy-commit] pypy py3k: bin/checkmodule.py: Add support for space.wrabytes

2012-01-16 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51372:3843c6835175 Date: 2012-01-16 23:54 +0100 http://bitbucket.org/pypy/pypy/changeset/3843c6835175/ Log:bin/checkmodule.py: Add support for space.wrabytes diff --git a/pypy/objspace/fake/objspace.py

[pypy-commit] pypy py3k: PEP3147: .pyc files are now named ./__pycache__/foo.pypy-17.pyc

2012-01-16 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51368:a20df1bb1bb8 Date: 2012-01-16 23:53 +0100 http://bitbucket.org/pypy/pypy/changeset/a20df1bb1bb8/ Log:PEP3147: .pyc files are now named ./__pycache__/foo.pypy-17.pyc (Note: the nolonepycfile option makes

[pypy-commit] pypy py3k: Fix a test in test_longobject.py

2012-01-16 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51370:dcae009093d8 Date: 2012-01-16 20:54 +0100 http://bitbucket.org/pypy/pypy/changeset/dcae009093d8/ Log:Fix a test in test_longobject.py diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py ---

[pypy-commit] pypy py3k: Remove more L suffixes and long() calls

2012-01-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51415:d682184291a6 Date: 2012-01-17 20:25 +0100 http://bitbucket.org/pypy/pypy/changeset/d682184291a6/ Log:Remove more L suffixes and long() calls diff --git a/lib_pypy/_md5.py b/lib_pypy/_md5.py --- a/lib_pypy/_md5.py

[pypy-commit] pypy py3k: Add a reminder about the broken pyrepl.

2012-01-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51417:2c6715a45957 Date: 2012-01-17 20:26 +0100 http://bitbucket.org/pypy/pypy/changeset/2c6715a45957/ Log:Add a reminder about the broken pyrepl. diff --git a/lib_pypy/_pypy_interact.py b/lib_pypy/_pypy_interact.py ---

[pypy-commit] pypy py3k: ast.py is generated. Add the Starred in Python.asdl, and regenerate

2012-01-17 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51418:5b195e604794 Date: 2012-01-17 20:26 +0100 http://bitbucket.org/pypy/pypy/changeset/5b195e604794/ Log:ast.py is generated. Add the Starred in Python.asdl, and regenerate with python

[pypy-commit] pypy py3k: Test and fix RLock context manager.

2012-01-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51467:fc8fcd7a4f56 Date: 2012-01-17 21:21 +0100 http://bitbucket.org/pypy/pypy/changeset/fc8fcd7a4f56/ Log:Test and fix RLock context manager. diff --git a/pypy/module/thread/os_lock.py b/pypy/module/thread/os_lock.py

[pypy-commit] pypy py3k: Fixes for the struct module: the builtin part is now named _struct.

2012-01-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51469:8b47ef4c3162 Date: 2012-01-18 22:09 +0100 http://bitbucket.org/pypy/pypy/changeset/8b47ef4c3162/ Log:Fixes for the struct module: the builtin part is now named _struct. diff --git a/lib_pypy/struct.py

[pypy-commit] pypy py3k: Fix translation

2012-01-18 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51470:af6e253e47d6 Date: 2012-01-18 22:09 +0100 http://bitbucket.org/pypy/pypy/changeset/af6e253e47d6/ Log:Fix translation diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py ---

[pypy-commit] pypy merge-2.7.2: A branch to merge CPython 2.7.2

2012-01-21 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51617:37357d7dabda Date: 2012-01-21 23:25 +0100 http://bitbucket.org/pypy/pypy/changeset/37357d7dabda/ Log:A branch to merge CPython 2.7.2 ___ pypy-commit mailing list

[pypy-commit] pypy default: Cosmetic changes in datetime.py, to reduce differences with the version in CPython 3.2

2012-01-21 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51615:c5fa49a9207e Date: 2012-01-18 22:38 +0100 http://bitbucket.org/pypy/pypy/changeset/c5fa49a9207e/ Log:Cosmetic changes in datetime.py, to reduce differences with the version in CPython 3.2 diff --git

[pypy-commit] pypy default: merge heads

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51625:01999b68d9cc Date: 2012-01-22 10:33 +0100 http://bitbucket.org/pypy/pypy/changeset/01999b68d9cc/ Log:merge heads diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++

[pypy-commit] pypy py3k: Easy fixes in test_compiler

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51637:52eaf273d8ed Date: 2012-01-21 22:36 +0100 http://bitbucket.org/pypy/pypy/changeset/52eaf273d8ed/ Log:Easy fixes in test_compiler diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py

[pypy-commit] pypy py3k: The exception handler target except ValueError as exc was always compiled as a global variable. Test and fix.

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51639:e325e4d3227a Date: 2012-01-22 12:02 +0100 http://bitbucket.org/pypy/pypy/changeset/e325e4d3227a/ Log:The exception handler target except ValueError as exc was always compiled as a global variable. Test and

[pypy-commit] pypy merge-2.7.2: Fix method used to find cjkencodings data files

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51644:70241d66bf5f Date: 2012-01-22 12:36 +0100 http://bitbucket.org/pypy/pypy/changeset/70241d66bf5f/ Log:Fix method used to find cjkencodings data files diff --git

[pypy-commit] pypy merge-2.7.2: Respect __subclasscheck__ when rebinding a method to a more specific class.

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51645:24cea2c24401 Date: 2012-01-22 14:33 +0100 http://bitbucket.org/pypy/pypy/changeset/24cea2c24401/ Log:Respect __subclasscheck__ when rebinding a method to a more specific class. This change is needed

[pypy-commit] pypy merge-2.7.2: Undo the previous change, and just add allow_override=True.

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51646:89f238f17ecb Date: 2012-01-22 17:25 +0100 http://bitbucket.org/pypy/pypy/changeset/89f238f17ecb/ Log:Undo the previous change, and just add allow_override=True. This fixes the cases when an old-style

[pypy-commit] pypy merge-2.7.2: Fix our copy of sysconfig.py, which I broke during the merge

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51653:9f554debdd92 Date: 2012-01-22 18:03 +0100 http://bitbucket.org/pypy/pypy/changeset/9f554debdd92/ Log:Fix our copy of sysconfig.py, which I broke during the merge diff --git

[pypy-commit] pypy merge-2.7.2: test_ssl: Correctly use the helper function to find data files

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51652:a49166fe832a Date: 2012-01-22 18:01 +0100 http://bitbucket.org/pypy/pypy/changeset/a49166fe832a/ Log:test_ssl: Correctly use the helper function to find data files diff --git

[pypy-commit] pypy merge-2.7.2: Fix edge cases in float.__mod__

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51654:4ebe74d7 Date: 2012-01-22 18:31 +0100 http://bitbucket.org/pypy/pypy/changeset/4ebe74d7/ Log:Fix edge cases in float.__mod__ diff --git a/pypy/objspace/std/floatobject.py

[pypy-commit] pypy merge-2.7.2: json: Rename some functions in our pure-python implementation:

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51665:c000c3332cb0 Date: 2012-01-22 20:56 +0100 http://bitbucket.org/pypy/pypy/changeset/c000c3332cb0/ Log:json: Rename some functions in our pure-python implementation: in CPython, encode_basestring() is

[pypy-commit] pypy merge-2.7.2: Buffered IO retries read() and write() when the raw stream raises errno=EINTR.

2012-01-22 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51669:311b0271907b Date: 2012-01-22 23:32 +0100 http://bitbucket.org/pypy/pypy/changeset/311b0271907b/ Log:Buffered IO retries read() and write() when the raw stream raises errno=EINTR. diff --git

[pypy-commit] pypy default: a, b = space.unpackiterable(w_obj, 2) is not supposed to raise ValueError

2012-01-23 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51702:36fefb3d271e Date: 2012-01-23 23:05 +0100 http://bitbucket.org/pypy/pypy/changeset/36fefb3d271e/ Log:a, b = space.unpackiterable(w_obj, 2) is not supposed to raise ValueError diff --git

[pypy-commit] pypy default: issue1017: In non-blocking mode, read() should return None instead of raising EAGAIN.

2012-01-24 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r51707:9901f428b3b1 Date: 2012-01-24 09:31 +0100 http://bitbucket.org/pypy/pypy/changeset/9901f428b3b1/ Log:issue1017: In non-blocking mode, read() should return None instead of raising EAGAIN. diff --git

[pypy-commit] pypy py3k: Fix all tests in the io module.

2012-01-28 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51922:91c9b2c580d9 Date: 2012-01-28 17:56 +0100 http://bitbucket.org/pypy/pypy/changeset/91c9b2c580d9/ Log:Fix all tests in the io module. diff --git a/lib_pypy/_struct.py b/lib_pypy/_struct.py --- a/lib_pypy/_struct.py

[pypy-commit] pypy py3k: Easy fixes in test_index

2012-01-28 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51919:26e3b9127ae8 Date: 2012-01-28 14:00 +0100 http://bitbucket.org/pypy/pypy/changeset/26e3b9127ae8/ Log:Easy fixes in test_index diff --git a/pypy/objspace/std/test/test_index.py

[pypy-commit] pypy py3k: Remove sys.setdefaultencoding

2012-01-28 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51921:1ff9e2433ebb Date: 2012-01-28 14:28 +0100 http://bitbucket.org/pypy/pypy/changeset/1ff9e2433ebb/ Log:Remove sys.setdefaultencoding diff --git a/pypy/module/cpyext/unicodeobject.py

[pypy-commit] pypy merge-2.7.2: Skip check on the error message: pypy's multimethods are quite different

2012-01-29 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51949:dc65c138fd25 Date: 2012-01-29 13:22 +0100 http://bitbucket.org/pypy/pypy/changeset/dc65c138fd25/ Log:Skip check on the error message: pypy's multimethods are quite different diff --git

[pypy-commit] pypy merge-2.7.2: Add large file support to mmap: 64bit offsets on 32bit platform.

2012-01-29 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: merge-2.7.2 Changeset: r51958:7a82f3fbab26 Date: 2012-01-29 21:55 + http://bitbucket.org/pypy/pypy/changeset/7a82f3fbab26/ Log:Add large file support to mmap: 64bit offsets on 32bit platform. problem: test_large_offset()

[pypy-commit] pypy py3k: Fix syntax errors in test_codecs

2012-01-29 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r51960:124b3b5cc7ac Date: 2012-01-28 18:41 +0100 http://bitbucket.org/pypy/pypy/changeset/124b3b5cc7ac/ Log:Fix syntax errors in test_codecs diff --git a/pypy/module/_codecs/test/test_codecs.py

[pypy-commit] pypy string-NUL: (arigo, amaury) pass no_nul to SomeString constructor instead of changing

2012-01-30 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: string-NUL Changeset: r51983:8fcec5fcbb57 Date: 2012-01-30 22:56 +0100 http://bitbucket.org/pypy/pypy/changeset/8fcec5fcbb57/ Log:(arigo, amaury) pass no_nul to SomeString constructor instead of changing the property afterwards.

[pypy-commit] pypy py3k: Fix test_class.py

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52040:87f8c6c473f8 Date: 2012-01-31 21:01 +0100 http://bitbucket.org/pypy/pypy/changeset/87f8c6c473f8/ Log:Fix test_class.py diff --git a/pypy/interpreter/test/test_class.py b/pypy/interpreter/test/test_class.py ---

[pypy-commit] pypy py3k: Assign correct scope for expressions used in the class header

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52042:873f1a85f982 Date: 2012-02-02 21:47 +0100 http://bitbucket.org/pypy/pypy/changeset/873f1a85f982/ Log:Assign correct scope for expressions used in the class header class X(__metaclass=expr1, *expr2, **expr3)

[pypy-commit] pypy py3k: Remove deprecated max_buffer_size from buffered IO.

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52046:72c719815c26 Date: 2012-02-03 00:34 +0100 http://bitbucket.org/pypy/pypy/changeset/72c719815c26/ Log:Remove deprecated max_buffer_size from buffered IO. (and also the slowest test in module/_io) diff --git

[pypy-commit] pypy py3k: remove import for sys.setdefaultencoding

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52041:06083ead8c02 Date: 2012-02-02 21:12 +0100 http://bitbucket.org/pypy/pypy/changeset/06083ead8c02/ Log:remove import for sys.setdefaultencoding diff --git a/pypy/module/cpyext/unicodeobject.py

[pypy-commit] pypy py3k: Fixes for test_exec

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52039:ab6e952d3c52 Date: 2012-01-30 21:54 +0100 http://bitbucket.org/pypy/pypy/changeset/ab6e952d3c52/ Log:Fixes for test_exec diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py ---

[pypy-commit] pypy py3k: Fix most failures in module/_rawffi

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52044:561c7c51de58 Date: 2012-02-02 23:52 +0100 http://bitbucket.org/pypy/pypy/changeset/561c7c51de58/ Log:Fix most failures in module/_rawffi diff --git a/pypy/module/_rawffi/array.py b/pypy/module/_rawffi/array.py ---

[pypy-commit] pypy py3k: hg merge default

2012-02-02 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52047:772300a58841 Date: 2012-02-03 00:35 +0100 http://bitbucket.org/pypy/pypy/changeset/772300a58841/ Log:hg merge default diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py ---

[pypy-commit] pypy default: str.strip() preserves the no_nul-ness of a string.

2012-02-04 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r52091:e0a0dfed7e85 Date: 2012-02-04 15:52 +0100 http://bitbucket.org/pypy/pypy/changeset/e0a0dfed7e85/ Log:str.strip() preserves the no_nul-ness of a string. diff --git a/pypy/annotation/test/test_annrpython.py

[pypy-commit] pypy default: The str0 check is now optional, and controlled by the option

2012-02-04 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r52100:a0016c989748 Date: 2012-02-04 21:07 +0100 http://bitbucket.org/pypy/pypy/changeset/a0016c989748/ Log:The str0 check is now optional, and controlled by the option config.translation.check_str_without_nul. diff

[pypy-commit] pypy default: Enable check for strings with NUL bytes in pypy translation

2012-02-04 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r52101:9faed9cf5289 Date: 2012-02-04 21:08 +0100 http://bitbucket.org/pypy/pypy/changeset/9faed9cf5289/ Log:Enable check for strings with NUL bytes in pypy translation diff --git

[pypy-commit] pypy default: When the no_nul check is disabled, correctly transform the signature

2012-02-04 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r52105:1c332c518153 Date: 2012-02-04 21:59 +0100 http://bitbucket.org/pypy/pypy/changeset/1c332c518153/ Log:When the no_nul check is disabled, correctly transform the signature when the function takes a list of

[pypy-commit] pypy default: Fish the list item directly, read_item() cannot be called during rtyping

2012-02-04 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r52106:85f2c70631d9 Date: 2012-02-04 22:09 +0100 http://bitbucket.org/pypy/pypy/changeset/85f2c70631d9/ Log:Fish the list item directly, read_item() cannot be called during rtyping diff --git

[pypy-commit] pypy py3k: Fix test after merge

2012-02-05 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52115:30d9837842b5 Date: 2012-02-03 19:59 +0100 http://bitbucket.org/pypy/pypy/changeset/30d9837842b5/ Log:Fix test after merge diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py

[pypy-commit] pypy py3k: Fix no_nul-ness of importing.make_compiled_pathname()

2012-02-05 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52117:4e8b55a8b643 Date: 2012-02-05 19:51 +0100 http://bitbucket.org/pypy/pypy/changeset/4e8b55a8b643/ Log:Fix no_nul-ness of importing.make_compiled_pathname() diff --git a/pypy/annotation/binaryop.py

[pypy-commit] pypy py3k: hg merge default

2012-02-05 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r52118:4c6488c2ca14 Date: 2012-02-05 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/4c6488c2ca14/ Log:hg merge default diff --git a/pypy/annotation/annrpython.py b/pypy/annotation/annrpython.py ---

  1   2   3   4   5   6   7   8   9   10   >