Saimadhav Heblikar added the comment:

In v3, there is no subprocess usage.
It imports the checker specific module,does its job and returns the result of 
processing.


The checker specific files are to be installed from TestPyPI(atleast for now). 
It has to be installed via pip.
It will be detected automatically in IDLE. There will be a feature to pass 
additional arguments onto the checker(though not yet implemented in this patch).

This patch also supports the feature to modify the editor buffer.

To test out this patch, kindly install two packages
pip install -i https://testpypi.python.org/pypi IDLEPyflakes 
IDLEWhitespaceRemover

(I used the reindent.py file in Tools/scripts in IDLEWhitespaceRemover)

Again, this is more a proof of concept patch. I we are to go ahead in this 
direction, I will be writing it from scratch again and also with tests.

Checker, is actually a misnomer if we do support the "modify buffer" feature.

----------
Added file: http://bugs.python.org/file35868/3rdpartychecker-v3.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to