inspect bug

Discussion in 'Python' started by Aaron \Castironpi\ Brady, Oct 9, 2008.

  1. Hi all,

    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
    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
     
    Aaron \Castironpi\ Brady, Oct 9, 2008
    #1
    1. Advertising

  2. En Thu, 09 Oct 2008 00:24:20 -0300, Aaron "Castironpi" Brady
    <> escribió:

    > Found this bug. It's in 2.6, too bad.


    Posting here is not going to help much, it just will be lost. Would be
    better to file a bug report at http://bugs.python.org/

    --
    Gabriel Genellina
     
    Gabriel Genellina, Oct 9, 2008
    #2
    1. Advertising

  3. On Oct 9, 9:47 am, "Gabriel Genellina" <> wrote:
    > En Thu, 09 Oct 2008 00:24:20 -0300, Aaron "Castironpi" Brady  
    > <> escribió:
    >
    > > Found this bug.  It's in 2.6, too bad.

    >
    > Posting here is not going to help much, it just will be lost. Would be  
    > better to file a bug report athttp://bugs.python.org/
    >
    > --
    > Gabriel Genellina


    It is at bugs.python. http://bugs.python.org/msg74595 .
     
    Aaron \Castironpi\ Brady, Oct 9, 2008
    #3
  4. Aaron \Castironpi\ Brady

    Terry Reedy Guest

    Aaron "Castironpi" Brady wrote:
    > On Oct 9, 9:47 am, "Gabriel Genellina" <> wrote:
    >> En Thu, 09 Oct 2008 00:24:20 -0300, Aaron "Castironpi" Brady
    >> <> escribió:
    >>
    >>> Found this bug. It's in 2.6, too bad.

    >> Posting here is not going to help much, it just will be lost. Would be
    >> better to file a bug report athttp://bugs.python.org/
    >>
    >> --
    >> Gabriel Genellina

    >
    > It is at bugs.python. http://bugs.python.org/msg74595 .


    The issue, as opposed to the message within the issue, is

    http://bugs.python.org/issue4092
     
    Terry Reedy, Oct 9, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robin Becker

    bug in inspect (was cgitb vs traceback)

    Robin Becker, Jun 6, 2004, in forum: Python
    Replies:
    1
    Views:
    307
    Robin Becker
    Jun 6, 2004
  2. Fernando Perez

    Bug in inspect.py for python 2.3?

    Fernando Perez, Dec 17, 2004, in forum: Python
    Replies:
    2
    Views:
    302
    Fernando Perez
    Dec 18, 2004
  3. Stef Mientki

    Would this be called a bug in inspect ?

    Stef Mientki, Sep 30, 2008, in forum: Python
    Replies:
    0
    Views:
    239
    Stef Mientki
    Sep 30, 2008
  4. Tomas Zulberti

    Module inspect Bug

    Tomas Zulberti, Oct 5, 2009, in forum: Python
    Replies:
    2
    Views:
    378
    Tomas Zulberti
    Oct 6, 2009
  5. deluxstar
    Replies:
    5
    Views:
    890
    Terry Reedy
    Sep 25, 2010
Loading...

Share This Page