[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4] 3 commits: remove trailing whitespace

2022-09-26 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4 at PyPy / pypy Commits: d9eb950b by Antonio Cuni at 2022-08-07T12:50:53+02:00 remove trailing whitespace --HG-- branch : hpy-0.0.4 - - - - - 51753460 by Antonio Cuni at 2022-09-23T16:20:29+02:00 (cfbolz, antocuni): move the loop outside def

[pypy-commit] [Git][pypy/extradoc][branch/extradoc] update my dates

2022-08-18 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/extradoc at PyPy / extradoc Commits: 2135624a by Antonio Cuni at 2022-08-18T11:45:59+02:00 update my dates --HG-- branch : extradoc - - - - - 1 changed file: - sprintinfo/ddorf2022/people.txt View it on Heptapod:

[pypy-commit] [Git][pypy/extradoc][branch/extradoc] add myself

2022-07-29 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/extradoc at PyPy / extradoc Commits: 1976423f by Antonio Cuni at 2022-07-29T11:31:20+02:00 add myself --HG-- branch : extradoc - - - - - 1 changed file: - sprintinfo/ddorf2022/people.txt View it on Heptapod:

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4] 2 commits: fix this

2022-07-01 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4 at PyPy / pypy Commits: 357943e4 by Antonio Cuni at 2022-06-30T22:29:59+01:00 fix this --HG-- branch : hpy-0.0.4 - - - - - 698f47c2 by Antonio Cuni at 2022-07-01T13:10:54+01:00 fix JIT translation, and add two comments for the future --HG--

[pypy-commit] [Git][pypy/pypy][branch/py3.8] 3 commits: make it possible to skip the collect analyzer when defining a custom gc trace function

2022-06-30 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/py3.8 at PyPy / pypy Commits: caab6b60 by Antonio Cuni at 2022-06-23T14:40:34+01:00 make it possible to skip the collect analyzer when defining a custom gc trace function - - - - - e5ef72d3 by Antonio Cuni at 2022-06-30T16:14:08+01:00 hg merge default

[pypy-commit] [Git][pypy/pypy][branch/default] 2 commits: make it possible to skip the collect analyzer when defining a custom gc trace function

2022-06-30 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/default at PyPy / pypy Commits: caab6b60 by Antonio Cuni at 2022-06-23T14:40:34+01:00 make it possible to skip the collect analyzer when defining a custom gc trace function - - - - - bd63c59c by Antonio Cuni at 2022-06-30T16:33:19+01:00 merge heads - - -

[pypy-commit] [Git][pypy/pypy] Deleted branch branch/hpy-0.0.4-hpyfields

2022-06-30 Thread Antonio Cuni (@antocuni)
Antonio Cuni deleted branch branch/hpy-0.0.4-hpyfields at PyPy / pypy -- You're receiving this email because of your account on foss.heptapod.net. ___ pypy-commit mailing list -- pypy-commit@python.org To unsubscribe send an email to

[pypy-commit] [Git][pypy/pypy][branch/py3.8] 22 commits: add a counter that shows how often a virtualizable is forced

2022-06-29 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/py3.8 at PyPy / pypy Commits: 7590e1ed by Carl Friedrich Bolz-Tereick at 2022-06-11T17:54:21+02:00 add a counter that shows how often a virtualizable is forced (this is somewhat experimental, because I think it also counts every blackhole use, so might need

[pypy-commit] [Git][pypy/pypy][branch/default] 15 commits: The final goal l of this branch is to ensure that we can use

2022-06-29 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/default at PyPy / pypy Commits: f99c9092 by Antonio Cuni at 2022-06-19T17:28:46+01:00 The final goal l of this branch is to ensure that we can use @specialize.memo(on callbacks which are passed to rgc.register_custom_trace_hook. The firfirst step is to

[pypy-commit] [Git][pypy/pypy] Deleted branch branch/gc-custom-trace-memo

2022-06-28 Thread Antonio Cuni (@antocuni)
Antonio Cuni deleted branch branch/gc-custom-trace-memo at PyPy / pypy -- You're receiving this email because of your account on foss.heptapod.net. ___ pypy-commit mailing list -- pypy-commit@python.org To unsubscribe send an email to

[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/gc-custom-trace-memo-on-default

2022-06-28 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed new branch branch/gc-custom-trace-memo-on-default at PyPy / pypy -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/tree/branch/gc-custom-trace-memo-on-default You're receiving this email because of your account on foss.heptapod.net.

[pypy-commit] [Git][pypy/pypy][branch/gc-custom-trace-memo] make sure to always inline the callback inside the specialized gc.trace...

2022-06-24 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/gc-custom-trace-memo at PyPy / pypy Commits: 698189c9 by Antonio Cuni at 2022-06-24T16:46:35+01:00 make sure to always inline the callback inside the specialized gc.trace functions. This is essential for minor collections, else we do an unnecessary call

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4-hpyfields] revert these unintended changes

2022-06-23 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4-hpyfields at PyPy / pypy Commits: a6cb6768 by Antonio Cuni at 2022-06-23T16:29:31+01:00 revert these unintended changes --HG-- branch : hpy-0.0.4-hpyfields - - - - - 3 changed files: -

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4-hpyfields] 2 commits: make it possible to skip the collect analyzer when defining a custom gc trace function

2022-06-23 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4-hpyfields at PyPy / pypy Commits: 026f9057 by Antonio Cuni at 2022-06-23T14:40:34+01:00 make it possible to skip the collect analyzer when defining a custom gc trace function --HG-- branch : hpy-0.0.4-hpyfields - - - - - 7e51ab6f by Antonio

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4-hpyfields] 14 commits: The final goal l of this branch is to ensure that we can use

2022-06-21 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4-hpyfields at PyPy / pypy Commits: 2ac17f4f by Antonio Cuni at 2022-06-19T17:28:46+01:00 The final goal l of this branch is to ensure that we can use @specialize.memo(on callbacks which are passed to rgc.register_custom_trace_hook. The firfirst

[pypy-commit] [Git][pypy/pypy][branch/gc-custom-trace-memo] fix test_gcreftracer

2022-06-20 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/gc-custom-trace-memo at PyPy / pypy Commits: 051f619e by Antonio Cuni at 2022-06-20T14:14:41+01:00 fix test_gcreftracer --HG-- branch : gc-custom-trace-memo - - - - - 1 changed file: - rpython/jit/backend/llsupport/test/test_gcreftracer.py View it on

[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/gc-custom-trace-memo

2022-06-20 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed new branch branch/gc-custom-trace-memo at PyPy / pypy -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/tree/branch/gc-custom-trace-memo You're receiving this email because of your account on foss.heptapod.net. ___

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4-hpyfields] 2 commits: handle the case HPyField_Store(..., HPy_NULL)

2022-05-20 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4-hpyfields at PyPy / pypy Commits: 7ca39e34 by Antonio Cuni at 2022-05-17T14:30:46+01:00 handle the case HPyField_Store(..., HPy_NULL) --HG-- branch : hpy-0.0.4-hpyfields - - - - - 431e466c by Antonio Cuni at 2022-05-19T09:06:20+01:00 refactor

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4-hpyfields] 2 commits: WIP: implement HPyField_{Load,Store}

2022-05-05 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4-hpyfields at PyPy / pypy Commits: 09943367 by Antonio Cuni at 2022-05-05T17:39:56+02:00 WIP: implement HPyField_{Load,Store} --HG-- branch : hpy-0.0.4-hpyfields - - - - - 2a966262 by Antonio Cuni at 2022-05-05T16:57:32+01:00 missing import

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.4-hpyfields] 2 commits: add support for tp_traverse, only for the untranslated case for now

2022-05-04 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.4-hpyfields at PyPy / pypy Commits: b1f70aa5 by Antonio Cuni at 2022-05-04T15:02:28+02:00 add support for tp_traverse, only for the untranslated case for now --HG-- branch : hpy-0.0.4-hpyfields - - - - - a65a4fa8 by Antonio Cuni at

[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/hpy-0.0.4-hpyfields

2022-05-03 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed new branch branch/hpy-0.0.4-hpyfields at PyPy / pypy -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/tree/branch/hpy-0.0.4-hpyfields You're receiving this email because of your account on foss.heptapod.net. ___

[pypy-commit] [Git][pypy/pypy][branch/py3.7] 9 commits: ./update_vendored.sh to hpy git rev 5eb6b8b

2021-07-15 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/py3.7 at PyPy / pypy Commits: 6028132b by Antonio Cuni at 2021-07-06T14:18:59+01:00 ./update_vendored.sh to hpy git rev 5eb6b8b --HG-- branch : hpy-0.0.2 - - - - - bd2a5de8 by Antonio Cuni at 2021-07-06T16:26:58+01:00 import update_vendored so that it

[pypy-commit] [Git][pypy/pypy] Deleted branch branch/hpy-0.0.2

2021-07-15 Thread Antonio Cuni (@antocuni)
Antonio Cuni deleted branch branch/hpy-0.0.2 at PyPy / pypy -- You're receiving this email because of your account on foss.heptapod.net. ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.2] 3 commits: fix update_vendored, now the package is called 'hpy' instead of 'hpy.devel'

2021-07-08 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.2 at PyPy / pypy Commits: 38818932 by Antonio Cuni at 2021-07-08T21:54:14+01:00 fix update_vendored, now the package is called hpy instead of hpy.devel --HG-- branch : hpy-0.0.2 - - - - - dc0a6acc by Antonio Cuni at 2021-07-08T21:58:14+01:00

[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/hpy-0.0.2

2021-07-06 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed new branch branch/hpy-0.0.2 at PyPy / pypy -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/tree/branch/hpy-0.0.2 You're receiving this email because of your account on foss.heptapod.net. ___ pypy-commit mailing

[pypy-commit] [Git][pypy/pypy][branch/py3.7] 129 commits: update-vendored to commit eb07982

2021-06-25 Thread Antonio Cuni (@antocuni)
hpy-0.0.2 is too annoying, give up for now. The relevant changes are being committed to the antocuni/0.0.2-fixes-for-pypy git branch, and from now I will regularly ./update_vendored.sh from there. The most annoying thing is that now version.py and version.h contains a version called 0.0.3.devX

[pypy-commit] [Git][pypy/pypy] Deleted branch branch/hpy-0.0.2

2021-06-25 Thread Antonio Cuni (@antocuni)
Antonio Cuni deleted branch branch/hpy-0.0.2 at PyPy / pypy -- You're receiving this email because of your account on foss.heptapod.net. ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit

[pypy-commit] [Git][pypy/pypy] Deleted branch branch/hpy

2021-06-25 Thread Antonio Cuni (@antocuni)
Antonio Cuni deleted branch branch/hpy at PyPy / pypy -- You're receiving this email because of your account on foss.heptapod.net. ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.2] ./update_vendored to c9660c2

2021-06-24 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.2 at PyPy / pypy Commits: 895b3dee by Antonio Cuni at 2021-06-24T11:51:58+02:00 ./update_vendored to c9660c2 --HG-- branch : hpy-0.0.2 - - - - - 5 changed files: - lib_pypy/hpy/debug/pytest.py - lib_pypy/hpy/devel/include/common/version.h -

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.2] 5 commits: add an implementation of a Stack which you can use without allocating and/or raising exceptions

2021-06-24 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.2 at PyPy / pypy Commits: 2f40f446 by Antonio Cuni at 2021-06-23T13:40:48+01:00 add an implementation of a Stack which you can use without allocating and/or raising exceptions --HG-- branch : hpy-0.0.2-experiment - - - - - 4a106a6a by Antonio

[pypy-commit] [Git][pypy/pypy][branch/hpy-0.0.2-experiment] add comments explaining why we need to take extra care

2021-06-23 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed to branch branch/hpy-0.0.2-experiment at PyPy / pypy Commits: b4fba013 by Antonio Cuni at 2021-06-23T16:14:35+01:00 add comments explaining why we need to take extra care --HG-- branch : hpy-0.0.2-experiment - - - - - 1 changed file: -

[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/hpy-0.0.2-experiment

2021-06-23 Thread Antonio Cuni (@antocuni)
Antonio Cuni pushed new branch branch/hpy-0.0.2-experiment at PyPy / pypy -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/tree/branch/hpy-0.0.2-experiment You're receiving this email because of your account on foss.heptapod.net. ___

[pypy-commit] extradoc extradoc: fixed my dates

2020-01-24 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5984:eaf11fb88172 Date: 2020-01-24 14:01 +0100 http://bitbucket.org/pypy/extradoc/changeset/eaf11fb88172/ Log:fixed my dates diff --git a/sprintinfo/leysin-winter-2020/people.txt b/sprintinfo/leysin-winter-2020/people.txt ---

[pypy-commit] pypy hpy: implement HPyUnicode_AsUTF8String

2020-01-15 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98538:f67708ee1204 Date: 2020-01-15 11:09 +0100 http://bitbucket.org/pypy/pypy/changeset/f67708ee1204/ Log:implement HPyUnicode_AsUTF8String diff --git a/pypy/module/hpy_universal/interp_unicode.py b/pypy/module/hpy_universal/interp_unicode.py

[pypy-commit] pypy hpy: fix translation

2020-01-14 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98537:8c554d272b6a Date: 2020-01-14 23:36 + http://bitbucket.org/pypy/pypy/changeset/8c554d272b6a/ Log:fix translation diff --git a/pypy/module/hpy_universal/interp_cpy_compat.py b/pypy/module/hpy_universal/interp_cpy_compat.py ---

[pypy-commit] pypy hpy: introduce W_CPyStaticData to manage the lifetime of pymethods. Previously, the array was freed as soon as we exited the scoped_alloc(), so we ended up with W_PyCFunction refere

2020-01-14 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98536:ea75324675cd Date: 2020-01-14 19:01 +0100 http://bitbucket.org/pypy/pypy/changeset/ea75324675cd/ Log:introduce W_CPyStaticData to manage the lifetime of pymethods. Previously, the array was freed as soon as we exited the

[pypy-commit] pypy hpy: move the attach_legacy_methods logic into interp_cpy_compat, where it belongs

2020-01-14 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98535:12ac759ab903 Date: 2020-01-14 18:55 +0100 http://bitbucket.org/pypy/pypy/changeset/12ac759ab903/ Log:move the attach_legacy_methods logic into interp_cpy_compat, where it belongs diff --git

[pypy-commit] pypy hpy: hg merge py3.6

2020-01-14 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98531:b47edb1d5c11 Date: 2020-01-14 15:22 +0100 http://bitbucket.org/pypy/pypy/changeset/b47edb1d5c11/ Log:hg merge py3.6 diff too long, truncating to 2000 out of 122344 lines diff --git a/extra_tests/cffi_tests/cffi0/backend_tests.py

[pypy-commit] extradoc extradoc: fix rst

2020-01-14 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5975:b86ad5543fec Date: 2020-01-14 11:33 +0100 http://bitbucket.org/pypy/extradoc/changeset/b86ad5543fec/ Log:fix rst diff --git a/blog/draft/2019-12-hpy-sprint.rst b/blog/draft/2019-12-hpy-sprint.rst --- a/blog/draft/2019-12-hpy-sprint.rst

[pypy-commit] extradoc extradoc: add myself

2020-01-14 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5976:c7f49c18f76c Date: 2020-01-14 11:33 +0100 http://bitbucket.org/pypy/extradoc/changeset/c7f49c18f76c/ Log:add myself diff --git a/sprintinfo/leysin-winter-2020/people.txt b/sprintinfo/leysin-winter-2020/people.txt ---

[pypy-commit] pypy hpy: try a translation fix

2020-01-10 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98521:a8d815f56da1 Date: 2020-01-10 21:50 +0100 http://bitbucket.org/pypy/pypy/changeset/a8d815f56da1/ Log:try a translation fix diff --git a/pypy/module/hpy_universal/interp_module.py b/pypy/module/hpy_universal/interp_module.py ---

[pypy-commit] pypy dummy-importlib2: close this branch as well: it turns out that the slowdown is NOT caused by _frozen_importlib itself, but by the fact that cpyext tests end up importing half of the

2020-01-10 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98520:e55f99d3fe5a Date: 2019-12-23 16:06 + http://bitbucket.org/pypy/pypy/changeset/e55f99d3fe5a/ Log:close this branch as well: it turns out that the slowdown is NOT caused by _frozen_importlib itself, but by the fact

[pypy-commit] pypy hpy: add support for legacy methods using the old C-API calling convention, which are wrapped through the cpyext machinery; test_cpy_compat now fully passes :)

2020-01-10 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98519:bbc0f966d0be Date: 2020-01-10 21:27 +0100 http://bitbucket.org/pypy/pypy/changeset/bbc0f966d0be/ Log:add support for legacy methods using the old C-API calling convention, which are wrapped through the cpyext machinery;

[pypy-commit] pypy py3.6: merge the cpyext-speedup-tests-py36 branch, which greatly spees up running cpyext tests, especially if you run them one at a time, up to 4x faster than before :)

2019-12-24 Thread antocuni
Author: Antonio Cuni Branch: py3.6 Changeset: r98384:98474e851cf8 Date: 2019-12-24 14:11 +0100 http://bitbucket.org/pypy/pypy/changeset/98474e851cf8/ Log:merge the cpyext-speedup-tests-py36 branch, which greatly spees up running cpyext tests, especially if you run them one at a time,

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

2019-12-24 Thread antocuni
Author: Antonio Cuni Branch: py3.6 Changeset: r98382:4af6d07b98ee Date: 2019-12-24 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/4af6d07b98ee/ Log:hg merge default diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -66,3 +66,7 @@ c124c11a5921bf12797b08a696753a12ae82595a

[pypy-commit] pypy py3.6: document this branch

2019-12-24 Thread antocuni
Author: Antonio Cuni Branch: py3.6 Changeset: r98385:ead9a40f22ed Date: 2019-12-24 14:13 +0100 http://bitbucket.org/pypy/pypy/changeset/ead9a40f22ed/ Log:document this branch diff --git a/pypy/doc/whatsnew-pypy3-head.rst b/pypy/doc/whatsnew-pypy3-head.rst ---

[pypy-commit] pypy cpyext-speedup-tests-py36: close branch to be merged

2019-12-24 Thread antocuni
Author: Antonio Cuni Branch: cpyext-speedup-tests-py36 Changeset: r98383:8098a1266abb Date: 2019-12-24 12:18 +0100 http://bitbucket.org/pypy/pypy/changeset/8098a1266abb/ Log:close branch to be merged ___ pypy-commit mailing list

[pypy-commit] pypy cpyext-speedup-tests: close branch to be merged

2019-12-23 Thread antocuni
Author: Antonio Cuni Branch: cpyext-speedup-tests Changeset: r98373:c420cfb6c3d4 Date: 2019-12-23 19:16 +0100 http://bitbucket.org/pypy/pypy/changeset/c420cfb6c3d4/ Log:close branch to be merged ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy default: merge this branch to speedup cpyext tests, especially on py3.6

2019-12-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r98374:3bb3cd0a3643 Date: 2019-12-23 19:17 +0100 http://bitbucket.org/pypy/pypy/changeset/3bb3cd0a3643/ Log:merge this branch to speedup cpyext tests, especially on py3.6 diff --git a/lib-python/2.7/pickle.py b/lib-python/2.7/pickle.py ---

[pypy-commit] pypy cpyext-speedup-tests: use __code__ to be reduce the diff with py3.6

2019-12-23 Thread antocuni
Author: Antonio Cuni Branch: cpyext-speedup-tests Changeset: r98368:64ffef8c26a7 Date: 2019-12-23 19:03 +0100 http://bitbucket.org/pypy/pypy/changeset/64ffef8c26a7/ Log:use __code__ to be reduce the diff with py3.6 diff --git a/pypy/module/cpyext/test/test_cpyext.py

[pypy-commit] pypy cpyext-speedup-tests: missing import

2019-12-23 Thread antocuni
Author: Antonio Cuni Branch: cpyext-speedup-tests Changeset: r98367:7171a0719fdb Date: 2019-12-23 18:50 +0100 http://bitbucket.org/pypy/pypy/changeset/7171a0719fdb/ Log:missing import diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py ---

[pypy-commit] pypy dummy-importlib: tweaks

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib Changeset: r98333:0deaee5041b4 Date: 2019-12-19 14:12 +0100 http://bitbucket.org/pypy/pypy/changeset/0deaee5041b4/ Log:tweaks diff --git a/pypy/module/_dummy_importlib/interp_import.py b/pypy/module/_dummy_importlib/interp_import.py ---

[pypy-commit] pypy dummy-importlib2: WIP: remove this file

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98339:fdb244352422 Date: 2019-12-20 01:05 +0100 http://bitbucket.org/pypy/pypy/changeset/fdb244352422/ Log:WIP: remove this file diff --git a/pypy/module/_dummy_importlib/interp_import.py

[pypy-commit] pypy dummy-importlib2: copy the content of pypy/module/imp/importing.py from default (rev 2e8c4536e416)

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98340:e566fbc85941 Date: 2019-12-20 01:07 +0100 http://bitbucket.org/pypy/pypy/changeset/e566fbc85941/ Log:copy the content of pypy/module/imp/importing.py from default (rev 2e8c4536e416) diff --git

[pypy-commit] pypy dummy-importlib: close dead branch

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib Changeset: r98343:348abe425ff2 Date: 2019-12-20 01:36 +0100 http://bitbucket.org/pypy/pypy/changeset/348abe425ff2/ Log:close dead branch ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy dummy-importlib2: tweak the code until it works: remove the references to lonepycfiles and make MODULES_THAT_ALWAYS_SHADOW a global var since it's no longer on the space

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98341:37239125314a Date: 2019-12-20 01:19 +0100 http://bitbucket.org/pypy/pypy/changeset/37239125314a/ Log:tweak the code until it works: remove the references to lonepycfiles and make MODULES_THAT_ALWAYS_SHADOW a global var

[pypy-commit] pypy dummy-importlib: make it possible to use __import__ directly, and use a dummy package to run tests instead of trying to import more expensive ones

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib Changeset: r98332:c37f7da0a5ee Date: 2019-12-19 11:23 +0100 http://bitbucket.org/pypy/pypy/changeset/c37f7da0a5ee/ Log:make it possible to use __import__ directly, and use a dummy package to run tests instead of trying to import more

[pypy-commit] pypy dummy-importlib: add enough logic to import packages and modules inside packages

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib Changeset: r98334:98132b9252a9 Date: 2019-12-19 14:47 +0100 http://bitbucket.org/pypy/pypy/changeset/98132b9252a9/ Log:add enough logic to import packages and modules inside packages diff --git a/pypy/module/_dummy_importlib/interp_import.py

[pypy-commit] pypy dummy-importlib2: start a branch in which to introduce a _dummy_importlib module: currently, all applevel tests use _frozen_importlib for importing, but since it is written at apple

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98337:ad9feca07a5b Date: 2019-12-18 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/ad9feca07a5b/ Log:start a branch in which to introduce a _dummy_importlib module: currently, all applevel tests use _frozen_importlib for

[pypy-commit] pypy dummy-importlib: import submodules with from ... import

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib Changeset: r98335:bc01efbafe27 Date: 2019-12-19 15:39 +0100 http://bitbucket.org/pypy/pypy/changeset/bc01efbafe27/ Log:import submodules with from ... import diff --git a/pypy/module/_dummy_importlib/interp_import.py

[pypy-commit] pypy dummy-importlib2: fix comment

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98338:5e84006ee933 Date: 2019-12-20 01:03 +0100 http://bitbucket.org/pypy/pypy/changeset/5e84006ee933/ Log:fix comment diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++

[pypy-commit] pypy dummy-importlib2: try again with another approach

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98336:8535b9830858 Date: 2019-12-20 01:02 +0100 http://bitbucket.org/pypy/pypy/changeset/8535b9830858/ Log:try again with another approach ___ pypy-commit mailing list

[pypy-commit] pypy dummy-importlib2: add a nice error message in case something goes wrong. Add tests to check that we are actually using the importlib module which we expect

2019-12-19 Thread antocuni
Author: Antonio Cuni Branch: dummy-importlib2 Changeset: r98342:3c435619e333 Date: 2019-12-20 01:36 +0100 http://bitbucket.org/pypy/pypy/changeset/3c435619e333/ Log:add a nice error message in case something goes wrong. Add tests to check that we are actually using the importlib

[pypy-commit] extradoc extradoc: finish the draft

2019-12-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5968:1634e069aabb Date: 2019-12-17 18:43 +0100 http://bitbucket.org/pypy/extradoc/changeset/1634e069aabb/ Log:finish the draft diff --git a/blog/draft/2019-12-hpy-sprint.rst b/blog/draft/2019-12-hpy-sprint.rst ---

[pypy-commit] extradoc extradoc: merge heads

2019-12-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5969:f70d7fc3055f Date: 2019-12-17 18:49 +0100 http://bitbucket.org/pypy/extradoc/changeset/f70d7fc3055f/ Log:merge heads diff --git a/blog/draft/2019-12-hpy-sprint.rst b/blog/draft/2019-12-hpy-sprint.rst ---

[pypy-commit] extradoc extradoc: start a blog post about the hpy sprint

2019-12-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5966:48e199e316c7 Date: 2019-12-17 16:41 +0100 http://bitbucket.org/pypy/extradoc/changeset/48e199e316c7/ Log:start a blog post about the hpy sprint diff --git a/blog/draft/2019-12-hpy-sprint.rst b/blog/draft/2019-12-hpy-sprint.rst new file

[pypy-commit] pypy default: Use a cache to avoid parsing the same cdecl again and again, which is done

2019-12-06 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r98242:317104f1b067 Date: 2019-12-06 16:32 +0100 http://bitbucket.org/pypy/pypy/changeset/317104f1b067/ Log:Use a cache to avoid parsing the same cdecl again and again, which is done e.g. for all the various cts.cast(...) around. On my

[pypy-commit] pypy hpy: fix translation, and make it possible to show pdb+ even when the test passes

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98218:9227c0af2212 Date: 2019-12-02 15:07 +0100 http://bitbucket.org/pypy/pypy/changeset/9227c0af2212/ Log:fix translation, and make it possible to show pdb+ even when the test passes diff --git

[pypy-commit] pypy hpy: add an option to show Pdb+ in ztranslation tests, so that it is easier to debug translation errors

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98215:e042625501a0 Date: 2019-12-02 12:24 +0100 http://bitbucket.org/pypy/pypy/changeset/e042625501a0/ Log:add an option to show Pdb+ in ztranslation tests, so that it is easier to debug translation errors diff --git

[pypy-commit] pypy hpy: fix the last bit of translation

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98213:4063b6b8b3f3 Date: 2019-12-02 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/4063b6b8b3f3/ Log:fix the last bit of translation diff --git a/pypy/module/hpy_universal/interp_hpy.py b/pypy/module/hpy_universal/interp_hpy.py ---

[pypy-commit] pypy hpy: translation fix

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98210:e716d29bf67d Date: 2019-12-01 11:54 +0100 http://bitbucket.org/pypy/pypy/changeset/e716d29bf67d/ Log:translation fix diff --git a/pypy/module/hpy_universal/interp_module.py b/pypy/module/hpy_universal/interp_module.py ---

[pypy-commit] pypy hpy: finally fix hpy_universa:test_ztranslation: we need to ensure that the annotator sees some concrete implementation of W_DictMultiObject, else it only sees the base class which

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98214:4aa8318c0c07 Date: 2019-12-02 12:23 +0100 http://bitbucket.org/pypy/pypy/changeset/4aa8318c0c07/ Log:finally fix hpy_universa:test_ztranslation: we need to ensure that the annotator sees some concrete implementation of

[pypy-commit] pypy hpy: progress towards making test_ztranslation working again: these changes are needed to that functions inside hpy_universal.interp_list are annotated correctly, because they do 'a

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98212:121bac5f857c Date: 2019-12-02 10:46 +0100 http://bitbucket.org/pypy/pypy/changeset/121bac5f857c/ Log:progress towards making test_ztranslation working again: these changes are needed to that functions inside

[pypy-commit] pypy hpy: some progress in fixing test_ztranslation, which includes improving the fake objspace

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98208:abdeda0fd3c6 Date: 2019-11-29 21:37 +0100 http://bitbucket.org/pypy/pypy/changeset/abdeda0fd3c6/ Log:some progress in fixing test_ztranslation, which includes improving the fake objspace diff --git

[pypy-commit] pypy hpy: update_vendored to e481b58; this change was made in the hpy-ctypespace branch but needed to be ported to pyhandle/hpy and properly vendored

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98209:b1e1f0479f6b Date: 2019-12-01 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/b1e1f0479f6b/ Log:update_vendored to e481b58; this change was made in the hpy- ctypespace branch but needed to be ported to pyhandle/hpy and

[pypy-commit] pypy hpy: give a better name to this helper, it makes it much easier to debug translation errors

2019-12-02 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98211:987c3b5d033e Date: 2019-12-01 12:08 +0100 http://bitbucket.org/pypy/pypy/changeset/987c3b5d033e/ Log:give a better name to this helper, it makes it much easier to debug translation errors diff --git

[pypy-commit] pypy hpy: implement make_module(..., extra_sources=...)

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98170:95a38a6798b3 Date: 2019-11-28 11:10 +0100 http://bitbucket.org/pypy/pypy/changeset/95a38a6798b3/ Log:implement make_module(..., extra_sources=...) diff --git a/pypy/module/hpy_universal/test/support.py

[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 ---

[pypy-commit] pypy hpy: finally! Collect all the api functions automatically and stick them into the context. We need to make this RPython, though

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98171:64a75c77d1cc Date: 2019-11-28 11:52 +0100 http://bitbucket.org/pypy/pypy/changeset/64a75c77d1cc/ Log:finally! Collect all the api functions automatically and stick them into the context. We need to make this RPython, though diff

[pypy-commit] pypy hpy: update to pyhandle/hpy 2aec7ae

2019-11-28 Thread antocuni
Author: Antonio Cuni Branch: hpy Changeset: r98169:88722810d26d Date: 2019-11-28 11:10 +0100 http://bitbucket.org/pypy/pypy/changeset/88722810d26d/ Log:update to pyhandle/hpy 2aec7ae diff --git a/pypy/module/hpy_universal/_vendored/test/support.py

[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

[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

[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

[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

[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] 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

[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

[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

[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

[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

[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: 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

[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: 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 ---

[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 ---

[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

[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 ---

[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

  1   2   3   4   5   6   7   8   9   10   >