[PyCrust] Thoughts...
Brought to you by:
pobrien
|
From: Robin D. <ro...@al...> - 2001-08-10 23:55:48
|
1. It would be nice if Shell.__init__ could accept a dict for the locals,
which could then be augmented with the locals you already provide if you
like.
2. Since PyCrust is a Python package, do we really need filenames like
PyCrustShell.py and PyCrustEditor.py? When importing it just looks
redundant: "from PyCrust.PyCrustShell import Shell" Or maybe
PyCrust.__init__.py could just import the major classes into it's namespace
so we just have to use "import PyCrust" and then use "PyCrust.Shell"
3. It would be nice if Shell (or maybe ShellWindow) derived from Editor.
That way it could more easily be used as a wxWindow, moved, given to sizers,
etc. Unfortunatly doing
class ShellWindow(PyCrustShell.Shell, PyCrustEditor.Editor):
...
doesn't quite work because of name clashes between the classes.
That's all for now.
--
Robin Dunn
Software Craftsman
ro...@Al... Java give you jitters?
http://wxPython.org Relax with wxPython!
|