Skip to content

Implement DISALLOW_INSTANTIATION PyTypeFlags#5286

Closed
Snowapril wants to merge 3 commits intoRustPython:mainfrom
Snowapril:disallow_instantiation
Closed

Implement DISALLOW_INSTANTIATION PyTypeFlags#5286
Snowapril wants to merge 3 commits intoRustPython:mainfrom
Snowapril:disallow_instantiation

Conversation

@Snowapril
Copy link
Contributor

This revision implement DISALLOW_INSTANTIATION PyTypeFlags to prevent several type from instantiating which is not intended.

@Snowapril
Copy link
Contributor Author

#5324 must be solved for passing test in this PR.

@Snowapril Snowapril force-pushed the disallow_instantiation branch from 20aeacc to 9c2caa9 Compare June 16, 2024 06:34
@youknowone youknowone force-pushed the disallow_instantiation branch from 9c2caa9 to db9f140 Compare March 30, 2025 05:01
Signed-off-by: snowapril <sinjihng@gmail.com>
…exist

Signed-off-by: snowapril <sinjihng@gmail.com>
… impl

Signed-off-by: snowapril <sinjihng@gmail.com>
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