Aaron "Castironpi" Brady
castironpi at gmail.com
Thu Oct 9 05:24:20 CEST 2008
Found this bug. It's in 2.6, too bad.
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit
(Intel)] on win
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>> type( inspect.getargvalues( inspect.currentframe() ) )
Changed in version 2.6: Returns a named tuple ArgInfo(args, varargs,
The code defines an ArgInfo type, but doesn't instantiate it in the
return, as shown here:
return args, varargs, varkw, frame.f_locals
More information about the Python-list