[pypy-commit] cffi default: Arithmetic using void * should work; at least it does in gcc without

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1395:88d2b9436efd Date: 2013-11-09 09:09 +0100 http://bitbucket.org/cffi/cffi/changeset/88d2b9436efd/ Log:Arithmetic using void * should work; at least it does in gcc without warning. diff --git a/c/_cffi_backend.c

[pypy-commit] cffi default: Support number + pointer too, like in C

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1396:2e0764ba0a2a Date: 2013-11-09 09:17 +0100 http://bitbucket.org/cffi/cffi/changeset/2e0764ba0a2a/ Log:Support number + pointer too, like in C diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++

[pypy-commit] cffi default: Fix a segfault

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1397:9ba268ca7739 Date: 2013-11-09 09:27 +0100 http://bitbucket.org/cffi/cffi/changeset/9ba268ca7739/ Log:Fix a segfault diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -2112,23

[pypy-commit] pypy default: Update to cffi/9ba268ca7739. In-progress.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67887:d2503dcb595a Date: 2013-11-09 09:34 +0100 http://bitbucket.org/pypy/pypy/changeset/d2503dcb595a/ Log:Update to cffi/9ba268ca7739. In-progress. diff --git a/pypy/module/_cffi_backend/cdataobj.py

[pypy-commit] pypy default: Add the same fast path as in CPython

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67888:20b038f7ded3 Date: 2013-11-09 09:45 +0100 http://bitbucket.org/pypy/pypy/changeset/20b038f7ded3/ Log:Add the same fast path as in CPython diff --git a/pypy/module/_cffi_backend/cdataobj.py b/pypy/module/_cffi_backend/cdataobj.py

[pypy-commit] pypy default: merge heads

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67890:552cf038d95c Date: 2013-11-09 10:34 +0100 http://bitbucket.org/pypy/pypy/changeset/552cf038d95c/ Log:merge heads diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py ---

[pypy-commit] pypy default: Port cffi's c99-array branch.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67889:73de8b43bff0 Date: 2013-11-09 10:33 +0100 http://bitbucket.org/pypy/pypy/changeset/73de8b43bff0/ Log:Port cffi's c99-array branch. diff --git a/pypy/module/_cffi_backend/ctypearray.py b/pypy/module/_cffi_backend/ctypearray.py ---

[pypy-commit] pypy default: Test and fix for issue #1632.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67891:a3af3cc958c5 Date: 2013-11-09 11:27 +0100 http://bitbucket.org/pypy/pypy/changeset/a3af3cc958c5/ Log:Test and fix for issue #1632. diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py ---

[pypy-commit] cffi thread-safe: hg merge default

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: thread-safe Changeset: r1401:d13bbbfc83fc Date: 2013-11-09 14:01 +0100 http://bitbucket.org/cffi/cffi/changeset/d13bbbfc83fc/ Log:hg merge default diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -117,18 +117,23 @@

[pypy-commit] cffi default: Clean up. (May also fix an obscure bug...)

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1399:e2dd1a405fda Date: 2013-11-09 14:00 +0100 http://bitbucket.org/cffi/cffi/changeset/e2dd1a405fda/ Log:Clean up. (May also fix an obscure bug...) diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -117,18

[pypy-commit] cffi thread-safe: Add the basic file exporting locks

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: thread-safe Changeset: r1400:3a2e2d0033c2 Date: 2013-11-09 14:01 +0100 http://bitbucket.org/cffi/cffi/changeset/3a2e2d0033c2/ Log:Add the basic file exporting locks diff --git a/cffi/lock.py b/cffi/lock.py new file mode 100644 --- /dev/null +++

[pypy-commit] cffi thread-safe: Add locking. Not really tested, apart from the absence of double locking.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: thread-safe Changeset: r1402:0581b30c5944 Date: 2013-11-09 14:40 +0100 http://bitbucket.org/cffi/cffi/changeset/0581b30c5944/ Log:Add locking. Not really tested, apart from the absence of double locking. diff --git a/cffi/api.py

[pypy-commit] cffi thread-safe: Trying to make cffi thread-safe by adding a few locks

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: thread-safe Changeset: r1398:17a65544a8e7 Date: 2013-11-09 13:31 +0100 http://bitbucket.org/cffi/cffi/changeset/17a65544a8e7/ Log:Trying to make cffi thread-safe by adding a few locks ___ pypy-commit

[pypy-commit] cffi default: Update the version number

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1403:adea54105fc3 Date: 2013-11-09 14:49 +0100 http://bitbucket.org/cffi/cffi/changeset/adea54105fc3/ Log:Update the version number diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@

[pypy-commit] pypy default: Update the version number of CFFI

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67892:6d173d04dc88 Date: 2013-11-09 14:55 +0100 http://bitbucket.org/pypy/pypy/changeset/6d173d04dc88/ Log:Update the version number of CFFI diff --git a/pypy/module/_cffi_backend/__init__.py b/pypy/module/_cffi_backend/__init__.py ---

[pypy-commit] cffi default: Merge the 'thread-safe' branch: adds locks in a few hopeful places.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1404:d852277c4508 Date: 2013-11-09 16:54 +0100 http://bitbucket.org/cffi/cffi/changeset/d852277c4508/ Log:Merge the 'thread-safe' branch: adds locks in a few hopeful places. diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++

[pypy-commit] extradoc extradoc: This was also done

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: extradoc Changeset: r5108:5acdadcc32fd Date: 2013-11-09 08:02 -0800 http://bitbucket.org/pypy/extradoc/changeset/5acdadcc32fd/ Log:This was also done diff --git a/planning/primitive-identity.rst b/planning/primitive-identity.rst deleted file

[pypy-commit] pypy default: os.tcgetpgrp(), os.tcsetpgrp()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67895:d1bb8acdd365 Date: 2013-11-09 15:42 +0100 http://bitbucket.org/pypy/pypy/changeset/d1bb8acdd365/ Log:os.tcgetpgrp(), os.tcsetpgrp() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py ---

[pypy-commit] pypy default: os.initgroups()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67894:150c1dc68223 Date: 2013-11-09 15:27 +0100 http://bitbucket.org/pypy/pypy/changeset/150c1dc68223/ Log:os.initgroups() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/__init__.py

[pypy-commit] pypy default: os.setgroups()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67893:6c6a6202227d Date: 2013-11-09 15:17 +0100 http://bitbucket.org/pypy/pypy/changeset/6c6a6202227d/ Log:os.setgroups() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/__init__.py +++

[pypy-commit] pypy default: os.pathconf()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67899:166ca52b236d Date: 2013-11-09 16:37 +0100 http://bitbucket.org/pypy/pypy/changeset/166ca52b236d/ Log:os.pathconf() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/__init__.py +++

[pypy-commit] pypy default: os.getresuid(), os.getresgid()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67896:8913748cd7eb Date: 2013-11-09 15:56 +0100 http://bitbucket.org/pypy/pypy/changeset/8913748cd7eb/ Log:os.getresuid(), os.getresgid() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py ---

[pypy-commit] pypy default: os.confstr()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67898:d3fc81a3142a Date: 2013-11-09 16:26 +0100 http://bitbucket.org/pypy/pypy/changeset/d3fc81a3142a/ Log:os.confstr() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/__init__.py +++

[pypy-commit] pypy default: os.setresuid(), os.setresgid()

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67897:b4036daf7365 Date: 2013-11-09 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/b4036daf7365/ Log:os.setresuid(), os.setresgid() diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py ---

[pypy-commit] pypy default: Support ptradd() with types different than CCHARP.

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67900:e12176e1a61c Date: 2013-11-09 17:33 +0100 http://bitbucket.org/pypy/pypy/changeset/e12176e1a61c/ Log:Support ptradd() with types different than CCHARP. diff --git a/rpython/jit/codewriter/jtransform.py

[pypy-commit] pypy default: No longer needed

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67902:e6348d3ebc95 Date: 2013-11-09 08:37 -0800 http://bitbucket.org/pypy/pypy/changeset/e6348d3ebc95/ Log:No longer needed diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py ---

[pypy-commit] pypy default: Unroll ffi.new(struct s *, [a, list]) or ffi.new(struct s *, {a: dict})

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67901:988070ca4092 Date: 2013-11-09 08:36 -0800 http://bitbucket.org/pypy/pypy/changeset/988070ca4092/ Log:Unroll ffi.new(struct s *, [a, list]) or ffi.new(struct s *, {a: dict}) diff --git

[pypy-commit] pypy default: merged upstream

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67903:040be31ca85a Date: 2013-11-09 08:37 -0800 http://bitbucket.org/pypy/pypy/changeset/040be31ca85a/ Log:merged upstream diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py ---

[pypy-commit] pypy default: translation fix

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67904:43529df9afc0 Date: 2013-11-09 08:41 -0800 http://bitbucket.org/pypy/pypy/changeset/43529df9afc0/ Log:translation fix diff --git a/pypy/module/_cffi_backend/ctypestruct.py b/pypy/module/_cffi_backend/ctypestruct.py ---

[pypy-commit] pypy cpyext-int: move test

2013-11-09 Thread mattip
Author: Matti Picus matti.pi...@gmail.com Branch: cpyext-int Changeset: r67906:dd36dcfccc8d Date: 2013-11-09 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/dd36dcfccc8d/ Log:move test diff --git a/pypy/module/cpyext/test/test_intobject.py b/pypy/module/cpyext/test/test_intobject.py

[pypy-commit] pypy default: Simplify

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67907:3eaae5cfbc86 Date: 2013-11-09 08:45 -0800 http://bitbucket.org/pypy/pypy/changeset/3eaae5cfbc86/ Log:Simplify diff --git a/pypy/module/_cffi_backend/ctypestruct.py b/pypy/module/_cffi_backend/ctypestruct.py ---

[pypy-commit] pypy cpyext-int: close branch about to be merged

2013-11-09 Thread mattip
Author: Matti Picus matti.pi...@gmail.com Branch: cpyext-int Changeset: r67910:2539263da790 Date: 2013-11-09 23:09 +0200 http://bitbucket.org/pypy/pypy/changeset/2539263da790/ Log:close branch about to be merged diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst ---

[pypy-commit] pypy default: merge cpyext-int, which fixes calling PyInt_FromLong

2013-11-09 Thread mattip
Author: Matti Picus matti.pi...@gmail.com Branch: Changeset: r67911:5038b9a315c9 Date: 2013-11-09 23:10 +0200 http://bitbucket.org/pypy/pypy/changeset/5038b9a315c9/ Log:merge cpyext-int, which fixes calling PyInt_FromLong diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst

[pypy-commit] pypy cpyext-int: cleanup and document

2013-11-09 Thread mattip
Author: Matti Picus matti.pi...@gmail.com Branch: cpyext-int Changeset: r67908:4e1dc333a6e5 Date: 2013-11-09 23:03 +0200 http://bitbucket.org/pypy/pypy/changeset/4e1dc333a6e5/ Log:cleanup and document diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst ---

[pypy-commit] pypy default: Import cffi/d852277c4508

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67912:d94f6f211aa5 Date: 2013-11-09 23:04 +0100 http://bitbucket.org/pypy/pypy/changeset/d94f6f211aa5/ Log:Import cffi/d852277c4508 diff --git a/lib_pypy/cffi/__init__.py b/lib_pypy/cffi/__init__.py --- a/lib_pypy/cffi/__init__.py +++

[pypy-commit] pypy default: Add missing file

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67913:0d30ad15b538 Date: 2013-11-09 23:08 +0100 http://bitbucket.org/pypy/pypy/changeset/0d30ad15b538/ Log:Add missing file diff --git a/lib_pypy/cffi/lock.py b/lib_pypy/cffi/lock.py new file mode 100644 --- /dev/null +++

[pypy-commit] pypy default: Update version number

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67914:e51f3f0f19cc Date: 2013-11-09 23:17 +0100 http://bitbucket.org/pypy/pypy/changeset/e51f3f0f19cc/ Log:Update version number diff --git a/lib_pypy/cffi.egg-info b/lib_pypy/cffi.egg-info --- a/lib_pypy/cffi.egg-info +++

[pypy-commit] cffi default: Test and fix: a remaining deadlock

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r1405:ec61ea587ec6 Date: 2013-11-09 23:29 +0100 http://bitbucket.org/cffi/cffi/changeset/ec61ea587ec6/ Log:Test and fix: a remaining deadlock diff --git a/cffi/vengine_gen.py b/cffi/vengine_gen.py --- a/cffi/vengine_gen.py +++

[pypy-commit] pypy default: Import cffi/ec61ea587ec6

2013-11-09 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r67915:ca509b853772 Date: 2013-11-09 23:30 +0100 http://bitbucket.org/pypy/pypy/changeset/ca509b853772/ Log:Import cffi/ec61ea587ec6 diff --git a/lib_pypy/cffi/vengine_gen.py b/lib_pypy/cffi/vengine_gen.py ---

[pypy-commit] pypy stdlib-2.7.5: pypy has no _sysconfigdata

2013-11-09 Thread mattip
Author: Matti Picus matti.pi...@gmail.com Branch: stdlib-2.7.5 Changeset: r67917:d2bfba55df7a Date: 2013-11-10 00:19 +0200 http://bitbucket.org/pypy/pypy/changeset/d2bfba55df7a/ Log:pypy has no _sysconfigdata diff --git a/lib-python/2.7/sysconfig.py b/lib-python/2.7/sysconfig.py ---

[pypy-commit] pypy default: merged upstream

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67921:8085d3e79ef8 Date: 2013-11-09 19:01 -0800 http://bitbucket.org/pypy/pypy/changeset/8085d3e79ef8/ Log:merged upstream diff --git a/lib_pypy/cffi.egg-info b/lib_pypy/cffi.egg-info --- a/lib_pypy/cffi.egg-info +++

[pypy-commit] pypy default: a test for this

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67920:ef63f35241ad Date: 2013-11-09 18:57 -0800 http://bitbucket.org/pypy/pypy/changeset/ef63f35241ad/ Log:a test for this diff --git a/pypy/module/pypyjit/test_pypy_c/test_ffi.py b/pypy/module/pypyjit/test_pypy_c/test_ffi.py

[pypy-commit] pypy default: Actually do this

2013-11-09 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r67919:91d71c6427da Date: 2013-11-09 14:23 -0800 http://bitbucket.org/pypy/pypy/changeset/91d71c6427da/ Log:Actually do this diff --git a/pypy/module/_cffi_backend/ctypestruct.py b/pypy/module/_cffi_backend/ctypestruct.py ---