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

re-export _csv Reader and Writer in csv.pyi#14109

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

Open
Daraan wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromDaraan:csv-export

Conversation

Daraan
Copy link

Fixes:#14108

Question:

I would like to includeReader, Writer inall` but I am not sure if and how it should be done.

Option 1) Include it in__all__ for all versions, however it is only present at runtime for 3.10+
Option 2)

ifsys.version_info>= (3,10):__all__+= ["Reader","Writer"]

@github-actionsGitHub Actions
Copy link
Contributor

According tomypy_primer, this change has no effect on the checked open source code. 🤖🎉

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
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

csv.Reader is not re-exported and recognized as a member for Python 3.10+
1 participant
@Daraan

[8]ページ先頭

©2009-2025 Movatter.jp