forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-122245: Add test case of generic type with __debug__ (python…
- Loading branch information
1 parent
1ca99ed
commit d791b98
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Misc/NEWS.d/next/Core and Builtins/2024-07-24-22-39-07.gh-issue-122245.LVa9v8.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Detection of writes to ``__debug__`` is moved from the compiler's codegen | ||
stage to the symtable. This means that these errors now detected even in | ||
stage to the symtable. This means that these errors are now detected even in | ||
code that is optimized away before codegen (such as assertions with the | ||
:option:`-O` command line option.) | ||
:option:`-O` command line option). |