Repository navigation
Conversation
Fixes oracle#1368. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Mathieu Dupuy <deronnax@gmail.com>
|
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application. When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated. If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public. |
|
I signed the Oracle OCA, but so far it did not seem to work. |
|
Hi, @deronnax, I think the problem is that your email is not publicly visible in your github profile, so the bot cannot pair your signature with your profile |
|
Interesting. I made it publicly visible again, let's see. |
|
let's try to close and reopen, to see if it wakes the bot up. |
|
Hi @deronnax, I checked the internal API that the bot is using and it doesn't show a valid OCA for the email that is in your github profile. What email did you use in the OCA form? Is there some confirmation email or screenshot from the OCA app that you could forward to me to debug this further? |
|
Looks ok to me, I raised an internal ticket against the OCA service |

Fixes #1368.
mmap.mmapwas missing themove(dest, src, count)method.Changes
movebuiltin inMMapBuiltins, mirroring CPython'smmap_move_method:ValueError("mmap closed or invalid")on a closed map,TypeError("mmap can't modify a readonly memory map.")on anACCESS_READmap,ValueError("source, destination, or count out of range")for negative or out-of-bounds arguments.PosixSupport.mmapReadBytes/mmapWriteBytes: the copy goes through a 64 KiB buffer, chunk by chunk, backwards whendest > src, so overlapping ranges are handled.tests/test_mmap.py: the reproducer from the issue, error cases, chunked overlapping copies in both directions, and a read-only map.test.test_mmap.MmapTests.test_movefrom CPython is now tagged as passing on all platforms.Validation
b'aabcdf', like CPython.mx python-jvmbuild:mx graalpytest graalpython/com.oracle.graal.python.test/src/tests/test_mmap.py: 12 passed, 2 skipped (the Windows-only ones).mx graalpytest --tagged graalpython/lib-python/3/test/test_mmap.py: 28 passed, includingtest_move.python-unittest-gateand the tagged tests pass on linux-amd64. Note:python-svm-build-gate-linux-amd64currently fails upstream too, onmx python-check-call-host-inlining(host-inlining.txtnot found, see the CI of [GR-81685] Improvements of GetAttribute operation: new quickenings & revisit cache limits. #1369). To get past it, I disabled that check on a separate CI-only branch.🤖 Generated with Claude Code