On 1/29/24 09:27, CF Bolz-Tereick via pypy-dev wrote:
This test looks just wrong, in my opinion. Given that the variable name is `fff`, I think it was just meant as a check "does it roughly look like a pointer". So I think somebody just forgot that sys.maxint is not a power of 2 (and then things failed on win32 and darwin and somebody fixed it with the extra if). You can change the test to always use sys.maxint*2+1.
I went ahead and just did that change on the main branch. Cheers, CF _______________________________________________ pypy-dev mailing list -- pypy-dev@python.org To unsubscribe send an email to pypy-dev-le...@python.org https://mail.python.org/mailman3/lists/pypy-dev.python.org/ Member address: arch...@mail-archive.com