[issue31071] *args unpacking can mask TypeErrors

2017-08-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
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



[issue31071] *args unpacking can mask TypeErrors

2017-08-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 946a0b69e217ff22a6c056047eab42053e9a2d5f by Serhiy Storchaka in 
branch '3.6':
[3.6] bpo-31071: Avoid masking original TypeError in call with * unpacking 
(GH-2957) (#2991)
https://github.com/python/cpython/commit/946a0b69e217ff22a6c056047eab42053e9a2d5f


--

___
Python tracker 

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



[issue31071] *args unpacking can mask TypeErrors

2017-08-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3030

___
Python tracker 

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



[issue31071] *args unpacking can mask TypeErrors

2017-08-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 25e4f779d7ae9f37a1933cb5cbfad06e673c01f9 by Serhiy Storchaka in 
branch 'master':
bpo-31071: Avoid masking original TypeError in call with * unpacking (#2957)
https://github.com/python/cpython/commit/25e4f779d7ae9f37a1933cb5cbfad06e673c01f9


--

___
Python tracker 

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



[issue31071] *args unpacking can mask TypeErrors

2017-07-31 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
components: +Interpreter Core
nosy: +serhiy.storchaka
stage: needs patch -> patch review

___
Python tracker 

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



[issue31071] *args unpacking can mask TypeErrors

2017-07-31 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3005

___
Python tracker 

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



[issue31071] *args unpacking can mask TypeErrors

2017-07-28 Thread R. David Murray

R. David Murray added the comment:

Thanks for the report.  Retitling because this has nothing to do with map:

>>> def foo(*args):
... raise TypeError('fake')
... yield 1
... 
>>> foo(1, *foo())
Traceback (most recent call last):
  File "", line 1, in 
TypeError: foo() argument after * must be an iterable, not generator
>>> foo(*foo())
Traceback (most recent call last):
  File "", line 1, in 
  File "", line 2, in foo
TypeError: fake

--
nosy: +r.david.murray
stage:  -> needs patch
title: Bad error message about maps not iterable -> *args unpacking can mask 
TypeErrors
versions: +Python 3.7

___
Python tracker 

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