[EMAIL PROTECTED] writes: > > > It should be _reg_progid_ not _reg_progid. Try again with the > > correct spelling. > > I'm quite new to python (though, horrors, a devout perl groupie) but > I've seen 2 or 3 of these sorts of 'catches' on this list - does > python have a way to alert you to misspelling like that? In perl, > for example, using -w/warnings will tell you that '_reg_progid' is > unused etc.
You can check out pychecker which is a lint like package that will static analysis of your python scripts for you. I don't know if it catches this specific problem, but it warns for unused parameters, methods that should be overridden but aren't and many such problems. Just google for pychecker and you should find it. On a more personal level I prefer overriding of methods instead of overriding of attributes, because I find it easier to debug my function has been called rather than if my attribute has been accessed. -- Vennlig hilsen Syver Enstad _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
