FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-90533: Implement BytesIO.peek() by marcelm · Pull Request #30808 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-90533: Implement BytesIO.peek()
- #30808
#30808
Closed
marcelm
wants to merge 41 commits into
python:main
python/cpython:main
from
marcelm:fix-issue-46375
marcelm/cpython:fix-issue-46375
Copy head branch name to clipboard
Conversation
Commits
41
(41)
Checks
Files changed
Closed
gh-90533: Implement BytesIO.peek()
#30808
marcelm
wants to merge 41 commits into
python:main
python/cpython:main
from
marcelm:fix-issue-46375
marcelm/cpython:fix-issue-46375
Copy head branch name to clipboard
Commits
Commits on Apr 10, 2026
Implement BytesIO.peek()
marcelm
committed
b833b83
View commit details
Copy full SHA for b833b83
Browse repository at this point
📜🤖 Added by blurb_it.
blurb-it[bot]
authored and
marcelm
committed
50a2cfb
View commit details
Copy full SHA for 50a2cfb
Browse repository at this point
Document BytesIO.peek()
marcelm
committed
eaa7672
View commit details
Copy full SHA for eaa7672
Browse repository at this point
Implement with the help of read_bytes()
Show description for 00457ae
marcelm
committed
00457ae
View commit details
Copy full SHA for 00457ae
Browse repository at this point
Add to What’s New
marcelm
committed
882579d
View commit details
Copy full SHA for 882579d
Browse repository at this point
versionadded: 3.12 -> 3.13
marcelm
committed
c1eed72
View commit details
Copy full SHA for c1eed72
Browse repository at this point
Remove unused variable
marcelm
committed
afc200c
View commit details
Copy full SHA for afc200c
Browse repository at this point
Test tell() after peek()
marcelm
committed
79ab9a4
View commit details
Copy full SHA for 79ab9a4
Browse repository at this point
Update docs, factor out peek_bytes, semantics
Show description for b493914
marcelm
committed
b493914
View commit details
Copy full SHA for b493914
Browse repository at this point
Update Misc/NEWS.d/next/Library/2022-04-10-20-10-59.bpo-46375.8j1ogZ.rst
Show description for 2a1c85c
marcelm
and
erlend-aasland
committed
2a1c85c
View commit details
Copy full SHA for 2a1c85c
Browse repository at this point
Update Modules/_io/bytesio.c
Show description for d398717
marcelm
and
erlend-aasland
committed
d398717
View commit details
Copy full SHA for d398717
Browse repository at this point
Update Modules/_io/bytesio.c
Show description for 26d1e81
marcelm
and
erlend-aasland
committed
26d1e81
View commit details
Copy full SHA for 26d1e81
Browse repository at this point
Use SemBr
Show description for 9a19ff9
marcelm
and
erlend-aasland
committed
9a19ff9
View commit details
Copy full SHA for 9a19ff9
Browse repository at this point
Update Doc/whatsnew/3.13.rst
Show description for 9300ade
marcelm
and
erlend-aasland
committed
9300ade
View commit details
Copy full SHA for 9300ade
Browse repository at this point
Apply suggestions from code review
Show description for d214089
marcelm
and
vstinner
committed
d214089
View commit details
Copy full SHA for d214089
Browse repository at this point
Use a context manager around memio in test_peek
marcelm
committed
d6691b8
View commit details
Copy full SHA for d6691b8
Browse repository at this point
Add more tests for tell() after peek()
marcelm
committed
3e51adb
View commit details
Copy full SHA for 3e51adb
Browse repository at this point
Document why size < 0 can happen
marcelm
committed
3661b65
View commit details
Copy full SHA for 3661b65
Browse repository at this point
Update Modules/_io/bytesio.c
Show description for cd40d77
marcelm
and
erlend-aasland
committed
cd40d77
View commit details
Copy full SHA for cd40d77
Browse repository at this point
Do not update pos if peek_bytes failed
marcelm
committed
04372bd
View commit details
Copy full SHA for 04372bd
Browse repository at this point
Size can be negative after truncate or seek
marcelm
committed
6b9ae8c
View commit details
Copy full SHA for 6b9ae8c
Browse repository at this point
Test with size<0 and size>len(buf)
marcelm
committed
f7406f6
View commit details
Copy full SHA for f7406f6
Browse repository at this point
Test peek() after write()
marcelm
committed
d9528e2
View commit details
Copy full SHA for d9528e2
Browse repository at this point
Document BufferedReader.peek and BytesIO.peek similarly
marcelm
committed
bc8134b
View commit details
Copy full SHA for bc8134b
Browse repository at this point
Comment
marcelm
committed
b6ffca8
View commit details
Copy full SHA for b6ffca8
Browse repository at this point
Make it more explicit that size is ignored
marcelm
committed
5fe5645
View commit details
Copy full SHA for 5fe5645
Browse repository at this point
Return an empty bytes object for size=0
marcelm
committed
4126a64
View commit details
Copy full SHA for 4126a64
Browse repository at this point
Simplify
marcelm
committed
1ea40c2
View commit details
Copy full SHA for 1ea40c2
Browse repository at this point
Test peek(3) and peek(5)
marcelm
committed
77e04d6
View commit details
Copy full SHA for 77e04d6
Browse repository at this point
Run clinic.py
marcelm
committed
4d2f2dd
View commit details
Copy full SHA for 4d2f2dd
Browse repository at this point
Commits on Apr 13, 2026
Apply suggestions from code review
Show description for c16bebf
marcelm
and
vstinner
authored
c16bebf
View commit details
Copy full SHA for c16bebf
Browse repository at this point
Do not return an empty bytes object for size=0
marcelm
committed
08bd7da
View commit details
Copy full SHA for 08bd7da
Browse repository at this point
Commits on Apr 15, 2026
Decorate BytesIO.peek with `@critical_section`
marcelm
committed
6174fca
View commit details
Copy full SHA for 6174fca
Browse repository at this point
Commits on Apr 21, 2026
Test peek returns EOF after seeking to EOF
marcelm
committed
b8b8cf4
View commit details
Copy full SHA for b8b8cf4
Browse repository at this point
Free-threading test for peek
marcelm
committed
7ac914e
View commit details
Copy full SHA for 7ac914e
Browse repository at this point
Commits on Apr 27, 2026
Fix free-threading test
marcelm
committed
abbd8f0
View commit details
Copy full SHA for abbd8f0
Browse repository at this point
Commits on Apr 29, 2026
Default to size=0; cap to DEFAULT_BUFFER_SIZE
marcelm
committed
07d9e4d
View commit details
Copy full SHA for 07d9e4d
Browse repository at this point
Commits on Apr 30, 2026
Revert changes to BufferedReader.peek documentation
marcelm
committed
3d57f45
View commit details
Copy full SHA for 3d57f45
Browse repository at this point
Commits on May 1, 2026
Test peek after seek or truncate
marcelm
committed
023ad25
View commit details
Copy full SHA for 023ad25
Browse repository at this point
Merge branch 'main' into fix-issue-46375
emmatyping
authored
203749b
View commit details
Copy full SHA for 203749b
Browse repository at this point
Commits on Jun 4, 2026
Do not cap at DEFAULT_BUFFER_SIZE
marcelm
committed
32fd791
View commit details
Copy full SHA for 32fd791
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL