Skip to content

Remove the "_new_ suffix from class names in pydocfodder #113468

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
serhiy-storchaka opened this issue Dec 25, 2023 · 0 comments
Closed

Remove the "_new_ suffix from class names in pydocfodder #113468

serhiy-storchaka opened this issue Dec 25, 2023 · 0 comments
Labels
3.12 only security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Dec 25, 2023

Previously this file contained two sets of classes: old-style classes and new-style classes. In Python 3 they are the same, and the set of "old-style" classes was removed in #99430. Classes that remain have the "_new" suffix which is useless, because all classes are now "new-style" classes. I'm planning to add more tests here, so the redundant suffix will only get in the way.

Linked PRs

@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir 3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes labels Dec 25, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Dec 25, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Dec 26, 2023
…dder (pythonGH-113469)

(cherry picked from commit 8a3d0e4)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this issue Dec 26, 2023
…odder (GH-113469) (GH-113483)

(cherry picked from commit 8a3d0e4)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka removed the 3.11 only security fixes label Dec 26, 2023
kulikjak pushed a commit to kulikjak/cpython that referenced this issue Jan 22, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 11, 2024
…dder (pythonGH-113469)

(cherry picked from commit 8a3d0e4)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this issue Feb 11, 2024
…odder (GH-113469) (GH-115300)

(cherry picked from commit 8a3d0e4)

Co-authored-by: Serhiy Storchaka <[email protected]>
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 only security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant