[Python-checkins] r66997 - in python/branches/release26-maint: Lib/inspect.py Misc/NEWS
benjamin.peterson
python-checkins at python.org
Wed Oct 22 00:28:54 CEST 2008
Author: benjamin.peterson
Date: Wed Oct 22 00:28:54 2008
New Revision: 66997
Log:
Merged revisions 66995-66996 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66995 | benjamin.peterson | 2008-10-21 17:18:29 -0500 (Tue, 21 Oct 2008) | 1 line
return ArgInfo from inspect.getargvalues #4092
........
r66996 | benjamin.peterson | 2008-10-21 17:20:31 -0500 (Tue, 21 Oct 2008) | 1 line
add NEWs note for last change
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/inspect.py
python/branches/release26-maint/Misc/NEWS
Modified: python/branches/release26-maint/Lib/inspect.py
==============================================================================
--- python/branches/release26-maint/Lib/inspect.py (original)
+++ python/branches/release26-maint/Lib/inspect.py Wed Oct 22 00:28:54 2008
@@ -819,7 +819,7 @@
'varargs' and 'varkw' are the names of the * and ** arguments or None.
'locals' is the locals dictionary of the given frame."""
args, varargs, varkw = getargs(frame.f_code)
- return args, varargs, varkw, frame.f_locals
+ return ArgInfo(args, varargs, varkw, frame.f_locals)
def joinseq(seq):
if len(seq) == 1:
Modified: python/branches/release26-maint/Misc/NEWS
==============================================================================
--- python/branches/release26-maint/Misc/NEWS (original)
+++ python/branches/release26-maint/Misc/NEWS Wed Oct 22 00:28:54 2008
@@ -27,6 +27,9 @@
Library
-------
+- Issue #4092: Return ArgInfo as promised in the documentation from
+ inspect.getargvalues.
+
- Issue #4014: Don't claim that Python has an Alpha release status, in addition
to claiming it is Mature.
More information about the Python-checkins
mailing list