You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be encodings, which was't frozen due to the lack of support for partially frozen packages, and linecache, which is used when running in interactive mode.
@FFY00, the Raspbian buildbot fails consistently after this merge.
I can send revert PR to check if this is what breaks things. Do you have a better course of action?
Since the failure is only on the test that checks the used syscalls, I'd prefer to just adjust that test. I think it should be a fairly safe change, and we can adjust the approach afterwards when we have feedback from the experts on that area. I'll work on a PR for that.
I think the issue was simply that test.support.strace_helper.filter_memory wasn't prepared for mmap2, which is used in a code path triggered by this change. I have opened GH-148648.
Activity
pythonGH-145278: freeze encodings (partially) and linecache
GH-145278: freeze encodings (partially) and linecache (#145279)
Revert "pythonGH-145278: freeze encodings (partially) and linecache (p…
Revert "pythonGH-145278: freeze encodings (partially) and linecache (p…
Reapply "pythonGH-145278: freeze encodings (partially) and linecache (p…
gh-145278: Revert "freeze encodings (partially) and linecache (#145279)…
pythonGH-145278: freeze encodings (partially) and linecache (python#1…
pythonGH-145278: freeze encodings (partially) and linecache
GH-145278: freeze encodings (partially) and linecache (#148347)
encukou commentedon Apr 15, 2026
@FFY00, the Raspbian buildbot fails consistently after this merge.
I can send revert PR to check if this is what breaks things. Do you have a better course of action?
FFY00 commentedon Apr 16, 2026
Since the failure is only on the test that checks the used syscalls, I'd prefer to just adjust that test. I think it should be a fairly safe change, and we can adjust the approach afterwards when we have feedback from the experts on that area. I'll work on a PR for that.
pythonGH-145278: also filter mmap2 in strace_helper.filter_memory
FFY00 commentedon Apr 16, 2026
I think the issue was simply that
test.support.strace_helper.filter_memorywasn't prepared formmap2, which is used in a code path triggered by this change. I have opened GH-148648.GH-145278: also filter mmap2 in strace_helper.filter_memory (GH-148648)
pythonGH-145278: freeze encodings (partially) and linecache (python#1…
pythongh-145278: Revert "freeze encodings (partially) and linecache (p…
pythonGH-145278: freeze encodings (partially) and linecache (python#1…
pythonGH-145278: also filter mmap2 in strace_helper.filter_memory (py…
FFY00 commentedon Apr 29, 2026
This is now merge, and the CI is happy, so we can close.
gh-148750: Unfreeze encodings module to avoid import errors with zipp…
pythongh-148750: Unfreeze encodings module to avoid import errors wit…