Re: Calling Function Without Parentheses!

2005-01-07 Thread Nick Coghlan
Kamilche wrote: Uh, you're right! I wouldn't want to bog Python down with even more checking at run time. I guess I'm asking for syntax checks that are typically done only with compiled languages. In that case, I can suggest having a look at Pychecker, which performs static sanity checks on Pytho

Re: Calling Function Without Parentheses!

2005-01-07 Thread Kamilche
Uh, you're right! I wouldn't want to bog Python down with even more checking at run time. I guess I'm asking for syntax checks that are typically done only with compiled languages. It doesn't stop me from using Python, though! Since I don't have syntax checking, I find I have to test supporting r

Re: Calling Function Without Parentheses!

2005-01-07 Thread Jeff Shannon
Kamilche wrote: Yeah, but still. If they even had the most basic check, like 'an object is being referred to on this line, but you're not doing anything with it' would be handy in catching that. When you use an object like that, usually you're doing something with it, like assigning it to a variabl

Re: Calling Function Without Parentheses!

2005-01-07 Thread Kamilche
Yeah, but still. If they even had the most basic check, like 'an object is being referred to on this line, but you're not doing anything with it' would be handy in catching that. When you use an object like that, usually you're doing something with it, like assigning it to a variable. -- http://m

Re: Calling Function Without Parentheses!

2005-01-02 Thread Max M
Kamilche wrote: What a debug nightmare! I just spent HOURS running my script through the debugger, sprinkling in log statements, and the like, tracking down my problem. I called a function without the ending parentheses. I sure do WISH Python would trap it when I try to do the following: MyFunc Ac

Re: Calling Function Without Parentheses!

2005-01-02 Thread Kamilche
Yep. Definitely time download PyChecker. Thanks for the tip! -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling Function Without Parentheses!

2005-01-02 Thread Terry Reedy
"Kamilche" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What a debug nightmare! I just spent HOURS running my script through > the debugger, sprinkling in log statements, and the like, tracking down > my problem. Did you try PyChecker? (Don't know if > I called a function with

Re: Calling Function Without Parentheses!

2005-01-02 Thread John Machin
Dan Bishop wrote: > Kamilche wrote: > > What a debug nightmare! I just spent HOURS running my script through > > the debugger, sprinkling in log statements, and the like, tracking > down > > my problem. > > > > I called a function without the ending parentheses. I sure do WISH > > Python would tra

Re: Calling Function Without Parentheses!

2005-01-02 Thread John Machin
Kamilche wrote: > What a debug nightmare! I just spent HOURS running my script through > the debugger, sprinkling in log statements, and the like, tracking down > my problem. > > I called a function without the ending parentheses. I sure do WISH > Python would trap it when I try to do the following

Re: Calling Function Without Parentheses!

2005-01-02 Thread Dan Bishop
Kamilche wrote: > What a debug nightmare! I just spent HOURS running my script through > the debugger, sprinkling in log statements, and the like, tracking down > my problem. > > I called a function without the ending parentheses. I sure do WISH > Python would trap it when I try to do the following

Re: Calling Function Without Parentheses!

2005-01-02 Thread Skip Montanaro
Kamilche> I called a function without the ending parentheses. I sure do Kamilche> WISH Python would trap it when I try to do the following: Kamilche> MyFunc Kamilche> instead of: Kamilche> MyFunc() Google for pychecker. Skip -- http://mail.python.org/mailman/listinfo/pyth

Calling Function Without Parentheses!

2005-01-02 Thread Kamilche
What a debug nightmare! I just spent HOURS running my script through the debugger, sprinkling in log statements, and the like, tracking down my problem. I called a function without the ending parentheses. I sure do WISH Python would trap it when I try to do the following: MyFunc instead of: MyFu