[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-24 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- dependencies: +improve TypeError messages for missing arguments (meta issue) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16520 ___

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Chris Jerdonek
New submission from Chris Jerdonek: The TypeError message when a call to subprocess.Popen() lacks the args argument is incorrect. For 3.3 and 3.4, the message incorrectly says that a positional argument is required when a keyword argument will do: import subprocess subprocess.Popen()

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Mark Dickinson
Mark Dickinson added the comment: I don't think the first part of the report has anything to do with subprocess.Popen: def f(x): ... return ... f() Traceback (most recent call last): File stdin, line 1, in module TypeError: f() missing 1 required positional argument: 'x' See the

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Also see the terminology-related issue 15990 created from that thread. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16520 ___

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16520 ___

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Mark Dickinson
Mark Dickinson added the comment: By the way, I think this message from Nick is the closest to a resolution from that thread: We've already had this terminology discussion and documented the results in PEP 362. The rest of the docs may require updates to be brought in line with that.

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: TypeError: __init__() missing 1 required positional argument: 'args' I think something like the following would be more correct: __init__() missing argument for parameter 'args' -- ___ Python tracker