* gh-105713: Document that tokenize raises when mixing tabs/spaces
* Update Doc/whatsnew/3.12.rst
(cherry picked from commit
ed8217b493e19cea0f3f539e55b592c09ceb9323)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Some incomplete or invalid Python code now raises :exc:`tokenize.TokenError` instead of
returning arbitrary ``ERRORTOKEN`` tokens when tokenizing it.
+ * Mixing tabs and spaces as indentation in the same file is not supported anymore and will
+ raise a :exc:`TabError`.
+
Build Changes
=============