[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cd8dcbc851fcc312722cdb5544c2f25cf46b3f8a by Pablo Galindo in branch 'master': bpo-43410: Fix crash in the parser when producing syntax errors when reading from stdin (GH-24763) https://github.com/python/cpython/commit/cd8dcbc851fcc312722

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I modified PR 24763 to implement this idea. -- ___ Python tracker ___ ___ Python-bugs-list

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-05 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think we should look into having some variable holding all the text that we have parsed so far. All the workarounds to fetch the text from the file or from stdin or whatnot are getting very very complicated. -- stage: patch review -> _

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23535 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24763 ___ Python tracker __

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-05 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The parser crashes when there are some syntax errors from stdin: > echo "(1+34" | ./python.exe - [1]54046 doneecho "(1+34" | 54047 segmentation fault ./python.exe - -- components: Interpreter Core messages: 388157