-
-
Notifications
You must be signed in to change notification settings - Fork 32k
3.12+: tokenize of mixed tabs and spaces now produces an error #105713
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
Comments
This is probably alright, yes. I'll open a PR to mention it in the docs. |
lysnikolaou
added a commit
to lysnikolaou/cpython
that referenced
this issue
Jun 13, 2023
lysnikolaou
added a commit
to lysnikolaou/cpython
that referenced
this issue
Jun 13, 2023
lysnikolaou
added a commit
that referenced
this issue
Jun 13, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 13, 2023
pythonGH-105723) * pythongh-105713: Document that tokenize raises when mixing tabs/spaces * Update Doc/whatsnew/3.12.rst (cherry picked from commit ed8217b) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I read the parts in here and it does mention that some
ERRORTOKEN
s will be converted to exceptions but it doesn't seem to cover this case.this breaks the
E101
check inpycodestyle
(or I guess more specifically turns it into a syntax error)this is probably fine? but should be called out in the documentation ?
Bug report
Your environment
Linked PRs
The text was updated successfully, but these errors were encountered: