[pypy-commit] pypy default: Issue #2438: Windows: llexternal functions declared explicitly with

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r88690:047b28974149 Date: 2016-11-28 09:58 +0100 http://bitbucket.org/pypy/pypy/changeset/047b28974149/ Log:Issue #2438: Windows: llexternal functions declared explicitly with calling_conv='c' should still be directly callable by the JIT

[pypy-commit] cffi default: merge heads

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r2823:9deaf0080a20 Date: 2016-11-28 10:11 +0100 http://bitbucket.org/cffi/cffi/changeset/9deaf0080a20/ Log:merge heads diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -122,6 +122,20 @@ if 'freebsd' in sys.platform: include_dirs.a

[pypy-commit] cffi default: Document should_clear_after_alloc a bit more

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r2822:0782c203b090 Date: 2016-11-28 10:11 +0100 http://bitbucket.org/cffi/cffi/changeset/0782c203b090/ Log:Document should_clear_after_alloc a bit more diff --git a/doc/source/ref.rst b/doc/source/ref.rst --- a/doc/source/ref.rst +++ b/doc/source/ref.rs

[pypy-commit] pypy default: _nowrapper functions now need an explicit calling_conv in order to be JIT-callable

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r88691:5557b759580a Date: 2016-11-28 10:55 +0100 http://bitbucket.org/pypy/pypy/changeset/5557b759580a/ Log:_nowrapper functions now need an explicit calling_conv in order to be JIT-callable diff --git a/rpython/rlib/longlong2float.py b/rpython/

[pypy-commit] pypy default: Change the default again: if _nowrapper=True, then we assume the

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r88692:52e737c73e60 Date: 2016-11-28 11:20 +0100 http://bitbucket.org/pypy/pypy/changeset/52e737c73e60/ Log:Change the default again: if _nowrapper=True, then we assume the default calling convention of 'c'. Looks reasonable because _nowr

[pypy-commit] pypy py3.5-multiprocessing: remove skip in conftest for two multiprocessing test suites (they do not deadlock anymore)

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-multiprocessing Changeset: r88693:cfe2cd888582 Date: 2016-11-21 12:50 +0100 http://bitbucket.org/pypy/pypy/changeset/cfe2cd888582/ Log:remove skip in conftest for two multiprocessing test suites (they do not deadlock anymore) diff --git a/lib-py

[pypy-commit] pypy py3.5-ssl: catch up with py3.5

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88695:2294debaacb0 Date: 2016-11-28 11:22 +0100 http://bitbucket.org/pypy/pypy/changeset/2294debaacb0/ Log:catch up with py3.5 diff too long, truncating to 2000 out of 3598 lines diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py

[pypy-commit] pypy py3.5-multiprocessing: use memoryview in python3, not buffer

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-multiprocessing Changeset: r88694:489f39369c1d Date: 2016-11-21 15:42 +0100 http://bitbucket.org/pypy/pypy/changeset/489f39369c1d/ Log:use memoryview in python3, not buffer diff --git a/lib_pypy/_ctypes/basics.py b/lib_pypy/_ctypes/basics.py --- a/lib_p

[pypy-commit] pypy py3.5: merge py3.5-ssl

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r88696:c28a4f6a70d3 Date: 2016-11-28 11:24 +0100 http://bitbucket.org/pypy/pypy/changeset/c28a4f6a70d3/ Log:merge py3.5-ssl diff too long, truncating to 2000 out of 15232 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgigno

[pypy-commit] pypy py3.5-ssl: update the _ssl implementations with review suggestions

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88698:50ed199b9bf4 Date: 2016-11-28 15:14 +0100 http://bitbucket.org/pypy/pypy/changeset/50ed199b9bf4/ Log:update the _ssl implementations with review suggestions diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ssl/

[pypy-commit] pypy py3.5-multiprocessing: merge py3.5

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-multiprocessing Changeset: r88697:306ff51dda10 Date: 2016-11-28 11:48 +0100 http://bitbucket.org/pypy/pypy/changeset/306ff51dda10/ Log:merge py3.5 diff too long, truncating to 2000 out of 18830 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +

[pypy-commit] pypy py3.5-ssl: remove review comment (created issue),

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88699:32c4efd0d776 Date: 2016-11-28 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/32c4efd0d776/ Log:remove review comment (created issue), call SSL_free when the CData goes out of scope, ensure that the SSL peer certificate

[pypy-commit] pypy py3.5-ssl: ensure that the bio object is also deallocated

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88700:4eadb57ff84c Date: 2016-11-28 15:35 +0100 http://bitbucket.org/pypy/pypy/changeset/4eadb57ff84c/ Log:ensure that the bio object is also deallocated diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ssl/_stdssl/_

[pypy-commit] pypy py3.5-ssl: avoid calling ffi.gc(p, ...) where p == ffi.NULL

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88701:aaca42d1e26e Date: 2016-11-28 15:43 +0100 http://bitbucket.org/pypy/pypy/changeset/aaca42d1e26e/ Log:avoid calling ffi.gc(p, ...) where p == ffi.NULL diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ssl/_stdssl

[pypy-commit] pypy py3.5-ssl: it is ffi.gc, not lib.gc, use ffi.new("type[]", count) instead of ffi.new("type[%d]"%count), special case _str_to_ffi_buffer

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88702:784e2faa7a3d Date: 2016-11-28 16:22 +0100 http://bitbucket.org/pypy/pypy/changeset/784e2faa7a3d/ Log:it is ffi.gc, not lib.gc, use ffi.new("type[]", count) instead of ffi.new("type[%d]"%count), special case _str_to_ffi_buffe

[pypy-commit] pypy py3.5-ssl: remove zeroterm parameter of _str_to_ffi_buffer

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88703:582cca1fe05c Date: 2016-11-28 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/582cca1fe05c/ Log:remove zeroterm parameter of _str_to_ffi_buffer diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ssl/_stdssl/

[pypy-commit] pypy py3.5-ssl: revert _str_to_ffi_buffer back to parts of it's original impl. str and memoryview are special cased!

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88704:e44522edcb3a Date: 2016-11-28 16:51 +0100 http://bitbucket.org/pypy/pypy/changeset/e44522edcb3a/ Log:revert _str_to_ffi_buffer back to parts of it's original impl. str and memoryview are special cased! diff --git a/lib_pypy

[pypy-commit] pypy py3.5: (arigato, plan_rich) merge enhancements to py3.5-ssl

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r88705:851b07eec964 Date: 2016-11-28 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/851b07eec964/ Log:(arigato, plan_rich) merge enhancements to py3.5-ssl diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ssl/_stdssl

[pypy-commit] pypy default: kill this 'if 0' path for VMS

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r88706:402299f61542 Date: 2016-11-28 17:02 +0100 http://bitbucket.org/pypy/pypy/changeset/402299f61542/ Log:kill this 'if 0' path for VMS diff --git a/rpython/rlib/rurandom.py b/rpython/rlib/rurandom.py --- a/rpython/rlib/rurandom.py +++ b/rpython/rlib/

[pypy-commit] pypy py3.5-ssl: copy over _hashlib from pypy/modules to lib_pypy and start to rewrite first functions

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88707:9c52653f210c Date: 2016-11-28 17:31 +0100 http://bitbucket.org/pypy/pypy/changeset/9c52653f210c/ Log:copy over _hashlib from pypy/modules to lib_pypy and start to rewrite first functions diff --git a/pypy/module/_hashlib/__

[pypy-commit] pypy py3.5-ssl: strip _hashlib from pypyoptions

2016-11-28 Thread plan_rich
Author: Richard Plangger Branch: py3.5-ssl Changeset: r88708:accd3b5317bb Date: 2016-11-28 17:34 +0100 http://bitbucket.org/pypy/pypy/changeset/accd3b5317bb/ Log:strip _hashlib from pypyoptions diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py

[pypy-commit] pypy default: Provide rarithmetic.ovfcheck_int32_add/sub/mul, with a reasonable

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r88709:2b67d420c658 Date: 2016-11-28 18:23 +0100 http://bitbucket.org/pypy/pypy/changeset/2b67d420c658/ Log:Provide rarithmetic.ovfcheck_int32_add/sub/mul, with a reasonable implementation (not special-cased by the JIT, but should generate

[pypy-commit] pypy default: Fix for test_sysmodule

2016-11-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r88710:43ec8832c98f Date: 2016-11-28 18:32 +0100 http://bitbucket.org/pypy/pypy/changeset/43ec8832c98f/ Log:Fix for test_sysmodule diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython/rlib/jit.py @@ -3,7 +3,7 @@

[pypy-commit] pypy py3.5: hg merge default

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88711:c8b4b78af01a Date: 2016-11-28 18:33 +0100 http://bitbucket.org/pypy/pypy/changeset/c8b4b78af01a/ Log:hg merge default diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py b/lib-python/2.7/distutils/sysconfig_pypy.py --- a/lib-python/2.7/

[pypy-commit] pypy py3.5: fix test

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88712:f6c2cac88fa1 Date: 2016-11-28 18:35 +0100 http://bitbucket.org/pypy/pypy/changeset/f6c2cac88fa1/ Log:fix test diff --git a/lib-python/3/test/test_complex.py b/lib-python/3/test/test_complex.py --- a/lib-python/3/test/test_complex.py +++ b/l

[pypy-commit] pypy py3.5: b"%c" % bytearray(b"X")

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88713:a9aa848c5cb2 Date: 2016-11-28 18:44 +0100 http://bitbucket.org/pypy/pypy/changeset/a9aa848c5cb2/ Log:b"%c" % bytearray(b"X") diff --git a/pypy/objspace/std/formatting.py b/pypy/objspace/std/formatting.py --- a/pypy/objspace/std/formatting.py

[pypy-commit] pypy py3.5: '%b' in unicode strings is not supported

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88714:481c5fb368c8 Date: 2016-11-28 18:50 +0100 http://bitbucket.org/pypy/pypy/changeset/481c5fb368c8/ Log:'%b' in unicode strings is not supported diff --git a/pypy/objspace/std/formatting.py b/pypy/objspace/std/formatting.py --- a/pypy/objspace/

[pypy-commit] pypy py3.5: fix test

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88715:b6249dffd811 Date: 2016-11-28 18:51 +0100 http://bitbucket.org/pypy/pypy/changeset/b6249dffd811/ Log:fix test diff --git a/lib-python/3/test/test_exceptions.py b/lib-python/3/test/test_exceptions.py --- a/lib-python/3/test/test_exceptions.p

[pypy-commit] pypy py3.5: add OSError.filename2

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88716:8335b93c9873 Date: 2016-11-28 19:08 +0100 http://bitbucket.org/pypy/pypy/changeset/8335b93c9873/ Log:add OSError.filename2 diff --git a/pypy/module/exceptions/interp_exceptions.py b/pypy/module/exceptions/interp_exceptions.py --- a/pypy/mod

[pypy-commit] pypy py3.5: Generate OSError with a filename2 from the posix module

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88717:b3e1b9a536b3 Date: 2016-11-28 19:23 +0100 http://bitbucket.org/pypy/pypy/changeset/b3e1b9a536b3/ Log:Generate OSError with a filename2 from the posix module diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py --- a/pypy/interp

[pypy-commit] pypy py3.5: Rename the 'signal' module: it is now called '_signal' and we have

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88718:31a78c0851ed Date: 2016-11-28 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/31a78c0851ed/ Log:Rename the 'signal' module: it is now called '_signal' and we have lib-python/3/signal.py. diff --git a/pypy/interpreter/app_main.py

[pypy-commit] pypy py3.5: Try to fix Weak{Key, Value}Dictionary.__len__()

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88719:338b6c45ed55 Date: 2016-11-28 20:22 +0100 http://bitbucket.org/pypy/pypy/changeset/338b6c45ed55/ Log:Try to fix Weak{Key,Value}Dictionary.__len__() diff --git a/lib-python/3/weakref.py b/lib-python/3/weakref.py --- a/lib-python/3/weakref.py

[pypy-commit] pypy py3.5: also fix WeakSet.__len__

2016-11-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r88720:8891136318b8 Date: 2016-11-28 20:27 +0100 http://bitbucket.org/pypy/pypy/changeset/8891136318b8/ Log:also fix WeakSet.__len__ diff --git a/lib-python/3/_weakrefset.py b/lib-python/3/_weakrefset.py --- a/lib-python/3/_weakrefset.py +++ b/lib-