RE: [PyCrust] New stuff
Brought to you by:
pobrien
From: Raul C. <co...@uc...> - 2003-02-07 01:30:31
|
Hi Patrick, I run win XP and tried testing the new changes and the crashes are pretty nasty. After playing around with it for a while I found that the exact line causing it was self.AutoCompSetAutoHide(False) in the config method of shell.py Is it possible to change the code to something like this until the bug gets fixed?? if wx.wxPlatform != '__WXMSW__': self.AutoCompSetAutoHide(False) Now that I think about it... could it be my version of wxPython??? I run 2.3.3.1 unicode Take care, Raul > -----Original Message----- > From: pyc...@li... [mailto:pycrust-users- > ad...@li...] On Behalf Of Patrick K. O'Brien > Sent: Tuesday, February 04, 2003 9:40 AM > To: PyCrust-users > Subject: [PyCrust] New stuff > > > Just wanted to point out some recent changes to the CVS version of > PyCrust, > in case some of you might want to play with them. In particular, the most > recent change at the bottom of the list is kind of fun. > > CHANGES > ======= > > Wrapped sys.ps1, sys.ps2, and sys.ps3 in str(). (Thanks, Kieran > Holland.) > > Fixed minor things found by PyChecker. > > Changed locals to use __main__.__dict__ and added code to clean up the > namespace, making it as close to the regular Python environment as > possible. This solves the problem of pickling and unpickling instances > of classes defined in the shell. > > Made shell.PasteAndRun() a little more forgiving when it finds a ps2 > prompt line with no trailing space, such when you copy code from a web > page. > > Improved autocomplete behavior by adding these to shell: > self.AutoCompSetAutoHide(False) > self.AutoCompStops(' .') > > Added decor directory, decorator.py, stcDecor.py, and > stcConstants.py. These all serve the purpose of adding docstrings to > existing wxPython classes, in particular the wxStyledTextControl. > > Added wrap.py, a command line utility for running a wxPython app with > additional runtime-tools loaded, such as PyCrust (the only tool at > this point). > --------------------------------------------------------------------- > > With the wrap utility you can run an existing wxPython program (as long as > it has a wxApp subclass that doesn't require any __init__ parameters) and > you'll automatically get a PyCrust frame with an `app` variable in the > local namespace so you can interact with your app. Just run wrap.py from > the directory containing your wxPython program and pass the name of your > program as a command line arg, like this: > > wrap.py myProgram.py > > or: wrap.py myProgam > > or: python wrap.py myProgram.py > > or: python wrap.py myProgram > > or: ~/Code/PyCrust/wrap.py myProgam.py > > or: C:\Code\PyCrust\wrap.py myProgram > > Let me know how you like it. Also note that the autocomplete changes > appear > to be causing a problem on non-Linux platforms. > > -- > Patrick K. O'Brien > Orbtech http://www.orbtech.com/web/pobrien > ----------------------------------------------- > "Your source for Python programming expertise." > ----------------------------------------------- > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > PyCrust-users mailing list > PyC...@li... > https://lists.sourceforge.net/lists/listinfo/pycrust-users |