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-104265 Disallow instantiation of_csv.Reader and_csv.Writer#104266

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
erlend-aasland merged 13 commits intopython:mainfromchgnrdv:_csv-make-Reader-Writer-types-non-instantiable
May 7, 2023
Merged
Changes from1 commit
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
ae69f9b
Disallow instantiation and subtyping of `_csv.Reader` and `_csv.Write…
chgnrdvMay 7, 2023
7d1fcd8
added test
chgnrdvMay 7, 2023
aa34fae
changed tests to use check_disallow_instantiation, separated tests
chgnrdvMay 7, 2023
6c45ff8
reverted Py_TPFLAGS_BASETYPE flag deletion, removed corresponding tests
chgnrdvMay 7, 2023
7d9ec2a
📜🤖 Added by blurb_it.
blurb-it[bot]May 7, 2023
19bddd0
Update 2023-05-07-16-13-07.gh-issue-104265.fU60bZ.rst
chgnrdvMay 7, 2023
b3f4a65
Update 2023-05-07-16-13-07.gh-issue-104265.fU60bZ.rst
chgnrdvMay 7, 2023
a022e91
Update 2023-05-07-16-13-07.gh-issue-104265.fU60bZ.rst
chgnrdvMay 7, 2023
52aacfd
📜🤖 Added by blurb_it.
blurb-it[bot]May 7, 2023
d31d214
Delete 2023-05-07-16-13-07.gh-issue-104265.fU60bZ.rst
chgnrdvMay 7, 2023
2804744
Update Misc/NEWS.d/next/Library/2023-05-07-19-56-45.gh-issue-104265.f…
erlend-aaslandMay 7, 2023
8255467
applied suggestion by erlend-aasland
chgnrdvMay 7, 2023
73609a8
Merge branch '_csv-make-Reader-Writer-types-non-instantiable' of gith…
chgnrdvMay 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update 2023-05-07-16-13-07.gh-issue-104265.fU60bZ.rst
  • Loading branch information
@chgnrdv
chgnrdv authoredMay 7, 2023
commita022e91600542a25e011649873a2c7af7adb080f
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
Fix a :mod:`_csv` module regression where :class:`~_csv.Reader` and :class:`~_csv.Writer` types became directly instantiable which led to their improper initialization and subsequent crashes. The regression was introduced in 3.10.0a4 with PR 23224 (:issue:`14935`).
Fix a :mod:`!_csv` module regression where :class:`!_csv.Reader` and :class:`!_csv.Writer` types became directly instantiable which led to their improper initialization and subsequent crashes. The regression was introduced in 3.10.0a4 with PR 23224 (:issue:`14935`).

[8]ページ先頭

©2009-2025 Movatter.jp