Skip to content

Conversation

@AlexWaygood
Copy link
Member

No description provided.

@Akuli
Copy link
Collaborator

Akuli commented Nov 27, 2021

I don't think we should add this. Python defines it as a hard-coded "1.0" since at least Python 3.0, so relying on it is likely a bug.

Edit: It might be good to instead add a comment about why __version__ is missing.

@github-actions

This comment has been minimized.

@AlexWaygood AlexWaygood changed the title Add missing __version__ attribute to csv.pyi Clarify why csv stub has no __version__ attribute Nov 27, 2021
@AlexWaygood AlexWaygood marked this pull request as draft November 27, 2021 14:35
@AlexWaygood AlexWaygood marked this pull request as ready for review November 27, 2021 14:43
Co-authored-by: Akuli <akuviljanen17@gmail.com>
@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link
Contributor

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

@Akuli Akuli merged commit e9afd22 into python:master Nov 27, 2021
@AlexWaygood AlexWaygood deleted the csv-version branch November 27, 2021 18:47
@AlexWaygood AlexWaygood mentioned this pull request Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants