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

gh-82626: Schedule removal of bool used as file descriptor#145469

Open
vstinner wants to merge 1 commit intopython:mainfrom
vstinner:deprecate_bool_fd
Open

gh-82626: Schedule removal of bool used as file descriptor#145469
vstinner wants to merge 1 commit intopython:mainfrom
vstinner:deprecate_bool_fd

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedMar 3, 2026
edited by github-actionsbot
Loading

@vstinner
Copy link
MemberAuthor

Since Python 3.13, Python emits aDeprecationWarning when a boolean value is used as a file descriptor. I propose to schedule the removal in Python 3.18 of bool support when a file descriptor is expected. So the feature is deprecated for 5 releases (3.13 to 3.17), as recommended by PEP 387.

cc@serhiy-storchaka@pitrou

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

awaiting core reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner

[8]ページ先頭

©2009-2026 Movatter.jp