[pypy-issue] [issue1721] Too aggressive constant folding?

INADA Naoki tracker at bugs.pypy.org
Thu Mar 27 03:14:12 CET 2014

INADA Naoki <songofacandy at gmail.com> added the comment:

The problem is large foldable constant (e.g. b'x' * (2**32)) in function not called is calculated.
This is nasty when I skip tests requires large memory.

@pytest.mark.skipif(True, reason="This test requires very larege memory")
def test_largebynary():
    x = b'x' * (2**32)

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list