-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
gh-85864: Mark no keyword arg for seek() #91683
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
Conversation
|
Actually, while we're here, could you confirm whether any other methods mentioned here need the same change? I checked and at least |
|
@JelleZijlstra Hmm, where is the position-only function parameters specified for these functions? I've tried looking at |
|
Here: Line 516 in ac4ffd3
_pyio.py doesn't ever actually get used as far as I can tell.
|
|
It seems that IOBase doesn't have |
JelleZijlstra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
Thanks @slateny for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
|
GH-91847 is a backport of this pull request to the 3.10 branch. |
|
Sorry, @slateny and @JelleZijlstra, I could not cleanly backport this to |
(cherry picked from commit a3f2cf3) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
GH-91848 is a backport of this pull request to the 3.9 branch. |
|
@JelleZijlstra Thanks for the merge - could you take a look at the comment here? I've got most of them but there's still some ambiguous cases |
|
Sorry for missing that! I think we should just mark it as positional-only in the IOBase docs. |
…91683). (python#91848) (cherry picked from commit a3f2cf3) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
#85864