-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
tokenize.NL
always exists, tabnanny
thinks otherwise
#97639
Labels
tests
Tests in the Lib/test dir
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Sep 29, 2022
orsenthil
pushed a commit
that referenced
this issue
Oct 4, 2022
* gh-97639: Remove `tokenize.NL` check from `tabnanny` * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 4, 2022
…97640) * pythongh-97639: Remove `tokenize.NL` check from `tabnanny` * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0601684) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 4, 2022
…97640) * pythongh-97639: Remove `tokenize.NL` check from `tabnanny` * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0601684) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
added a commit
that referenced
this issue
Oct 4, 2022
* gh-97639: Remove `tokenize.NL` check from `tabnanny` * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0601684) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
added a commit
that referenced
this issue
Oct 4, 2022
* gh-97639: Remove `tokenize.NL` check from `tabnanny` * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0601684) Co-authored-by: Nikita Sobolev <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While checking coverage of some module, I found that these condition is never
True
: https://github.com/python/cpython/blame/4652093e1b816b78e9a585d671a807ce66427417/Lib/tabnanny.py#L26-L27Which is correct, because
NL
token is always there.This code is pretty old, I think it is safe to be removed.
The text was updated successfully, but these errors were encountered: