This project has moved and is read-only. For the latest updates, please go here.


raise completions list incomplete


Python 2.7

I defined my own exception like this:
class PollNotFound(Exception):
and when I type raise followed by a space, the completion list that appears doesn't contain my PollNotFound exception.

Strangely it lists some exceptions from the azure package (if I import them). Those have a dunder init on them, but that doesn't seem to make a difference here, as this also doesn't show up in the completions:
class PollNotFound(Exception):
    def __init__(self, message):
        super(PollNotFound, self).__init__(message)
Closed May 15, 2015 at 11:36 PM by huguesv


Zooba wrote May 15, 2014 at 11:48 PM

This is currently by design - we only display custom exceptions if they have Error in their name.

No reason we can't change the design, but it is working as intended, and hence not a bug.