Refcount garbage collector build error

Hi all, This is Florin Papa from the Dynamic Scripting Languages Team at Intel Corporation. I am trying to build pypy to use the refcount garbage collector, for testing purposes. I am following the indications here [1], but the following command fails: pypy ../../rpython/bin/rpython -O2 --gc=ref targetpypystandalone with the error: [translation:ERROR] OpErrFmt: [<W_TypeObject 'exceptions.ImportError' at 0x89a68a8>: No module named _weakref] When I run pypy in interactive mode, "import _weakref" works fine. I encounter the same error if I try to use python to run the rpython script. Is the refcount garbage collector still supported? [1] http://doc.pypy.org/en/latest/config/translation.gc.html Regards, Florin

Hi Florin The refcount garbage collector is only marginally supported (as far as our tests go), it's definitely neither tested nor really supported when translated, it was always very slow for example. (and as you noticed, there is no support for weakrefs for example) On Fri, Mar 18, 2016 at 9:57 AM, Papa, Florin <florin.papa@intel.com> wrote:
Hi all,
This is Florin Papa from the Dynamic Scripting Languages Team at Intel Corporation.
I am trying to build pypy to use the refcount garbage collector, for testing purposes. I am following the indications here [1], but the following command fails:
pypy ../../rpython/bin/rpython -O2 --gc=ref targetpypystandalone
with the error:
[translation:ERROR] OpErrFmt: [<W_TypeObject ‘exceptions.ImportError’ at 0x89a68a8>: No module named _weakref]
When I run pypy in interactive mode, “import _weakref” works fine. I encounter the same error if I try to use python to run the rpython script. Is the refcount garbage collector still supported?
[1] http://doc.pypy.org/en/latest/config/translation.gc.html
Regards,
Florin
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
participants (2)
-
Maciej Fijalkowski
-
Papa, Florin