[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-14 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Works for me as well. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

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

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-14 Thread PEW's Corner
PEW's Corner added the comment: Seems to work. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 142fcb40b6e460fa9b4a89fe9846b1ce4176354e by Pablo Galindo Salgado in branch '3.9': bpo-45738: Fix computation of error location for invalid continuation characters in the parser (GH-29550) (GH-29552)

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This should be fixed by now, but please, check if everything is in order in your respective test suites and confirm here. -- ___ Python tracker

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread miss-islington
miss-islington added the comment: New changeset bf26a6da7aaedb526c9eb1cb56b0e46d1c10384c by Miss Islington (bot) in branch '3.10': bpo-45738: Fix computation of error location for invalid continuation (GH-29550)

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27801 pull_request: https://github.com/python/cpython/pull/29552 ___ Python tracker ___

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +27800 pull_request: https://github.com/python/cpython/pull/29551 ___ Python tracker

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 25835c518aa7446f3680b62c1fb43827e0f190d9 by Pablo Galindo Salgado in branch 'main': bpo-45738: Fix computation of error location for invalid continuation (GH-29550)

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27799 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29550 ___ Python tracker

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > I will be able to take a look later in the weekend Please take some time for yourself, I added you as you were the original author of the patch to make you aware. I believe most projects can workaround that for now. --

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +BTaskaya, lys.nikolaou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will be able to take a look later in the weekend, so if someone is able to give it a go before, that would be great. -- ___ Python tracker

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Andre Roberge
Change by Andre Roberge : -- nosy: +aroberge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Note that with the following example, exec and CommandCompiler return a different error: from codeop import CommandCompiler # identical errors #exec('1,\\#\n2') SystemError #CommandCompiler()('1,\\#\n2', symbol='exec') SystemError

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Yep, this also break IPython command completions when users press tab in some places in multiline code. 88f4ec88e282bf861f0af2d237e9fe28fbc8deac is the first offending commit for me in the 3.9 branch: [3.9] bpo-45494: Fix parser crash when

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-11 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: It looks like this also affects Python 3.9.8, which makes me very suspicious of https://bugs.python.org/issue45494 as the probable cause. See https://github.com/Zac-HD/hypothesmith/issues/16 and

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-06 Thread PEW's Corner
New submission from PEW's Corner : When exec'ing code with an illegal character after the line continuation character '\', python 3.11.0a2 raises this strange exception: SystemError: Negative size passed to PyUnicode_New Here's an example where '#' is the illegal character: