[issue43859] Improve syntax error for indentation errors

2021-04-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43859] Improve syntax error for indentation errors

2021-04-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 56c95dfe271b1242bdc8163d4677e311552c00cb by Pablo Galindo in branch 'master': bpo-43859: Improve the error message for IndentationError exceptions (GH-25431) https://github.com/python/cpython/commit/56c95dfe271b1242bdc8163d4677e311552c00c

[issue43859] Improve syntax error for indentation errors

2021-04-16 Thread Andre Roberge
Change by Andre Roberge : -- nosy: +aroberge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue43859] Improve syntax error for indentation errors

2021-04-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +24162 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25431 ___ Python tracker __

[issue43859] Improve syntax error for indentation errors

2021-04-15 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The current indentation error is quite simplistic and it does not include the context of the statement that was associated with the indented block and where it was: >>> def foo(): ... if lel: ... x = 2 File "", line 3 x = 2 ^ Inden