[issue42864] Improve error messages regarding unclosed parentheses

2021-01-20 Thread miss-islington


miss-islington  added the comment:


New changeset c3f167d7b243f8b8e1b797586e6cef35add013bc by Pablo Galindo in 
branch 'master':
bpo-42864: Simplify the tokenizer exceptions after generic SyntaxError 
(GH-24273)
https://github.com/python/cpython/commit/c3f167d7b243f8b8e1b797586e6cef35add013bc


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +23096
pull_request: https://github.com/python/cpython/pull/24273

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset ae7d3cd980fae6b9a9778c0ccd162b93035ad33e by Pablo Galindo in 
branch 'master':
bpo-42864: Fix compiler warning in the tokenizer with the new paren stack for 
column numbers (GH-24266)
https://github.com/python/cpython/commit/ae7d3cd980fae6b9a9778c0ccd162b93035ad33e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +23091
pull_request: https://github.com/python/cpython/pull/24266

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-19 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset d6d6371447357c9c69b0936573977a3e60f2 by Pablo Galindo in 
branch 'master':
bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161)
https://github.com/python/cpython/commit/d6d6371447357c9c69b0936573977a3e60f2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
nosy: +lys.nikolaou
stage: patch review -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +22988
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/24161

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42864] Improve error messages regarding unclosed parentheses

2021-01-07 Thread Pablo Galindo Salgado

New submission from Pablo Galindo Salgado :

Consider this file:

```
x = (


```

The error that we get is:

❯ python ../a.py
  File "/home/pablogsal/github/python/master/../a.py", line 6

^
SyntaxError: unexpected EOF while parsin

This is quite uninformative of the actual problem, which is the closed 
parentheses.

The same happens with something like this:

( 1+2

  File "/home/pablogsal/github/python/master/lel.py", line 3

^
SyntaxError: unexpected EOF while parsing

With some effort, we can include the location of the unclosed parentheses.

--
messages: 384630
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Improve error messages regarding unclosed parentheses
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com