[pypy-issue] Issue #2881: List strategies: switching to object can create more memory pressure than expected (pypy/pypy)

2018-09-04 Thread Armin Rigo
New issue 2881: List strategies: switching to object can create more memory 
pressure than expected
https://bitbucket.org/pypy/pypy/issues/2881/list-strategies-switching-to-object-can

Armin Rigo:

Here's a case where memory pressure increases much more than naively expected:

```
#! python

lst = [0] * (10**8)
lst[0] = 'X!'
```

That's because the switch to the object strategy will create 100 million new 
copies of the object ``0``, whereas on CPython the list contains 100 million 
references to the same object ``0``.


___
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue


[pypy-issue] Issue #2882: PyPy3+ numpy in a docker container with Jupyter, test errors (pypy/pypy)

2018-09-04 Thread Giovanni DG
New issue 2882: PyPy3+ numpy  in a docker container with Jupyter, test errors
https://bitbucket.org/pypy/pypy/issues/2882/pypy3-numpy-in-a-docker-container-with

Giovanni DG:

I am trying to encapsulate PyPy with numpy ina [docker container]( 
http://hub.docker.com/r/giodegas/pypy-jupyter).

I run the test with:

pytest --pyargs --continue-on-collection-errors numpy > numpy_pytest.log
 
which terminates with 

=== 9 failed, 4643 passed, 445 skipped, 9 xfailed in 1379.38 seconds 
===

I included the numpy_pytest.log


___
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue