bpo-43988: Add test.support.check_disallow_instantiation#25757
Conversation
|
Enough nitpicking, you can always enhance the code later ;-) I merged your PR, thanks. I guess that the next step is to modify existing tests to use it. |
Sorry, something went wrong.
|
|
Sorry, something went wrong.
It seems like more changes are coming. Once they all landed into main, maybe write a backport to 3.10 PR including all of them at once ( |
Sorry, something went wrong.
|
Lets leave 3.10 as it is. |
Sorry, something went wrong.
|
@pablogsal, should we backport this? |
Sorry, something went wrong.
I would prefer to backport it, yep |
Sorry, something went wrong.
…thonGH-25757). (cherry picked from commit 4f72526) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
@vstinner: I've opened GH-26885 which is a backport of this PR, GH-26394 (docs for this PR), and GH-26392 (apply this PR to |
Sorry, something went wrong.
https://bugs.python.org/issue43988