[pypy-commit] pypy faster-rstruct-2: implement the analyzer for gc_store_indexed

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91376:1e87cd8c5f6c Date: 2017-05-22 18:59 +0200 http://bitbucket.org/pypy/pypy/changeset/1e87cd8c5f6c/ Log:implement the analyzer for gc_store_indexed diff --git a/rpython/translator/backendopt/test/test_writeanalyze.py b/rpython/tra

[pypy-commit] pypy faster-rstruct-2: typo

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91380:a7c92808278f Date: 2017-05-23 00:19 +0200 http://bitbucket.org/pypy/pypy/changeset/a7c92808278f/ Log:typo diff --git a/rpython/translator/backendopt/writeanalyze.py b/rpython/translator/backendopt/writeanalyze.py --- a/rpython/

[pypy-commit] pypy faster-rstruct-2: @enforceargs does not play well with @specialize, use _annenforceargs_ directly

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91379:616c5957da8d Date: 2017-05-23 00:19 +0200 http://bitbucket.org/pypy/pypy/changeset/616c5957da8d/ Log:@enforceargs does not play well with @specialize, use _annenforceargs_ directly diff --git a/rpython/jit/backend/llsupp

[pypy-commit] pypy faster-rstruct-2: fix test_gc_load_indexed_str

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91381:ad1105da8697 Date: 2017-05-23 00:26 +0200 http://bitbucket.org/pypy/pypy/changeset/ad1105da8697/ Log:fix test_gc_load_indexed_str diff --git a/rpython/translator/backendopt/writeanalyze.py b/rpython/translator/backendopt/writea

[pypy-commit] pypy faster-rstruct-2: hg merge default

2017-05-22 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91382:4d0500d6eced Date: 2017-05-23 00:30 +0200 http://bitbucket.org/pypy/pypy/changeset/4d0500d6eced/ Log:hg merge default diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py ++

[pypy-commit] pypy faster-rstruct-2: this this test_pypy_c test: now struct.unpack generates a fast raw_load_i; use 'i' instead of '

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91383:6878ac6c89b8 Date: 2017-05-23 10:49 +0200 http://bitbucket.org/pypy/pypy/changeset/6878ac6c89b8/ Log:this this test_pypy_c test: now struct.unpack generates a fast raw_load_i; use 'i' instead of ') -guard_no_e

[pypy-commit] pypy faster-rstruct-2: make this test endianess-independent: hopefully this fixed the failure on S390X

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91384:18131865f52d Date: 2017-05-23 10:57 +0200 http://bitbucket.org/pypy/pypy/changeset/18131865f52d/ Log:make this test endianess-independent: hopefully this fixed the failure on S390X diff --git a/rpython/rlib/test/test_buf

[pypy-commit] pypy default: fix test_whatsnew

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91385:ed256c4d2705 Date: 2017-05-23 13:38 +0200 http://bitbucket.org/pypy/pypy/changeset/ed256c4d2705/ Log:fix test_whatsnew diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew

[pypy-commit] pypy default: kill this test: originally it was meant to check that we take the fastpath when doing a ctypes call, but now the fastpath has gone and thus there is nothing to test. Moreov

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91386:a8f0d06d39a8 Date: 2017-05-23 13:42 +0200 http://bitbucket.org/pypy/pypy/changeset/a8f0d06d39a8/ Log:kill this test: originally it was meant to check that we take the fastpath when doing a ctypes call, but now the fastpath has gone and

[pypy-commit] pypy better-test-whatsnew: improve this test and make sure that the CURRENT branch is documented: this way we get a failure early before merging the branch instead of having test_whatsne

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: better-test-whatsnew Changeset: r91388:ae2ab7014840 Date: 2017-05-23 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/ae2ab7014840/ Log:improve this test and make sure that the CURRENT branch is documented: this way we get a failure early before mergin

[pypy-commit] pypy better-test-whatsnew: close branch about to be merged

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: better-test-whatsnew Changeset: r91390:57efe071e53a Date: 2017-05-23 14:41 +0200 http://bitbucket.org/pypy/pypy/changeset/57efe071e53a/ Log:close branch about to be merged ___ pypy-commit mailing list pypy-commit@python

[pypy-commit] pypy better-test-whatsnew: add this branch to the documented ones, and make the test passing again

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: better-test-whatsnew Changeset: r91389:95360dc76049 Date: 2017-05-23 14:41 +0200 http://bitbucket.org/pypy/pypy/changeset/95360dc76049/ Log:add this branch to the documented ones, and make the test passing again diff --git a/pypy/doc/whatsnew-head.rst b/p

[pypy-commit] pypy better-test-whatsnew: a branch where to improve test_whatsnew:

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: better-test-whatsnew Changeset: r91387:c96a110a73d2 Date: 2017-05-23 14:34 +0200 http://bitbucket.org/pypy/pypy/changeset/c96a110a73d2/ Log:a branch where to improve test_whatsnew: ___ pypy-commit mailing list pypy-comm

[pypy-commit] pypy default: merge the branch better-test-whatsnew: now you must document your branch in whatsnew-HEAD.rst BEFORE merging it

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91391:b7531baf47cf Date: 2017-05-23 14:42 +0200 http://bitbucket.org/pypy/pypy/changeset/b7531baf47cf/ Log:merge the branch better-test-whatsnew: now you must document your branch in whatsnew-HEAD.rst BEFORE merging it diff --git a/pypy/doc/t

[pypy-commit] pypy faster-rstruct-2: remove dead import (thanks cfbolz)

2017-05-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91392:8dcd7b31db1e Date: 2017-05-23 14:50 +0200 http://bitbucket.org/pypy/pypy/changeset/8dcd7b31db1e/ Log:remove dead import (thanks cfbolz) diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py --- a/pypy/module

[pypy-commit] pypy faster-rstruct-2: close branch about to be merged

2017-05-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct-2 Changeset: r91395:43a0bd03dd95 Date: 2017-05-24 17:24 +0200 http://bitbucket.org/pypy/pypy/changeset/43a0bd03dd95/ Log:close branch about to be merged ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy default: document the merged branch

2017-05-24 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91397:add017ddb1bc Date: 2017-05-24 17:27 +0200 http://bitbucket.org/pypy/pypy/changeset/add017ddb1bc/ Log:document the merged branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc

[pypy-commit] pypy default: merge the faster-rstruct-2 branch: this makes struct.pack and struct.pack_into much faster by using raw_store or gc_store_indexed whenever possible. Moreover, it enables th

2017-05-24 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91396:d3895494491b Date: 2017-05-24 17:26 +0200 http://bitbucket.org/pypy/pypy/changeset/d3895494491b/ Log:merge the faster-rstruct-2 branch: this makes struct.pack and struct.pack_into much faster by using raw_store or gc_store_indexed

[pypy-commit] pypy default: don't test the blackhole path in ARM tests, for the very same reason as we do in x86 ones

2017-05-25 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91410:190cd7ec3d9a Date: 2017-05-25 18:56 +0200 http://bitbucket.org/pypy/pypy/changeset/190cd7ec3d9a/ Log:don't test the blackhole path in ARM tests, for the very same reason as we do in x86 ones diff --git a/rpython/jit/backend/arm/test/tes

[pypy-commit] pypy default: fix the name of Gambit Research

2017-06-07 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r91570:3873f54fed26 Date: 2017-06-07 19:09 +0200 http://bitbucket.org/pypy/pypy/changeset/3873f54fed26/ Log:fix the name of Gambit Research diff --git a/pypy/doc/release-v5.8.0.rst b/pypy/doc/release-v5.8.0.rst --- a/pypy/doc/release-v5.8.0.rst +++ b/

[pypy-commit] extradoc extradoc: skeleton for my talk

2017-07-10 Thread antocuni
mode 100644 --- /dev/null +++ b/talk/ep2017/the-joy-of-pypy-jit/Makefile @@ -0,0 +1,18 @@ +# you can find rst2beamer.py here: +# http://codespeak.net/svn/user/antocuni/bin/rst2beamer.py + +# WARNING: to work, it needs this patch for docutils +# https://sourceforge.net/tracker/?func=detail&atid=42

[pypy-commit] extradoc extradoc: more slides and import the sobel demo

2017-07-10 Thread antocuni
author.latex title.latex stylesheet.latex +talk.pdf: talk.rst author.latex stylesheet.latex python `which rst2beamer.py` --stylesheet=stylesheet.latex --documentoptions=14pt talk.rst talk.latex || exit - #/home/antocuni/.virtualenvs/rst2beamer/bin/python `which rst2beamer.py`

[pypy-commit] extradoc extradoc: more slides

2017-07-10 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5809:e5b2630698e6 Date: 2017-07-10 16:37 +0200 http://bitbucket.org/pypy/extradoc/changeset/e5b2630698e6/ Log:more slides diff --git a/talk/ep2017/the-joy-of-pypy-jit/talk.rst b/talk/ep2017/the-joy-of-pypy-jit/talk.rst --- a/talk/ep2017/the-

[pypy-commit] extradoc extradoc: make it possible to benchmark a single version; add more slides

2017-07-10 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5808:e409253e059c Date: 2017-07-10 16:29 +0200 http://bitbucket.org/pypy/extradoc/changeset/e409253e059c/ Log:make it possible to benchmark a single version; add more slides diff --git a/talk/ep2017/the-joy-of-pypy-jit/sobel/benchall.py b/ta

[pypy-commit] extradoc extradoc: generate some charts and show them

2017-07-10 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5810:be6b6ec88341 Date: 2017-07-11 00:38 +0200 http://bitbucket.org/pypy/extradoc/changeset/be6b6ec88341/ Log:generate some charts and show them diff --git a/talk/ep2017/the-joy-of-pypy-jit/Makefile b/talk/ep2017/the-joy-of-pypy-jit/Makefile

[pypy-commit] extradoc extradoc: more slides

2017-07-11 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5811:853481996a2f Date: 2017-07-11 12:40 +0200 http://bitbucket.org/pypy/extradoc/changeset/853481996a2f/ Log:more slides diff --git a/talk/ep2017/the-joy-of-pypy-jit/beamerdefs.txt b/talk/ep2017/the-joy-of-pypy-jit/beamerdefs.txt --- a/talk

[pypy-commit] extradoc extradoc: slides about v4

2017-07-12 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5814:0383fac69aac Date: 2017-07-12 10:50 +0200 http://bitbucket.org/pypy/extradoc/changeset/0383fac69aac/ Log:slides about v4 diff --git a/talk/ep2017/the-joy-of-pypy-jit/bazinga.jpg b/talk/ep2017/the-joy-of-pypy-jit/bazinga.jpg new file mod

[pypy-commit] extradoc extradoc: add two more versions of the code

2017-07-12 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5812:e138032bcc93 Date: 2017-07-12 08:54 +0200 http://bitbucket.org/pypy/extradoc/changeset/e138032bcc93/ Log:add two more versions of the code diff --git a/talk/ep2017/the-joy-of-pypy-jit/sobel/benchall.py b/talk/ep2017/the-joy-of-pypy-jit/

[pypy-commit] extradoc extradoc: add slides about v5

2017-07-12 Thread antocuni
+* Very rough explanation + +* For a deeper view: + - http://speakerdeck.com/u/antocuni/p/pypy-jit-under-the-hood + + - http://www.youtube.com/watch?v=cMtBUvORCfU + + Loops and guards - @@ -677,3 +753,4 @@ * Or, just talk to us :) +* @pypyproject, @antocuni _

[pypy-commit] extradoc extradoc: make v4 and v5 more similar to v3

2017-07-12 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5813:6ed1dcda3cd7 Date: 2017-07-12 10:32 +0200 http://bitbucket.org/pypy/extradoc/changeset/6ed1dcda3cd7/ Log:make v4 and v5 more similar to v3 diff --git a/talk/ep2017/the-joy-of-pypy-jit/sobel/v4.py b/talk/ep2017/the-joy-of-pypy-jit/sobel/

[pypy-commit] extradoc extradoc: add a link

2017-07-12 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5816:d21eac1e437a Date: 2017-07-12 14:53 +0200 http://bitbucket.org/pypy/extradoc/changeset/d21eac1e437a/ Log:add a link diff --git a/talk/ep2017/the-joy-of-pypy-jit/talk.rst b/talk/ep2017/the-joy-of-pypy-jit/talk.rst --- a/talk/ep2017/the-j

[pypy-commit] pypy cpyext-jit: remove cpyext from the JIT policy blacklist

2017-07-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-jit Changeset: r91911:ae94f6ae3278 Date: 2017-07-16 14:54 +0100 http://bitbucket.org/pypy/pypy/changeset/ae94f6ae3278/ Log:remove cpyext from the JIT policy blacklist diff --git a/pypy/module/pypyjit/policy.py b/pypy/module/pypyjit/policy.py --- a/pypy/mod

[pypy-commit] pypy cpyext-jit: add enough @jit.dont_look_inside so that pypy translates

2017-07-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-jit Changeset: r91912:aee286949d64 Date: 2017-07-16 13:06 +0100 http://bitbucket.org/pypy/pypy/changeset/aee286949d64/ Log:add enough @jit.dont_look_inside so that pypy translates diff --git a/pypy/module/_cffi_backend/cffi1_module.py b/pypy/module/_cffi_

[pypy-commit] pypy cpyext-jit: experimental branch in which to make cpyext visible to the JIT

2017-07-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-jit Changeset: r91910:1327063282d7 Date: 2017-07-16 14:59 +0100 http://bitbucket.org/pypy/pypy/changeset/1327063282d7/ Log:experimental branch in which to make cpyext visible to the JIT ___ pypy-commit mailing li

[pypy-commit] pypy cpyext-jit: merge part of the cpyext-callopt branch, up to commit 9cbc8bd76297: this should simplify and speedup the call of simple functions/methods

2017-07-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-jit Changeset: r91913:25ba96ce5970 Date: 2017-07-16 15:20 +0100 http://bitbucket.org/pypy/pypy/changeset/25ba96ce5970/ Log:merge part of the cpyext-callopt branch, up to commit 9cbc8bd76297: this should simplify and speedup the call of simple

[pypy-commit] pypy default: update the docs about GC hooks: the unit of the duration fields was changed by the expose-gc-time branch, but the docs were not updated accordingly :(. While at it, documen

2019-03-06 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r96221:c42a88cbac10 Date: 2019-03-06 17:35 +0100 http://bitbucket.org/pypy/pypy/changeset/c42a88cbac10/ Log:update the docs about GC hooks: the unit of the duration fields was changed by the expose-gc-time branch, but the docs were not updated

[pypy-commit] pyrepl default: make sure to flush stdout/stderr when calling readline()/raw_input(). It helps to mitigates this pytest issue:

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r266:1a94ebdc7c32 Date: 2019-04-16 16:13 +0200 http://bitbucket.org/pypy/pyrepl/changeset/1a94ebdc7c32/ Log:make sure to flush stdout/stderr when calling readline()/raw_input(). It helps to mitigates this pytest issue: https://github.co

[pypy-commit] pyrepl default: update for newer pytest

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r265:f52da1bc7c82 Date: 2019-04-16 16:01 +0200 http://bitbucket.org/pypy/pyrepl/changeset/f52da1bc7c82/ Log:update for newer pytest diff --git a/testing/test_functional.py b/testing/test_functional.py --- a/testing/test_functional.py +++ b/testing/tes

[pypy-commit] pyrepl default: Added tag v0.8.5 for changeset 1a94ebdc7c32

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r267:7cdcbf8e4e3f Date: 2019-04-16 16:13 +0200 http://bitbucket.org/pypy/pyrepl/changeset/7cdcbf8e4e3f/ Log:Added tag v0.8.5 for changeset 1a94ebdc7c32 diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -2,3 +2,4 @@ 5f47f9f65ff7127668bdeda

[pypy-commit] pyrepl default: Added tag v0.8.5 for changeset 7cdcbf8e4e3f

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r268:17f813917dd7 Date: 2019-04-16 16:14 +0200 http://bitbucket.org/pypy/pyrepl/changeset/17f813917dd7/ Log:Added tag v0.8.5 for changeset 7cdcbf8e4e3f diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -3,3 +3,5 @@ 61de8bdd14264ab8af5b336

[pypy-commit] pyrepl default: Added tag v0.9.0 for changeset 30208d815456

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r271:6e190161f8b1 Date: 2019-04-16 16:15 +0200 http://bitbucket.org/pypy/pyrepl/changeset/6e190161f8b1/ Log:Added tag v0.9.0 for changeset 30208d815456 diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -7,3 +7,4 @@ 7cdcbf8e4e3f46d5adc31c8

[pypy-commit] pyrepl default: Removed tag v0.8.5

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r269:d6195425 Date: 2019-04-16 16:14 +0200 http://bitbucket.org/pypy/pyrepl/changeset/d6195425/ Log:Removed tag v0.8.5 diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -5,3 +5,5 @@ 1a94ebdc7c32704d2ae7692ebd9183ede84cc69b v0.8.5

[pypy-commit] pyrepl default: bump version

2019-04-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r270:30208d815456 Date: 2019-04-16 16:15 +0200 http://bitbucket.org/pypy/pyrepl/changeset/30208d815456/ Log:bump version diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( name="pyrepl", -version="0.8.4

[pypy-commit] pypy.org extradoc: move 3.6 before 3.5

2019-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r948:9a005af4146c Date: 2019-04-17 10:32 +0200 http://bitbucket.org/pypy/pypy.org/changeset/9a005af4146c/ Log:move 3.6 before 3.5 diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +++ b/source/download.txt @@ -11

[pypy-commit] pypy.org extradoc: fix all the remaining references to 7.1 into 7.1.1

2019-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r947:fe3ae5657a9b Date: 2019-04-17 10:28 +0200 http://bitbucket.org/pypy/pypy.org/changeset/fe3ae5657a9b/ Log:fix all the remaining references to 7.1 into 7.1.1 diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +

[pypy-commit] pypy.org extradoc: regenerate

2019-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r949:5d538982b055 Date: 2019-04-17 10:32 +0200 http://bitbucket.org/pypy/pypy.org/changeset/5d538982b055/ Log:regenerate diff --git a/download.html b/download.html --- a/download.html +++ b/download.html @@ -66,11 +66,11 @@ as stable as the r

[pypy-commit] pyrepl default: remove trailing whitespace

2019-04-30 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r272:ee97ef7ab45d Date: 2019-04-30 19:12 +0200 http://bitbucket.org/pypy/pyrepl/changeset/ee97ef7ab45d/ Log:remove trailing whitespace diff --git a/pyrepl/readline.py b/pyrepl/readline.py --- a/pyrepl/readline.py +++ b/pyrepl/readline.py @@ -217,7 +21

[pypy-commit] extradoc extradoc: few tweaks

2019-08-07 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5959:0aa490b09381 Date: 2019-08-07 16:04 +0200 http://bitbucket.org/pypy/extradoc/changeset/0aa490b09381/ Log:few tweaks diff --git a/blog/draft/2019-08-sandbox.rst b/blog/draft/2019-08-sandbox.rst --- a/blog/draft/2019-08-sandbox.rst +++ b/b

[pypy-commit] pypy json-decoder-maps: some review comments; more to follow

2019-09-17 Thread antocuni
Author: Antonio Cuni Branch: json-decoder-maps Changeset: r97519:557bf35c498d Date: 2019-09-17 19:23 +0200 http://bitbucket.org/pypy/pypy/changeset/557bf35c498d/ Log:some review comments; more to follow diff --git a/pypy/module/_pypyjson/interp_decoder.py b/pypy/module/_pypyjson/interp_deco

[pypy-commit] pypy json-decoder-maps: more comments and review

2019-09-19 Thread antocuni
Author: Antonio Cuni Branch: json-decoder-maps Changeset: r97538:1a3d5908e330 Date: 2019-09-19 15:05 +0200 http://bitbucket.org/pypy/pypy/changeset/1a3d5908e330/ Log:more comments and review diff --git a/pypy/module/_pypyjson/interp_decoder.py b/pypy/module/_pypyjson/interp_decoder.py --- a

[pypy-commit] pypy hpy: (antocuni, arigo, ronan): kill the usage of @slot_function from cpyext and use the much simpler @apifunc

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98083:949c501dadd7 Date: 2019-11-17 00:21 +0100 http://bitbucket.org/pypy/pypy/changeset/949c501dadd7/ Log:(antocuni, arigo, ronan): kill the usage of @slot_function from cpyext and use the much simpler @apifunc diff --git a/pypy/module

[pypy-commit] pypy hpy: (antocuni, arigo): implement HPyNone_Get, test_noop_function finally passes

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98082:bacbce0ca621 Date: 2019-11-16 23:44 +0100 http://bitbucket.org/pypy/pypy/changeset/bacbce0ca621/ Log:(antocuni, arigo): implement HPyNone_Get, test_noop_function finally passes diff --git a/pypy/module/hpy_universal

[pypy-commit] pypy hpy: skip this for now

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98085:256add727d58 Date: 2019-11-17 00:31 +0100 http://bitbucket.org/pypy/pypy/changeset/256add727d58/ Log:skip this for now diff --git a/pypy/module/hpy_universal/test/test_basic.py b/pypy/module/hpy_universal/test/test_basic.py --- a/pypy/modul

[pypy-commit] pypy hpy: import this test, which already passes :)

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98093:513f6685 Date: 2019-11-17 01:14 +0100 http://bitbucket.org/pypy/pypy/changeset/513f6685/ Log:import this test, which already passes :) diff --git a/pypy/module/hpy_universal/test/test_basic.py b/pypy/module/hpy_universal/test/test_b

[pypy-commit] pypy hpy: pass the module as 'self' when calling HPyFunctionDefs. test_self_is_module passes

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98087:1cbaaff6fda2 Date: 2019-11-17 00:43 +0100 http://bitbucket.org/pypy/pypy/changeset/1cbaaff6fda2/ Log:pass the module as 'self' when calling HPyFunctionDefs. test_self_is_module passes diff --git a/pypy/module/hpy_universal/interp_ext

[pypy-commit] pypy hpy: implement a context-manager to allocate handles

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98090:1dc8e3639eb3 Date: 2019-11-17 01:00 +0100 http://bitbucket.org/pypy/pypy/changeset/1dc8e3639eb3/ Log:implement a context-manager to allocate handles diff --git a/pypy/module/hpy_universal/handles.py b/pypy/module/hpy_universal/handles.py --

[pypy-commit] pypy hpy: use the new handles context manager here

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98091:a4e8d4a49fff Date: 2019-11-17 01:02 +0100 http://bitbucket.org/pypy/pypy/changeset/a4e8d4a49fff/ Log:use the new handles context manager here diff --git a/pypy/module/hpy_universal/interp_extfunc.py b/pypy/module/hpy_universal/interp_extfun

[pypy-commit] pypy hpy: implement METH_O calls; test_identify_function passes

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98092:f51448bff9a4 Date: 2019-11-17 01:09 +0100 http://bitbucket.org/pypy/pypy/changeset/f51448bff9a4/ Log:implement METH_O calls; test_identify_function passes diff --git a/pypy/module/hpy_universal/interp_extfunc.py b/pypy/module/hpy_universal/

[pypy-commit] pypy hpy: progress towards passing test_self_is_module: implement HPy_Dup

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98086:33150b74ce8b Date: 2019-11-17 00:37 +0100 http://bitbucket.org/pypy/pypy/changeset/33150b74ce8b/ Log:progress towards passing test_self_is_module: implement HPy_Dup diff --git a/pypy/module/hpy_universal/handles.py b/pypy/module/hpy_univers

[pypy-commit] pypy hpy: implement handles.close

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98089:a117a040ec4f Date: 2019-11-17 00:52 +0100 http://bitbucket.org/pypy/pypy/changeset/a117a040ec4f/ Log:implement handles.close diff --git a/pypy/module/hpy_universal/handles.py b/pypy/module/hpy_universal/handles.py --- a/pypy/module/hpy_univ

[pypy-commit] pypy hpy: add unit test for handles.py

2019-11-16 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98088:3308dc2cfbc4 Date: 2019-11-17 00:49 +0100 http://bitbucket.org/pypy/pypy/changeset/3308dc2cfbc4/ Log:add unit test for handles.py diff --git a/pypy/module/hpy_universal/test/test_handles.py b/pypy/module/hpy_universal/test/test_handles.py n

[pypy-commit] pypy hpy: (antocuni, arigo, ronan): fix translation

2019-11-17 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98096:3c3b367435c3 Date: 2019-11-17 12:31 + http://bitbucket.org/pypy/pypy/changeset/3c3b367435c3/ Log:(antocuni, arigo, ronan): fix translation diff --git a/pypy/module/hpy_universal/llapi.py b/pypy/module/hpy_universal/llapi.py --- a/pypy

[pypy-commit] pypy hpy: the JIT doesn't like the casts from FUNCPTR to VOIDP, so hide this function from it

2019-11-17 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98095:69e48dfcbf9c Date: 2019-11-17 09:25 + http://bitbucket.org/pypy/pypy/changeset/69e48dfcbf9c/ Log:the JIT doesn't like the casts from FUNCPTR to VOIDP, so hide this function from it diff --git a/pypy/module/hpy_universal/state.py

[pypy-commit] pypy hpy: add a script to update the _vendored directory from the hpy repo

2019-11-17 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98101:ff086c2fef83 Date: 2019-11-18 01:32 +0100 http://bitbucket.org/pypy/pypy/changeset/ff086c2fef83/ Log:add a script to update the _vendored directory from the hpy repo diff --git a/pypy/module/hpy_universal/update_vendored.sh b/pypy/module/hp

[pypy-commit] pypy hpy: make the script nicer

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98104:114766a84394 Date: 2019-11-18 11:08 +0100 http://bitbucket.org/pypy/pypy/changeset/114766a84394/ Log:make the script nicer diff --git a/pypy/module/hpy_universal/update_vendored.sh b/pypy/module/hpy_universal/update_vendored.sh --- a/pypy/m

[pypy-commit] pypy hpy: remove the test duplication: we can now reuse directly the tests which we vendored from hpy

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98108:0fee85415527 Date: 2019-11-18 12:09 +0100 http://bitbucket.org/pypy/pypy/changeset/0fee85415527/ Log:remove the test duplication: we can now reuse directly the tests which we vendored from hpy diff --git a/pypy/module/hpy_universal/t

[pypy-commit] pypy hpy: reduce code duplication and reuse most of the logic which is already in support.py

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98107:be9be5d98bb9 Date: 2019-11-18 11:37 +0100 http://bitbucket.org/pypy/pypy/changeset/be9be5d98bb9/ Log:reduce code duplication and reuse most of the logic which is already in support.py diff --git a/pypy/module/hpy_universal/test/suppo

[pypy-commit] pypy hpy: move the _vendored directory one level up and reorganize things until tests pass again

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98102:c385bc205649 Date: 2019-11-18 09:17 +0100 http://bitbucket.org/pypy/pypy/changeset/c385bc205649/ Log:move the _vendored directory one level up and reorganize things until tests pass again diff --git a/pypy/module/hpy_universal/test/_

[pypy-commit] pypy hpy: we no longer need the FakeSpec, we can call hpy_universal.load directly now

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98106:2f6fc739e150 Date: 2019-11-18 11:13 +0100 http://bitbucket.org/pypy/pypy/changeset/2f6fc739e150/ Log:we no longer need the FakeSpec, we can call hpy_universal.load directly now diff --git a/pypy/module/hpy_universal/test/support.py

[pypy-commit] pypy hpy: update support.py to the git hpy revision 48d7fda

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98105:e24f375edf83 Date: 2019-11-18 11:10 +0100 http://bitbucket.org/pypy/pypy/changeset/e24f375edf83/ Log:update support.py to the git hpy revision 48d7fda diff --git a/pypy/module/hpy_universal/_vendored/test/support.py b/pypy/module/hpy_univer

[pypy-commit] pypy hpy: update the script with the new location

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98103:5b07516b0134 Date: 2019-11-18 10:56 +0100 http://bitbucket.org/pypy/pypy/changeset/5b07516b0134/ Log:update the script with the new location diff --git a/pypy/module/hpy_universal/update_vendored.sh b/pypy/module/hpy_universal/update_vendor

[pypy-commit] pypy hpy: (antocuni, arigo): add a passing test which we needed to convince ourselves that you can raise exceptions from within llhelper()ed functions

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98114:3a384fd65d2e Date: 2019-11-18 15:27 +0100 http://bitbucket.org/pypy/pypy/changeset/3a384fd65d2e/ Log:(antocuni, arigo): add a passing test which we needed to convince ourselves that you can raise exceptions from within llhelper()ed

[pypy-commit] pypy hpy: (antocuni, arigo) WIP implementing test_exception

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98116:120fbccc3422 Date: 2019-11-18 18:07 +0100 http://bitbucket.org/pypy/pypy/changeset/120fbccc3422/ Log:(antocuni, arigo) WIP implementing test_exception this mostly works already. However, if you raise an exception which is

[pypy-commit] pypy hpy: update to pyhandle/hpy c8ddac3

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98115:84c205b54510 Date: 2019-11-18 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/84c205b54510/ Log:update to pyhandle/hpy c8ddac3 diff --git a/pypy/module/hpy_universal/_vendored/include/cpython/hpy.h b/pypy/module/hpy_universal/_vendored

[pypy-commit] pypy hpy: introduce a new decorator @llhelper_can_raise and use it to fix test_exception

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98120:87553600e78a Date: 2019-11-18 23:24 +0100 http://bitbucket.org/pypy/pypy/changeset/87553600e78a/ Log:introduce a new decorator @llhelper_can_raise and use it to fix test_exception diff --git a/pypy/module/hpy_universal/interp_hpy.py

[pypy-commit] pypy hpy: remove the error argument from @apifunc. It was unused and we decided to use a different approach for exceptions anyway

2019-11-18 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98121:5c9a3fd99fc7 Date: 2019-11-18 23:28 +0100 http://bitbucket.org/pypy/pypy/changeset/5c9a3fd99fc7/ Log:remove the error argument from @apifunc. It was unused and we decided to use a different approach for exceptions anyway diff --git a

[pypy-commit] pypy hpy: This checkin might win the prize for the highest amount of XXXs/lines of code:

2019-11-19 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98123:f9c2cfcfaafa Date: 2019-11-19 11:48 +0100 http://bitbucket.org/pypy/pypy/changeset/f9c2cfcfaafa/ Log:This checkin might win the prize for the highest amount of XXXs/lines of code: it needs a deep review, please :) Fix W_Exten

[pypy-commit] pypy hpy: extend checkmodule to be able to invoke the C compiler if requested. Use the new functionality to test hpy_universal translation, which currently fails during the C compilation

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98126:c427e9f459bf Date: 2019-11-21 15:51 +0100 http://bitbucket.org/pypy/pypy/changeset/c427e9f459bf/ Log:extend checkmodule to be able to invoke the C compiler if requested. Use the new functionality to test hpy_universal translation, whi

[pypy-commit] pypy hpy: fix test_handles, which now requires a more capable fake space

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98127:b848790a2adb Date: 2019-11-21 16:06 +0100 http://bitbucket.org/pypy/pypy/changeset/b848790a2adb/ Log:fix test_handles, which now requires a more capable fake space diff --git a/pypy/module/hpy_universal/test/test_handles.py b/pypy/module/hp

[pypy-commit] pypy hpy: introduce HPyS_real, which is the actualy C struct used to represent handles in C, and use it in the definition of HPyContextS. This fixes test_ztranslation, and hopefully the

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98128:60cbdc3bb88a Date: 2019-11-21 16:28 +0100 http://bitbucket.org/pypy/pypy/changeset/60cbdc3bb88a/ Log:introduce HPyS_real, which is the actualy C struct used to represent handles in C, and use it in the definition of HPyContextS. This

[pypy-commit] pypy hpy: silence a gcc warning

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98132:b4cd0dba403c Date: 2019-11-21 18:27 +0100 http://bitbucket.org/pypy/pypy/changeset/b4cd0dba403c/ Log:silence a gcc warning diff --git a/pypy/module/hpy_universal/state.py b/pypy/module/hpy_universal/state.py --- a/pypy/module/hpy_universal/

[pypy-commit] pypy hpy-ctypespace: try to use cpyext's CTypeSpace to declare some of the types needed by hpy. Hopefully, this will make things clearer and potentially will reduce code duplication with

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98133:fbcf93255972 Date: 2019-11-21 18:38 +0100 http://bitbucket.org/pypy/pypy/changeset/fbcf93255972/ Log:try to use cpyext's CTypeSpace to declare some of the types needed by hpy. Hopefully, this will make things clearer and po

[pypy-commit] pypy hpy-ctypespace: bah, typo

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98134:d788317a107f Date: 2019-11-21 18:56 +0100 http://bitbucket.org/pypy/pypy/changeset/d788317a107f/ Log:bah, typo diff --git a/pypy/module/hpy_universal/llapi.py b/pypy/module/hpy_universal/llapi.py --- a/pypy/module/hpy_universal/l

[pypy-commit] pypy hpy-ctypespace: merge from hpy

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98136:f88d90878e29 Date: 2019-11-21 19:24 +0100 http://bitbucket.org/pypy/pypy/changeset/f88d90878e29/ Log:merge from hpy diff --git a/pypy/module/hpy_universal/llapi.py b/pypy/module/hpy_universal/llapi.py --- a/pypy/module/hpy_univer

[pypy-commit] pypy hpy: I'm not sure exactly what's happening, but with the double cast we end up with a global array inside ctx->ctx_Arg_Parse; doing this seems to solve the issue

2019-11-21 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98135:160e0b8f64a1 Date: 2019-11-21 19:24 +0100 http://bitbucket.org/pypy/pypy/changeset/160e0b8f64a1/ Log:I'm not sure exactly what's happening, but with the double cast we end up with a global array inside ctx->ctx_Arg_Parse; doing this

[pypy-commit] pypy hpy-ctypespace: move the typefef HPyInitFunc into cts; I removed the 'Ptr' from it to follow CPython convention (e.g., PyCFunction). In order to make it working, I had to move the H

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98138:c00a74b4ddb9 Date: 2019-11-21 19:37 +0100 http://bitbucket.org/pypy/pypy/changeset/c00a74b4ddb9/ Log:move the typefef HPyInitFunc into cts; I removed the 'Ptr' from it to follow CPython convention (e.g., PyCFunction). In or

[pypy-commit] pypy hpy-ctypespace: move more types into cts

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98139:86cbe337bc16 Date: 2019-11-22 11:21 +0100 http://bitbucket.org/pypy/pypy/changeset/86cbe337bc16/ Log:move more types into cts diff --git a/pypy/module/hpy_universal/interp_extfunc.py b/pypy/module/hpy_universal/interp_extfunc.py

[pypy-commit] pypy hpy-ctypespace: fix translation again: we need a way to convince gcc that our notion of _struct_HPy_s is the same as its

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98142:79350cb71de6 Date: 2019-11-22 17:16 +0100 http://bitbucket.org/pypy/pypy/changeset/79350cb71de6/ Log:fix translation again: we need a way to convince gcc that our notion of _struct_HPy_s is the same as its diff --git a/pyp

[pypy-commit] pypy hpy-ctypespace: Introduce rffi.constcharp2str, and improve the repr of low-level array

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98140:a8819c541390 Date: 2019-11-22 12:06 +0100 http://bitbucket.org/pypy/pypy/changeset/a8819c541390/ Log:Introduce rffi.constcharp2str, and improve the repr of low-level array types. Previously, you got annotation erro

[pypy-commit] pypy hpy-ctypespace: move the last type definition into cts

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98143:3f52349a3cfd Date: 2019-11-22 17:22 +0100 http://bitbucket.org/pypy/pypy/changeset/3f52349a3cfd/ Log:move the last type definition into cts diff --git a/pypy/module/hpy_universal/llapi.py b/pypy/module/hpy_universal/llapi.py ---

[pypy-commit] pypy hpy-ctypespace: use the new rffi.constcharp2str to match the lltype of these fields

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98141:3915c72fffc4 Date: 2019-11-22 15:13 +0100 http://bitbucket.org/pypy/pypy/changeset/3915c72fffc4/ Log:use the new rffi.constcharp2str to match the lltype of these fields diff --git a/pypy/module/hpy_universal/interp_extfunc.py b/p

[pypy-commit] pypy hpy: resolve an XXX and use the proper way to include src/getargs.c as a separate compiled module

2019-11-22 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98147:05f41db32719 Date: 2019-11-23 01:08 +0100 http://bitbucket.org/pypy/pypy/changeset/05f41db32719/ Log:resolve an XXX and use the proper way to include src/getargs.c as a separate compiled module diff --git a/pypy/module/hpy_universal/

[pypy-commit] pypy hpy-ctypespace: fix these two tests which were failing after the change of the repr

2019-11-23 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98151:be27c10c92d1 Date: 2019-11-23 12:06 +0100 http://bitbucket.org/pypy/pypy/changeset/be27c10c92d1/ Log:fix these two tests which were failing after the change of the repr diff --git a/rpython/jit/backend/llsupport/test/test_descr.py

[pypy-commit] pypy hpy-ctypespace: close branch which will be merged into hpy

2019-11-27 Thread antocuni
Author: Antonio Cuni Branch: hpy-ctypespace Changeset: r98163:ed73b0a1ed73 Date: 2019-11-28 01:11 +0100 http://bitbucket.org/pypy/pypy/changeset/ed73b0a1ed73/ Log:close branch which will be merged into hpy ___ pypy-commit mailing list pypy-commit@p

[pypy-commit] pypy hpy: Merge branch hpy-ctypespace. Use CTypeSpace to declare HPy types

2019-11-27 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98164:3239497d9665 Date: 2019-11-28 01:17 +0100 http://bitbucket.org/pypy/pypy/changeset/3239497d9665/ Log:Merge branch hpy-ctypespace. Use CTypeSpace to declare HPy types I think that the final result is much easier to read and to manage.

[pypy-commit] pypy hpy: fix translation for the part which was broken by 64a75c77d1cc. Translation is still broken because of other problems though, will be fixed later

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98172:961b3a276537 Date: 2019-11-28 12:16 +0100 http://bitbucket.org/pypy/pypy/changeset/961b3a276537/ Log:fix translation for the part which was broken by 64a75c77d1cc. Translation is still broken because of other problems though, will

[pypy-commit] pypy hpy: update the support machinery to take the new argument extra_templates; add test files for all the new hpy tests. Update the type declaration of HPyContext_s

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98166:cf17a3d5456f Date: 2019-11-28 01:45 +0100 http://bitbucket.org/pypy/pypy/changeset/cf17a3d5456f/ Log:update the support machinery to take the new argument extra_templates; add test files for all the new hpy tests. Update the t

[pypy-commit] pypy hpy: use the updated values for HPy_METH_*

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98167:e2ab328b16a8 Date: 2019-11-28 10:52 +0100 http://bitbucket.org/pypy/pypy/changeset/e2ab328b16a8/ Log:use the updated values for HPy_METH_* diff --git a/pypy/module/hpy_universal/interp_extfunc.py b/pypy/module/hpy_universal/interp_extfunc.p

[pypy-commit] pypy hpy: update hpy_universal/_vendored to git revision 2129945

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98165:988d96254bec Date: 2019-11-28 01:20 +0100 http://bitbucket.org/pypy/pypy/changeset/988d96254bec/ Log:update hpy_universal/_vendored to git revision 2129945 diff --git a/pypy/module/hpy_universal/_vendored/include/common/autogen_impl.h b/pyp

[pypy-commit] pypy hpy: add one more builtin singleton

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98168:d8aab0b1b105 Date: 2019-11-28 10:54 +0100 http://bitbucket.org/pypy/pypy/changeset/d8aab0b1b105/ Log:add one more builtin singleton diff --git a/pypy/module/hpy_universal/handles.py b/pypy/module/hpy_universal/handles.py --- a/pypy/module/h

<    4   5   6   7   8   9   10   11   12   13   >