Issue warning if no return in function?

2008-09-04 Thread Poster28
What would you suggest to check python programs for non-syntax error. One example I could think of that one might forget to return a value from a function. How could I check for these and maybe other mistakes? -- http://mail.python.org/mailman/listinfo/python-list

Re: Issue warning if no return in function?

2008-09-04 Thread Paul McGuire
On Sep 4, 5:05 am, Poster28 [EMAIL PROTECTED] wrote: What would you suggest to check python programs for non-syntax error. One example I could think of that one might forget to return a value from a function. How could I check for these and maybe other mistakes? Check out PyLint

Re: Issue warning if no return in function?

2008-09-04 Thread Wojtek Walczak
On Thu, 04 Sep 2008 12:05:45 +0200, Poster28 wrote: What would you suggest to check python programs for non-syntax error. One example I could think of that one might forget to return a value from a function. How could I check for these and maybe other mistakes? Check pychecker or figleaf:

Re: Issue warning if no return in function?

2008-09-04 Thread alex23
On Sep 4, 8:05 pm, Poster28 [EMAIL PROTECTED] wrote: What would you suggest to check python programs for non-syntax error. One example I could think of that one might forget to return a value from a function. How could I check for these and maybe other mistakes? I really recommend getting