[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-05-09 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 9a0e65c8e05fdcd2207650d216ebdacdf0a025e9 by Miss Islington (bot) 
in branch '3.10':
bpo-43149: Correct the syntax error message for multiple exception types 
(GH-25996) GH-25997)
https://github.com/python/cpython/commit/9a0e65c8e05fdcd2207650d216ebdacdf0a025e9


--

___
Python tracker 

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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-05-08 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +24650
pull_request: https://github.com/python/cpython/pull/25997

___
Python tracker 

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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-05-08 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +24649
pull_request: https://github.com/python/cpython/pull/25996

___
Python tracker 

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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-02-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage: patch review -> 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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-02-07 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 206cbdab16cb054e859597a562e2f6ab35e99766 by Pablo Galindo in 
branch 'master':
bpo-43149: Improve error message for exception group without parentheses 
(GH-24467)
https://github.com/python/cpython/commit/206cbdab16cb054e859597a562e2f6ab35e99766


--

___
Python tracker 

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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-02-06 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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

___
Python tracker 

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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-02-06 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +lys.nikolaou, pablogsal

___
Python tracker 

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



[issue43149] Misleading error message for except with missing parens (3.10.a5)

2021-02-06 Thread Andre Roberge


New submission from Andre Roberge :

The following:

try:
pass
except ValueError, NameError as err:
pass

results in:

except ValueError, NameError as err:
 ^
SyntaxError: expected ':'

However, what is missing here are some parentheses surrounding the exception 
types.

--
messages: 386570
nosy: aroberge
priority: normal
severity: normal
status: open
title: Misleading error message for except with missing parens (3.10.a5)
type: behavior
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