Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.10] gh-101144: Allow zipfile.Path .open & .read_text encoding to be positional (GH-101179)#101182

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedJan 20, 2023
edited
Loading

The zipfile.Path open() and read_text() encoding parameter can be supplied as a positional argument without causing a TypeError again. 3.10.0b1 included a regression that made it keyword only.

Documentation update included as users writing code to be compatible with a wide range of versions will need to consider this for some time..

(cherry picked from commit5927013)
(cherry picked from commitefe3a38)

Co-authored-by: Gregory P. Smithgreg@krypto.org [Google]

Automerge-Triggered-By: GH:gpshead

…g to be positional (pythonGH-101179)The zipfile.Path open() and read_text() encoding parameter can be supplied as a positional argument without causing a TypeError again. 3.10.0b1 included a regression that made it keyword only.Documentation update included as users writing code to be compatible with a wide range of versions will need to consider this for some time..(cherry picked from commit5927013)(cherry picked from commitefe3a38)Co-authored-by: Gregory P. Smith <greg@krypto.org>Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
@gpsheadgpshead changed the title[3.10] [3.11] gh-101144: Allow zipfile.Path .open & .read_text encoding to be positional (GH-101179)[3.10] gh-101144: Allow zipfile.Path .open & .read_text encoding to be positional (GH-101179)Jan 20, 2023
@gpsheadgpshead self-assigned thisJan 20, 2023
@gpsheadgpshead added type-bugAn unexpected behavior, bug, or error stdlibPython modules in the Lib dir labelsJan 20, 2023
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅.

@miss-islingtonmiss-islington merged commitb2a662f intopython:3.10Jan 20, 2023
@miss-islingtonmiss-islington deleted the backport-efe3a38-3.10 branchJanuary 20, 2023 08:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gpsheadgpsheadgpshead approved these changes

Assignees

@gpsheadgpshead

Labels
stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@gpshead@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp