-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
gh-111835: Add seekable method to mmap.mmap #111852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4bac18a
gh-111835: Add seekable method to mmap.mmap
corona10 7e69d94
Add whats news
corona10 ebc837d
Update mmap.rst
corona10 d699f98
gh-111835: Add seekable method to mmap.mmap
corona10 c56a810
Add whats news
corona10 9748be9
Update mmap.rst
corona10 8a12113
Merge branch 'main' into gh-111835
corona10 9021e4e
Address Victor's review
corona10 1b8d6cc
Merge remote-tracking branch 'origin/gh-111835' into gh-111835
corona10 fa01823
Update mmap.seek() to return the current position
corona10 db9387e
Update documentation
corona10 08e9966
Remove white space
corona10 d576c8c
Add credit
corona10 0ed19e4
Update credit
corona10 55f47cb
Use PyLong_FromSsize_t
corona10 ff11b75
Address code review
corona10 0c4245b
Address code review
corona10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Misc/NEWS.d/next/Library/2023-11-08-23-32-03.gh-issue-111835.ufFiuW.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.seekable` method | ||
| that can be used where it requires a file-like object with seekable and | ||
| the :meth:`~mmap.mmap.seek` method return the new absolute position. | ||
| Patch by Donghee Na. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.