IDLE: A cornicopia of mediocrity and obfuscation.
rantingrick
rantingrick at gmail.com
Thu Feb 3 12:15:39 EST 2011
If anyone would like to see a good example of how IDLE code should be
written. I highly suggest you check out the source for PyShell and
PyCrust which is located in roughly...
HOME\PythonXX\Lib\site-packages\wx-2.8-msw-ansi\wx\py:
* shell.py
* crust.py
* filling.py
Also run these scripts to see them all in action:
* PyAlaCarte.py
* PyAlaMode.py
This is a code base that was laid out in a logical and sensible
manner. This is a code base that can be built from. IDLE on the other
hand is utter chaos. If you don't believe me, first look at the
beautiful scripts i mentioned above, then check out these scripts in
your idlelib...
PythonXX\Lib\idlelib:
* EditorWindow.py
* PyShell.py
It is like night and day people! NIGHT AND DAY!!!
More information about the Python-list
mailing list