[pypy-commit] pypy py3.3: io.BufferedWriter: completely remove max_buffer_size argument.

2016-01-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r81958:18cc712aac9b Date: 2016-01-26 22:52 +0100 http://bitbucket.org/pypy/pypy/changeset/18cc712aac9b/ Log:io.BufferedWriter: completely remove max_buffer_size argument. diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_i

[pypy-commit] pypy py3.3: Relax a test: with pypy we cannot choose the name of the function when argument parsing fails.

2016-01-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r81959:43daeebf0ab1 Date: 2016-01-26 22:44 +0100 http://bitbucket.org/pypy/pypy/changeset/43daeebf0ab1/ Log:Relax a test: with pypy we cannot choose the name of the function when argument parsing fails. diff --git a/lib-python/3/t

[pypy-commit] pypy py3.3: TextIOWrapper: Ensure the constructor complains if passed a codec that isn't

2016-01-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r81960:5ddd2d347061 Date: 2016-01-27 00:03 +0100 http://bitbucket.org/pypy/pypy/changeset/5ddd2d347061/ Log:TextIOWrapper: Ensure the constructor complains if passed a codec that isn't marked as a text encoding. diff --git a/pypy/

[pypy-commit] pypy py3.3: Add pickle support to itertools.cycle

2016-01-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r81997:cc69ca5d0d62 Date: 2016-01-28 17:28 +0100 http://bitbucket.org/pypy/pypy/changeset/cc69ca5d0d62/ Log:Add pickle support to itertools.cycle diff --git a/pypy/module/itertools/interp_itertools.py b/pypy/module/itertools/interp_itert

[pypy-commit] pypy py3.3: Add pickle support to itertools.combinations

2016-01-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r81996:e4a76a0698fc Date: 2016-01-27 09:35 +0100 http://bitbucket.org/pypy/pypy/changeset/e4a76a0698fc/ Log:Add pickle support to itertools.combinations (and probably combinations_with_replacement as well) diff --git a/pypy/module

[pypy-commit] pypy py3.3: Fix rposix module after bad merge

2016-01-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r81995:a9fccbdef513 Date: 2016-01-28 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/a9fccbdef513/ Log:Fix rposix module after bad merge diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/

[pypy-commit] pypy py3.3: Fix class name.

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82012:250569a438a0 Date: 2016-01-28 21:27 +0100 http://bitbucket.org/pypy/pypy/changeset/250569a438a0/ Log:Fix class name. diff --git a/pypy/module/itertools/interp_itertools.py b/pypy/module/itertools/interp_itertools.py --- a/pypy/mod

[pypy-commit] pypy py3.3: pickle support for itertools.takewhile and dropwhile.

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82011:6e3ddc38f7c0 Date: 2016-01-28 21:21 +0100 http://bitbucket.org/pypy/pypy/changeset/6e3ddc38f7c0/ Log:pickle support for itertools.takewhile and dropwhile. diff --git a/pypy/module/itertools/interp_itertools.py b/pypy/module/iterto

[pypy-commit] pypy py3.3: Add _ssl.RAND_bytes

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82016:9a47d88b9973 Date: 2016-01-31 22:29 +0100 http://bitbucket.org/pypy/pypy/changeset/9a47d88b9973/ Log:Add _ssl.RAND_bytes diff --git a/pypy/module/_ssl/__init__.py b/pypy/module/_ssl/__init__.py --- a/pypy/module/_ssl/__init__.py ++

[pypy-commit] pypy py3.3: For some reason this chunk was not copied from CPython 3.3

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82015:b28c0f7ae8f3 Date: 2016-01-31 21:27 +0100 http://bitbucket.org/pypy/pypy/changeset/b28c0f7ae8f3/ Log:For some reason this chunk was not copied from CPython 3.3 diff --git a/pypy/module/_multibytecodec/src/cjkcodecs/_codecs_tw.c b/

[pypy-commit] pypy py3.3: Pickle support for itertools.islice

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82013:a5416d54ea4e Date: 2016-01-31 21:11 +0100 http://bitbucket.org/pypy/pypy/changeset/a5416d54ea4e/ Log:Pickle support for itertools.islice diff --git a/pypy/module/itertools/interp_itertools.py b/pypy/module/itertools/interp_itertoo

[pypy-commit] pypy py3.3: unicodedata: add tables for special_casing.

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82020:c9f92e754efd Date: 2016-02-01 00:26 +0100 http://bitbucket.org/pypy/pypy/changeset/c9f92e754efd/ Log:unicodedata: add tables for special_casing. diff --git a/rpython/rlib/unicodedata/SpecialCasing-5.2.0.txt b/rpython/rlib/unicoded

[pypy-commit] pypy py3.3: Another test that needed a change for CPython3.3

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82022:f41f8a7c1fb8 Date: 2016-02-01 00:40 +0100 http://bitbucket.org/pypy/pypy/changeset/f41f8a7c1fb8/ Log:Another test that needed a change for CPython3.3 diff --git a/pypy/objspace/std/test/test_unicodeobject.py b/pypy/objspace/std/te

[pypy-commit] pypy py3.3: Fix unicode.capitalize() test to pass with CPython3.3,

2016-01-31 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82021:44aa48e4d16a Date: 2016-02-01 00:31 +0100 http://bitbucket.org/pypy/pypy/changeset/44aa48e4d16a/ Log:Fix unicode.capitalize() test to pass with CPython3.3, and implement it for PyPy. Probably not the fastest implementation..

[pypy-commit] pypy py3.3: Add pickle support to iter(dequeue())

2016-02-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82025:61cf3585f0f7 Date: 2016-02-01 01:08 +0100 http://bitbucket.org/pypy/pypy/changeset/61cf3585f0f7/ Log:Add pickle support to iter(dequeue()) diff --git a/pypy/module/_collections/__init__.py b/pypy/module/_collections/__init__.py --

[pypy-commit] pypy py3.3: Add a more complex test for e.__context__, directly from CPython.

2016-02-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82026:9067ded8c01d Date: 2016-02-01 09:39 +0100 http://bitbucket.org/pypy/pypy/changeset/9067ded8c01d/ Log:Add a more complex test for e.__context__, directly from CPython. diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.

[pypy-commit] pypy py3.3: sqlite: add connection.set_trace_callback

2016-02-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r82024:f471a84da866 Date: 2016-02-01 01:03 +0100 http://bitbucket.org/pypy/pypy/changeset/f471a84da866/ Log:sqlite: add connection.set_trace_callback diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++

[pypy-commit] pypy cpyext-ext: Fix PyString_AsString() to accept a Unicode object, it is encoded using the default encoding.

2016-03-14 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: cpyext-ext Changeset: r83057:931af853eaab Date: 2016-03-14 22:20 +0100 http://bitbucket.org/pypy/pypy/changeset/931af853eaab/ Log:Fix PyString_AsString() to accept a Unicode object, it is encoded using the default encoding. Also fix _PyUni

[pypy-commit] pypy default: Cherry-pick a few changes from the cpyext-ext branch:

2016-03-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r83223:edf35def96ce Date: 2016-03-21 17:55 +0100 http://bitbucket.org/pypy/pypy/changeset/edf35def96ce/ Log:Cherry-pick a few changes from the cpyext-ext branch: 3df26326119c 43629fab94e1 931af853eaab - expose "defenc" and "has

[pypy-commit] pypy default: Graft a9fccbdef513: Fix rposix module after bad merge

2016-03-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r83229:51e1dd898fb8 Date: 2016-01-28 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/51e1dd898fb8/ Log:Graft a9fccbdef513: Fix rposix module after bad merge diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/r

[pypy-commit] pypy default: cpyext: Fix the signature of PyMember_GetOne, it takes a const char*

2016-04-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r83612:17abc9ee7546 Date: 2016-04-12 13:44 +0200 http://bitbucket.org/pypy/pypy/changeset/17abc9ee7546/ Log:cpyext: Fix the signature of PyMember_GetOne, it takes a const char* (even if everybody passes PyObject*) diff --git a/pypy/mod

[pypy-commit] pypy default: cpyext: Move header logic to .h files, and remove the #ifdef guards, these _decl.h files are truly internal.

2016-04-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r83611:b66575a3eea9 Date: 2016-04-12 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/b66575a3eea9/ Log:cpyext: Move header logic to .h files, and remove the #ifdef guards, these _decl.h files are truly internal. Also skip

[pypy-commit] pypy ast-arena: Some progress. The interpret() tests still don't pass.

2016-04-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: ast-arena Changeset: r83657:6b016173668b Date: 2016-04-13 20:36 +0200 http://bitbucket.org/pypy/pypy/changeset/6b016173668b/ Log:Some progress. The interpret() tests still don't pass. diff --git a/pypy/interpreter/astcompiler/ast.py b/pypy/interpreter/as

[pypy-commit] pypy ast-arena: Add an 'Arena' object to the constructor of all AST nodes.

2016-04-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: ast-arena Changeset: r83656:8e2938af872d Date: 2016-04-13 08:25 +0200 http://bitbucket.org/pypy/pypy/changeset/8e2938af872d/ Log:Add an 'Arena' object to the constructor of all AST nodes. The goal is to allocate the nodes inside the arena, outside

[pypy-commit] cffi default: Implement backend.gcp() for the ctypes backend, and remove gc_weakref.

2016-04-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r2680:c9b855645ce9 Date: 2016-04-23 10:02 +0200 http://bitbucket.org/cffi/cffi/changeset/c9b855645ce9/ Log:Implement backend.gcp() for the ctypes backend, and remove gc_weakref. diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py

[pypy-commit] cffi default: Add ffi.gc(ptr, None) which *removes* the destructor in-place on a ffi.gc() object.

2016-04-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r2681:4d19ce180883 Date: 2016-04-23 11:02 +0200 http://bitbucket.org/cffi/cffi/changeset/4d19ce180883/ Log:Add ffi.gc(ptr, None) which *removes* the destructor in-place on a ffi.gc() object. diff --git a/c/_cffi_backend.c b/c/_cffi_bac

[pypy-commit] cffi default: Add my employer in AUTHORS

2016-04-24 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r2682:daf21555983e Date: 2016-04-23 22:10 +0200 http://bitbucket.org/cffi/cffi/changeset/daf21555983e/ Log:Add my employer in AUTHORS diff --git a/AUTHORS b/AUTHORS --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,8 @@ This package has been mostly done

[pypy-commit] pypy py3.5: Hack until the objspace can start and pass some tests.

2016-04-25 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r83885:55f9c52f86f4 Date: 2016-04-25 23:20 +0200 http://bitbucket.org/pypy/pypy/changeset/55f9c52f86f4/ Log:Hack until the objspace can start and pass some tests. diff --git a/lib-python/3/importlib/_bootstrap.py b/lib-python/3/importlib

[pypy-commit] pypy py3.5: Fix for class definition inside a function.

2016-04-25 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r83886:1ec6fa2191c0 Date: 2016-04-25 23:42 +0200 http://bitbucket.org/pypy/pypy/changeset/1ec6fa2191c0/ Log:Fix for class definition inside a function. diff --git a/pypy/module/__builtin__/compiling.py b/pypy/module/__builtin__/compiling

[pypy-commit] pypy py3k: Remove unused import, which causes an import loop in py3.5.

2016-04-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r84004:1ae8011dde1c Date: 2016-04-28 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/1ae8011dde1c/ Log:Remove unused import, which causes an import loop in py3.5. diff --git a/pypy/module/operator/app_operator.py b/pypy/module/operat

[pypy-commit] pypy default: Add PyDateTimeAPI->TZInfoType. Because it's easy

2016-04-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r84006:6630090dc44c Date: 2016-04-28 15:00 +0200 http://bitbucket.org/pypy/pypy/changeset/6630090dc44c/ Log:Add PyDateTimeAPI->TZInfoType. Because it's easy diff --git a/pypy/module/cpyext/cdatetime.py b/pypy/module/cpyext/cdatetime.py --- a/p

[pypy-commit] pypy default: Define PyDateTime_TZInfo struct, and the corresponding Check() functions.

2016-04-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r84007:9284beb465a0 Date: 2016-04-28 15:19 +0200 http://bitbucket.org/pypy/pypy/changeset/9284beb465a0/ Log:Define PyDateTime_TZInfo struct, and the corresponding Check() functions. diff --git a/pypy/module/cpyext/cdatetime.py b/pypy/m

[pypy-commit] pypy py3.5: Fix tests for audioop.byteswap(), and test_wave passes.

2016-09-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87296:f7828bc4b08d Date: 2016-09-22 01:38 +0200 http://bitbucket.org/pypy/pypy/changeset/f7828bc4b08d/ Log:Fix tests for audioop.byteswap(), and test_wave passes. diff --git a/lib_pypy/audioop.py b/lib_pypy/audioop.py --- a/lib_pypy/audi

[pypy-commit] pypy py3.5: Add memoryview.nbytes.

2016-09-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87297:0dd312748a34 Date: 2016-09-22 02:23 +0200 http://bitbucket.org/pypy/pypy/changeset/0dd312748a34/ Log:Add memoryview.nbytes. diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pypy/objspace/std

[pypy-commit] pypy py3.5: socket.py now depends on the 'select' module.

2016-09-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87298:09b437dc07a9 Date: 2016-09-22 02:35 +0200 http://bitbucket.org/pypy/pypy/changeset/09b437dc07a9/ Log:socket.py now depends on the 'select' module. diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/t

[pypy-commit] pypy py3.5: Add a minimal _ssl.MemoryBIO to allow "import ssl"

2016-09-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87299:3c1b46d02aad Date: 2016-09-22 02:41 +0200 http://bitbucket.org/pypy/pypy/changeset/3c1b46d02aad/ Log:Add a minimal _ssl.MemoryBIO to allow "import ssl" diff --git a/pypy/module/_ssl/__init__.py b/pypy/module/_ssl/__init__.py --- a/

[pypy-commit] pypy py3.5: Fix many tests in module/_ssl

2016-09-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87300:d58ded0f71fb Date: 2016-09-22 03:08 +0200 http://bitbucket.org/pypy/pypy/changeset/d58ded0f71fb/ Log:Fix many tests in module/_ssl diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/

[pypy-commit] pypy py3.5: Fix translation

2016-09-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87306:827ca1cc3dfb Date: 2016-09-22 09:56 +0200 http://bitbucket.org/pypy/pypy/changeset/827ca1cc3dfb/ Log:Fix translation diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/interp_ssl.py

[pypy-commit] pypy py3.5: sys.hash_info.algorithm = 'rpython'

2016-09-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87334:4d4125dd1c84 Date: 2016-09-22 23:31 +0200 http://bitbucket.org/pypy/pypy/changeset/4d4125dd1c84/ Log:sys.hash_info.algorithm = 'rpython' The algorithm looks like CPython's 'fnv' function, but does not use 8 bytes blocks.

[pypy-commit] pypy py35-getbuiltin: Experiment with space.getbuiltinmodule(): it should not interact with sys.modules.

2016-09-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py35-getbuiltin Changeset: r87460:5a730fdf1043 Date: 2016-09-26 21:10 +0200 http://bitbucket.org/pypy/pypy/changeset/5a730fdf1043/ Log:Experiment with space.getbuiltinmodule(): it should not interact with sys.modules. Should fix test___all__ (which

[pypy-commit] pypy py35-getbuiltin: Progress: space.getbuiltinmodule() does not use or update sys.modules

2016-09-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py35-getbuiltin Changeset: r87461:ecaeac990f09 Date: 2016-09-30 08:02 +0200 http://bitbucket.org/pypy/pypy/changeset/ecaeac990f09/ Log:Progress: space.getbuiltinmodule() does not use or update sys.modules diff --git a/lib-python/3/importlib/_boots

[pypy-commit] pypy py35-getbuiltin: Don't 'inject' the .pyc magic number from the outside, but import it from __pypy__.

2016-09-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py35-getbuiltin Changeset: r87462:e5b6f76186cf Date: 2016-09-29 23:17 +0200 http://bitbucket.org/pypy/pypy/changeset/e5b6f76186cf/ Log:Don't 'inject' the .pyc magic number from the outside, but import it from __pypy__. This fixes the reload of test

[pypy-commit] pypy py35-getbuiltin: Good: we don't update sys.modules anymore in baseobjspace.py

2016-10-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py35-getbuiltin Changeset: r87500:9bd1f653a930 Date: 2016-10-01 19:25 +0200 http://bitbucket.org/pypy/pypy/changeset/9bd1f653a930/ Log:Good: we don't update sys.modules anymore in baseobjspace.py Add a workaround for a limitation of importlib._boo

[pypy-commit] pypy py3.5: With the dict unpacking syntax {1:2, **dict, 3:4} ast.Dict.keys can contain null values.

2016-10-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87502:a45e290ae6ee Date: 2016-10-01 21:10 +0200 http://bitbucket.org/pypy/pypy/changeset/a45e290ae6ee/ Log:With the dict unpacking syntax {1:2, **dict, 3:4} ast.Dict.keys can contain null values. Fix a segfault in test_ast. diff

[pypy-commit] pypy py3.5: "print x" now raises a nice SyntaxError("Missing parentheses in call to 'print'")

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87663:eacce032f81c Date: 2016-10-01 22:29 +0200 http://bitbucket.org/pypy/pypy/changeset/eacce032f81c/ Log:"print x" now raises a nice SyntaxError("Missing parentheses in call to 'print'") diff --git a/pypy/module/exceptions/inte

[pypy-commit] pypy py3.5: python Issue #21408: The default __ne__() now returns NotImplemented if __eq__() returned NotImplemented.

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87665:0fd09e396a7c Date: 2016-10-09 16:46 +0200 http://bitbucket.org/pypy/pypy/changeset/0fd09e396a7c/ Log:python Issue #21408: The default __ne__() now returns NotImplemented if __eq__() returned NotImplemented. diff --git a/pyp

[pypy-commit] pypy py3.5: Fix own test pypy/interpreter/test/test_syntax.py,

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87664:57ef7c44238c Date: 2016-10-01 22:45 +0200 http://bitbucket.org/pypy/pypy/changeset/57ef7c44238c/ Log:Fix own test pypy/interpreter/test/test_syntax.py, this clears test_grammar. diff --git a/pypy/interpreter/astcompiler/cod

[pypy-commit] pypy py3.5: Let all tests pass with -A. Remove the obsolete skip instructions:

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87670:d4253042e13e Date: 2016-10-09 18:12 +0200 http://bitbucket.org/pypy/pypy/changeset/d4253042e13e/ Log:Let all tests pass with -A. Remove the obsolete skip instructions: at least with python3, we always test with the same vers

[pypy-commit] pypy py3.5: Rename operator._length_hint to length_hint.

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87668:60272f813dd6 Date: 2016-10-09 17:38 +0200 http://bitbucket.org/pypy/pypy/changeset/60272f813dd6/ Log:Rename operator._length_hint to length_hint. diff --git a/pypy/module/itertools/test/test_itertools.py b/pypy/module/itertools/te

[pypy-commit] pypy py3.5: Fix test_islice when run with -A, then change itertools.islice() to clear the iterator when exhausted.

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87669:55828ab39bab Date: 2016-10-09 17:56 +0200 http://bitbucket.org/pypy/pypy/changeset/55828ab39bab/ Log:Fix test_islice when run with -A, then change itertools.islice() to clear the iterator when exhausted. diff --git a/pypy/m

[pypy-commit] pypy py3.5: Fix segfault in itertools.product.__setstate__

2016-10-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87667:c03d2d2eff2f Date: 2016-10-09 17:30 +0200 http://bitbucket.org/pypy/pypy/changeset/c03d2d2eff2f/ Log:Fix segfault in itertools.product.__setstate__ (CPython issue 25021) diff --git a/pypy/module/itertools/interp_itertools.py b/pyp

[pypy-commit] pypy py3.5: Add weakref.__callback__

2016-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87699:25f86076fa10 Date: 2016-10-11 00:53 +0200 http://bitbucket.org/pypy/pypy/changeset/25f86076fa10/ Log:Add weakref.__callback__ diff --git a/pypy/module/_weakref/interp__weakref.py b/pypy/module/_weakref/interp__weakref.py --- a/pyp

[pypy-commit] pypy py3.5: Fix translation

2016-10-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87703:2ddf9bfa3ece Date: 2016-10-11 08:19 +0200 http://bitbucket.org/pypy/pypy/changeset/2ddf9bfa3ece/ Log:Fix translation diff --git a/pypy/module/_weakref/interp__weakref.py b/pypy/module/_weakref/interp__weakref.py --- a/pypy/module/

[pypy-commit] pypy pypy-config: Add _sysconfigdata module.

2016-10-26 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: pypy-config Changeset: r87944:a6fa09a29c78 Date: 2014-04-07 17:31 +0200 http://bitbucket.org/pypy/pypy/changeset/a6fa09a29c78/ Log:Add _sysconfigdata module. Empty so far, but it's probably a good idea to move some distutils variables there. diff

[pypy-commit] pypy py3.5: CPython3.5 added checks for NUL bytes, but raises ValueError instead of TypeError.

2016-10-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87970:5cdfbe8ad43b Date: 2016-10-28 01:50 +0200 http://bitbucket.org/pypy/pypy/changeset/5cdfbe8ad43b/ Log:CPython3.5 added checks for NUL bytes, but raises ValueError instead of TypeError. diff --git a/pypy/interpreter/baseobjsp

[pypy-commit] pypy py3.5: Update test_long to match the future v3.5.3. PyPy already handles None exponents consistently.

2016-10-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r87977:c18e5aa323c6 Date: 2016-10-28 22:39 +0200 http://bitbucket.org/pypy/pypy/changeset/c18e5aa323c6/ Log:Update test_long to match the future v3.5.3. PyPy already handles None exponents consistently. see https://hg.pytho

[pypy-commit] pypy py3.5: Try to fix translation on linux32

2016-11-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r88033:c715b57ada9b Date: 2016-11-01 16:28 +0100 http://bitbucket.org/pypy/pypy/changeset/c715b57ada9b/ Log:Try to fix translation on linux32 diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py --- a/pypy/module/bz2

[pypy-commit] pypy py3.5: Fix error messages to match CPython 3.5

2016-11-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r88040:879102e55ef2 Date: 2016-11-01 17:55 +0100 http://bitbucket.org/pypy/pypy/changeset/879102e55ef2/ Log:Fix error messages to match CPython 3.5 diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py

[pypy-commit] pypy py3.5: Fix test. Testing with -A yields the same error.

2016-11-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r88039:82de3e6824df Date: 2016-11-01 17:50 +0100 http://bitbucket.org/pypy/pypy/changeset/82de3e6824df/ Log:Fix test. Testing with -A yields the same error. diff --git a/pypy/module/_codecs/test/test_codecs.py b/pypy/module/_codecs/test/

[pypy-commit] pypy py3.5: Implement the codec "namereplace" error handler.

2016-11-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r88038:d581f95a1c58 Date: 2016-11-01 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/d581f95a1c58/ Log:Implement the codec "namereplace" error handler. u'\uabcd' ==> b'\N{SOME NAME}' diff --git a/pypy/module/_codecs/interp_co

[pypy-commit] pypy py3.5: Pickle protocol 4: Call __getnewargs_ex__(), implemented when __new__() requires keyword arguments.

2016-11-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r88056:82efc04d5dda Date: 2016-11-02 09:04 +0100 http://bitbucket.org/pypy/pypy/changeset/82efc04d5dda/ Log:Pickle protocol 4: Call __getnewargs_ex__(), implemented when __new__() requires keyword arguments. diff --git a/pypy/objs

[pypy-commit] pypy py3.5: Fix "namereplace" handler for unknown characters.

2016-11-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r88057:08fdd579df29 Date: 2016-11-02 09:31 +0100 http://bitbucket.org/pypy/pypy/changeset/08fdd579df29/ Log:Fix "namereplace" handler for unknown characters. Also convert other handlers to return a bytes string, python3 allows this

[pypy-commit] pypy default: Remove error=CANNOT_FAIL: if self.__getattribute__() fails, the exception must be propagated.

2015-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r81493:9fbb68a334bc Date: 2015-12-30 00:27 +0100 http://bitbucket.org/pypy/pypy/changeset/9fbb68a334bc/ Log:Remove error=CANNOT_FAIL: if self.__getattribute__() fails, the exception must be propagated. This is the default for f

[pypy-commit] pypy cpyext-ext: Un-skip some appdirect tests: TP_FLAGS_DEFAULT is really really needed for all types since Python 2.2...

2015-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: cpyext-ext Changeset: r81496:8520e2b4b038 Date: 2015-12-30 01:36 +0100 http://bitbucket.org/pypy/pypy/changeset/8520e2b4b038/ Log:Un-skip some appdirect tests: TP_FLAGS_DEFAULT is really really needed for all types since Python 2.2... diff --git a

[pypy-commit] pypy cpyext-ext: hg merge default

2015-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: cpyext-ext Changeset: r81495:270c041cd532 Date: 2015-12-30 00:38 +0100 http://bitbucket.org/pypy/pypy/changeset/270c041cd532/ Log:hg merge default diff --git a/pypy/module/_cffi_backend/cglob.py b/pypy/module/_cffi_backend/cglob.py --- a/pypy/module/_cff

[pypy-commit] pypy cpyext-ext: Fix a segfault with -A: a metatype always creates heap types.

2015-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: cpyext-ext Changeset: r81498:ead9f50764bf Date: 2015-12-30 02:28 +0100 http://bitbucket.org/pypy/pypy/changeset/ead9f50764bf/ Log:Fix a segfault with -A: a metatype always creates heap types. diff --git a/pypy/module/cpyext/test/foo.c b/pypy/module/cpyext

[pypy-commit] pypy default: Fix test.

2015-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r81494:d3465d7f76a2 Date: 2015-12-30 00:38 +0100 http://bitbucket.org/pypy/pypy/changeset/d3465d7f76a2/ Log:Fix test. diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py --- a/pypy/module/cpyex

[pypy-commit] pypy cpyext-ext: Fix appdirect test: CPython does not have a dictionary for C types.

2015-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: cpyext-ext Changeset: r81497:5f5896c1b060 Date: 2015-12-30 01:43 +0100 http://bitbucket.org/pypy/pypy/changeset/5f5896c1b060/ Log:Fix appdirect test: CPython does not have a dictionary for C types. (cpyext should maybe do the same, but this is anot

[pypy-commit] pypy stdlib-2.7.9: ssl: fix error message in load_cert_chain() password.

2015-02-06 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75742:0a58fd236ab2 Date: 2015-02-06 22:26 +0100 http://bitbucket.org/pypy/pypy/changeset/0a58fd236ab2/ Log:ssl: fix error message in load_cert_chain() password. diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp

[pypy-commit] pypy stdlib-2.7.9: Attempt to fix tests on linux 32bit.

2015-02-06 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75748:6ba8d5a9355c Date: 2015-02-06 23:35 +0100 http://bitbucket.org/pypy/pypy/changeset/6ba8d5a9355c/ Log:Attempt to fix tests on linux 32bit. diff --git a/pypy/module/_ssl/__init__.py b/pypy/module/_ssl/__init__.py --- a/pypy/mo

[pypy-commit] pypy stdlib-2.7.9: SSL: Use a non-moving buffer for the BIO functions. Fixes the last failure

2015-02-06 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75747:5a8af5aeb0f3 Date: 2015-02-06 23:22 +0100 http://bitbucket.org/pypy/pypy/changeset/5a8af5aeb0f3/ Log:SSL: Use a non-moving buffer for the BIO functions. Fixes the last failure diff --git a/pypy/module/_ssl/interp_ssl

[pypy-commit] pypy stdlib-2.7.9: hg merge default

2015-02-06 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75749:0005ffa6a65b Date: 2015-02-06 23:58 +0100 http://bitbucket.org/pypy/pypy/changeset/0005ffa6a65b/ Log:hg merge default + update interp_ssl to use the new rposix.get_saved_errno diff too long, truncating to 2000 out of

[pypy-commit] pypy stdlib-2.7.9: "coding:utf8" cookie: Don't read the second line if the first is not a comment.

2015-02-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75750:84cced3cc507 Date: 2015-02-07 10:34 +0100 http://bitbucket.org/pypy/pypy/changeset/84cced3cc507/ Log:"coding:utf8" cookie: Don't read the second line if the first is not a comment. diff --git a/pypy/interpreter/pypar

[pypy-commit] pypy stdlib-2.7.9: "import re" import more modules than before

2015-02-07 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75751:43111b46f92d Date: 2015-02-07 11:44 +0100 http://bitbucket.org/pypy/pypy/changeset/43111b46f92d/ Log:"import re" import more modules than before (_locale for example) diff --git a/pypy/module/thread/test/test_import_lock.py

[pypy-commit] pypy py3k: hg merge default

2015-02-08 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r75760:a4b363d6f714 Date: 2015-02-07 19:18 +0100 http://bitbucket.org/pypy/pypy/changeset/a4b363d6f714/ Log:hg merge default Probably a lot of issues. diff too long, truncating to 2000 out of 19140 lines diff --git a/.hgtags b/.hgtags ---

[pypy-commit] pypy py3k: Fix a test

2015-02-08 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r75762:06870a7c11d8 Date: 2015-02-08 17:37 +0100 http://bitbucket.org/pypy/pypy/changeset/06870a7c11d8/ Log:Fix a test diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace/std/test/test_mapdict.py --- a/pypy/objspace/std/te

[pypy-commit] pypy py3k: Translation fixes

2015-02-08 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r75761:e11bc12d0270 Date: 2015-02-08 17:14 +0100 http://bitbucket.org/pypy/pypy/changeset/e11bc12d0270/ Log:Translation fixes diff --git a/pypy/module/_posixsubprocess/interp_subprocess.py b/pypy/module/_posixsubprocess/interp_subprocess.

[pypy-commit] pypy py3k: Fix various tests

2015-02-08 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r75768:23b481782927 Date: 2015-02-08 20:32 +0100 http://bitbucket.org/pypy/pypy/changeset/23b481782927/ Log:Fix various tests diff --git a/lib_pypy/_ctypes/structure.py b/lib_pypy/_ctypes/structure.py --- a/lib_pypy/_ctypes/structure.py ++

[pypy-commit] pypy stdlib-2.7.9: ssl: add win32-specific functions.

2015-02-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75789:13c3e6256e35 Date: 2015-02-09 23:34 +0100 http://bitbucket.org/pypy/pypy/changeset/13c3e6256e35/ Log:ssl: add win32-specific functions. Completely blind translation, need to test on buildbot. diff --git a/pypy/module

[pypy-commit] pypy stdlib-2.7.9: Try including wincrypt.h

2015-02-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75790:9373962c0444 Date: 2015-02-09 23:50 +0100 http://bitbucket.org/pypy/pypy/changeset/9373962c0444/ Log:Try including wincrypt.h diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module

[pypy-commit] pypy stdlib-2.7.9: Translation fix

2015-02-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75793:fe2a4e798697 Date: 2015-02-09 23:58 +0100 http://bitbucket.org/pypy/pypy/changeset/fe2a4e798697/ Log:Translation fix diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module/_ssl/int

[pypy-commit] pypy stdlib-2.7.9: Translation fix

2015-02-09 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75794:ef5805046353 Date: 2015-02-10 00:06 +0100 http://bitbucket.org/pypy/pypy/changeset/ef5805046353/ Log:Translation fix diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module/_ssl/int

[pypy-commit] pypy stdlib-2.7.9: Translation fix

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75795:5ffa2d51f624 Date: 2015-02-10 09:29 +0100 http://bitbucket.org/pypy/pypy/changeset/5ffa2d51f624/ Log:Translation fix diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module/_ssl/int

[pypy-commit] pypy stdlib-2.7.9: Translation fix

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75800:315890b5116a Date: 2015-02-10 15:03 +0100 http://bitbucket.org/pypy/pypy/changeset/315890b5116a/ Log:Translation fix diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module/_ssl/int

[pypy-commit] pypy stdlib-2.7.9: fix typo

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75801:268a268ecf64 Date: 2015-02-10 15:22 +0100 http://bitbucket.org/pypy/pypy/changeset/268a268ecf64/ Log:fix typo diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module/_ssl/interp_win

[pypy-commit] pypy stdlib-2.7.9: add missing function

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75806:0ab846ce79d9 Date: 2015-02-10 19:15 +0100 http://bitbucket.org/pypy/pypy/changeset/0ab846ce79d9/ Log:add missing function diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module/_ss

[pypy-commit] pypy default: Issue #1975: copy and adapt the audioop module from the py3.3 branch.

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r75808:4e83debd33c2 Date: 2015-02-10 19:24 +0100 http://bitbucket.org/pypy/pypy/changeset/4e83debd33c2/ Log:Issue #1975: copy and adapt the audioop module from the py3.3 branch. diff --git a/lib-python/2.7/test/test_audioop.py b/lib-p

[pypy-commit] pypy default: force compilation of ffi library in audioop.py

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r75809:91ccdfc264d5 Date: 2015-02-10 19:32 +0100 http://bitbucket.org/pypy/pypy/changeset/91ccdfc264d5/ Log:force compilation of ffi library in audioop.py diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py --- a/pypy/tool

[pypy-commit] pypy py3k: Fix a corner case where a key of module.__dict__ could be retrieved

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r75815:8b50f6d3aebe Date: 2015-02-10 22:20 +0100 http://bitbucket.org/pypy/pypy/changeset/8b50f6d3aebe/ Log:Fix a corner case where a key of module.__dict__ could be retrieved as a bytes object. Probably fixes translation a

[pypy-commit] pypy stdlib-2.7.9: Add newset() to the FakeObjSpace, to fix test_ztranslation

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75819:6e6e94392240 Date: 2015-02-10 23:11 +0100 http://bitbucket.org/pypy/pypy/changeset/6e6e94392240/ Log:Add newset() to the FakeObjSpace, to fix test_ztranslation diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake

[pypy-commit] pypy stdlib-2.7.9: Try space.newset() again

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75820:30bb6fb168fa Date: 2015-02-10 23:12 +0100 http://bitbucket.org/pypy/pypy/changeset/30bb6fb168fa/ Log:Try space.newset() again diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --- a/pypy/module

[pypy-commit] pypy stdlib-2.7.9: Use intmask() instead of widen(), the original is unsigned.

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75822:43c604f7b364 Date: 2015-02-10 23:19 +0100 http://bitbucket.org/pypy/pypy/changeset/43c604f7b364/ Log:Use intmask() instead of widen(), the original is unsigned. diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ss

[pypy-commit] pypy stdlib-2.7.9: Looks like RPython WindowsError instances only have winerror.

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75821:b2e29ad07409 Date: 2015-02-10 23:18 +0100 http://bitbucket.org/pypy/pypy/changeset/b2e29ad07409/ Log:Looks like RPython WindowsError instances only have winerror. diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_

[pypy-commit] pypy py3k: Need to decode keys before calling newlist_unicode.

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r75823:b46622fb88b7 Date: 2015-02-10 23:00 +0100 http://bitbucket.org/pypy/pypy/changeset/b46622fb88b7/ Log:Need to decode keys before calling newlist_unicode. diff --git a/pypy/objspace/std/celldict.py b/pypy/objspace/std/celldict.py ---

[pypy-commit] pypy stdlib-2.7.9: Avoid resizing the list passed to space.newset()

2015-02-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75824:ee0c5e8894ed Date: 2015-02-10 23:40 +0100 http://bitbucket.org/pypy/pypy/changeset/ee0c5e8894ed/ Log:Avoid resizing the list passed to space.newset() diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_wi

[pypy-commit] pypy stdlib-2.7.9: Fix socket.__repr__() on Windows.

2015-02-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75835:304ca19782a2 Date: 2015-02-12 18:56 +0100 http://bitbucket.org/pypy/pypy/changeset/304ca19782a2/ Log:Fix socket.__repr__() on Windows. diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_socket/interp_socket.py

[pypy-commit] pypy stdlib-2.7.9: Actually return the list we have built.

2015-02-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.9 Changeset: r75836:62ee769c7ff5 Date: 2015-02-12 19:03 +0100 http://bitbucket.org/pypy/pypy/changeset/62ee769c7ff5/ Log:Actually return the list we have built. diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py --

[pypy-commit] pypy default: Issue #1975: Port some audioop functions to cffi,

2015-02-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r75844:62a65dd49942 Date: 2015-02-13 00:08 +0100 http://bitbucket.org/pypy/pypy/changeset/62a65dd49942/ Log:Issue #1975: Port some audioop functions to cffi, this considerably improve the performance of the "pydub" example. pyp

[pypy-commit] pypy default: Issue #1982 Avoid name clash and rename cls._names to cls._names_

2015-02-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r75858:2a0f777f5f5b Date: 2015-02-13 09:42 +0100 http://bitbucket.org/pypy/pypy/changeset/2a0f777f5f5b/ Log:Issue #1982 Avoid name clash and rename cls._names to cls._names_ diff --git a/lib_pypy/_ctypes/structure.py b/lib_pypy/_ctypes/structu

[pypy-commit] pypy default: Rename more class attributes to follow ctypes convention for _private_ names.

2015-02-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r75859:7d23e48e92d6 Date: 2015-02-13 16:49 +0100 http://bitbucket.org/pypy/pypy/changeset/7d23e48e92d6/ Log:Rename more class attributes to follow ctypes convention for _private_ names. diff --git a/lib_pypy/_ctypes/array.py b/lib_pypy

  1   2   3   4   5   6   7   8   9   10   >