Nate Lowrie wrote: > On Mon, Jul 14, 2008 at 2:26 PM, Ed Leafe <[EMAIL PROTECTED]> wrote: >> On Jul 14, 2008, at 3:23 PM, Nate Lowrie wrote: >> >>> Be careful with the AutoComplete. It still suffers from import >>> tracebacks not being caught from time to time, mostly with syntax >>> issues. For example, open up the ClassDesigner and type in "self.". >> That's not AutoCompletion; that's the intellisense syntax feature. >> >>> You should see the autocomplete pop up. Select an option like >>> absoluteCoordinates. Now on the line you have >>> "self.absoluteCoordinates". Go back in insert another period so that >>> it is now "self..absoluteCoordinates". Now, try to add a "." to the >>> end of the line and you'll see it throws a SyntaxError. >> >> That's by design. If you go to all that trouble to screw with the >> intellisense, it senses that you're not intelli enough. > > It's supposed to throw and unchecked exception? Is that for the > editor to catch and display to the user? I used that example, but it > is far more easier to do than you think. I was editing a method in > the CD, and typed "self.". I had to look up the method name I created > because I forget it, so I navigated to another method and back again. > I wasn't paying attention and entered another "." and it threw the > error. I think that this should at least be caught...
This is probably a case were we want a blanket exception passer: try: < magical introspection code for intellisense> except StandardError: <stop trying to be intelligent> Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
