| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good.
Sorry, something went wrong.
There was a problem hiding this comment.
I started a review but never submitted it, sorry. None of these suggested changes seem crucial, but consider adding them if you like.
Sorry, something went wrong.
| >>> type __debug__ = int | ||
| Traceback (most recent call last): | ||
| SyntaxError: cannot assign to __debug__ | ||
|
|
There was a problem hiding this comment.
| >>> type __debug__ = int | |
| Traceback (most recent call last): | |
| SyntaxError: cannot assign to __debug__ | |
| >>> type __debug__ = int | |
| Traceback (most recent call last): | |
| SyntaxError: cannot assign to __debug__ | |
| >>> class A[__debug__]: pass | |
| Traceback (most recent call last): | |
| SyntaxError: cannot assign to __debug__ | |
In a similar vein
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, should have waited a bit longer. I'll add this.
Sorry, something went wrong.
| @@ -0,0 +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 | |||
There was a problem hiding this comment.
| 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 |
Sorry, something went wrong.
| 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 | ||
| code that is optimized away before codegen (such as assertions with the | ||
| :option:`-O` command line option.) |
There was a problem hiding this comment.
| :option:`-O` command line option.) | |
| :option:`-O` command line option). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #122245.