[New-bugs-announce] [issue4092] inspect.getargvalues return type not ArgInfo
Aaron Brady
report at bugs.python.org
Thu Oct 9 20:44:12 CEST 2008
New submission from Aaron Brady <castironpi at gmail.com>:
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>> type( inspect.getargvalues( inspect.currentframe() ) )
<type 'tuple'>
Docs say:
inspect.getargvalues(frame)
...
Changed in version 2.6: Returns a named tuple ArgInfo(args, varargs,
keywords, locals).
The code defines an ArgInfo type, but doesn't instantiate it in the
return, as shown here:
return args, varargs, varkw, frame.f_locals
----------
components: Library (Lib)
messages: 74595
nosy: castironpi
severity: normal
status: open
title: inspect.getargvalues return type not ArgInfo
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4092>
_______________________________________
More information about the New-bugs-announce
mailing list