Menu ▾ ▴

Code completion in exception handlers

Anonymous
2009-01-03
2013-03-15
  • Anonymous

    Anonymous - 2009-01-03

    Hello.
    I'm having a problem with calltips not showing up for extension identifier in the "except" block. For example, with the code:

    try:
      ...
    except HTTPError, e:
      authline = e.headers["WWW-Authenticate"]

    No suggestions appear after I print "." after "e" or press ctrl+space. I wonder if something could be done about that.
    Python 2.5.2, Eclipse 3.4.1, PyDev 1.4.0.

     
    • Anonymous

      Anonymous - 2009-01-03

      Exception identifier, I mean.

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2009-01-03

        That's not currently implemented. Please add a feature request for that.

        Cheers,

        Fabio

         
        • Anonymous

          Anonymous - 2009-01-04

          Thank you for the clarification, Fabio. I added the feature request.