[Python-Dev] Re: bundle pychecker with python [was "Re: A proposal has surfaced..."]

Pete Shinners pete at shinners.org
Sat Mar 20 20:50:52 EST 2004


Doug Holton wrote:
> A. Add a command line switch for the python executable that enables 
> pychecker.  The next time someone complains about some error that the 
> python compiler didn't catch, just tell them to run "python -strict" or 
> something to that effect.

I hope someone is implementing this. While they are at it, consider adding a 
"-check" flag to python as well. This would run like normal pychecker does 
now, but without requiring the extra "stub" executable. On the other hand, 
perhaps this is "overloading" the python executable too much?

I find pychecker invaluable, especially when helping newbies get onto their 
python legs. My one hope was that pychecker would be able to check code 
without actually "importing" (aka, executing) the checked file. This would 
also help running pychecker on scripts that have a "shebang" but no ".py"

But I'd rather see it in the standard distribution as-is now, then wait 
another release to rework it.




More information about the Python-Dev mailing list