Re: [PyCrust] 0.6 in the oven, now with PyFilling, should be done cooking soon
Brought to you by:
pobrien
From: Raul C. <co...@uc...> - 2001-09-08 23:27:44
|
Small annoying suggestions: 1) The scrolled windows, when you scroll all the way and you totally hide something, for instance, if you totally hide the ingredients tree, you can't open it back. Only because of that reason, I had to inherit and add the following line to the __init__ code: self.SetMinimumPaneSize(1) 2) My application uses a lot the run command in shell.py, and there's something I don't particullary like. The code: sh.run('r = 5') sh.run('x = 6') sh.run('t = 8') gives the following output in the interpreter >>> >>> r = 5 >>> >>> x = 6 >>> >>> t = 8 >>> instead of >>> r = 5 >>> x = 6 >>> t = 8 the method run, writes the ouptut one line after the active line, so, if the active line is somewhere above... things like this happen (I ran the same code several times)... >>> parentFlowsh.Solve() myFlash >>> parentFlowsh.Solve() myFlash1 >>> 1 >>> >>> parentFlowsh.Solve() myFlash1 >>> >>> parentFlowsh.Solve() myFlash1 >>> >>> par >>> parentFlowsh.Solve() myFlash1 >>> entFlowsh.Solve() myFlash1 >>> parentFlowsh.Solve() myFlash1 >>> Every two lines it should say .... >>> parentFlowsh.Solve() myFlash1 Right now, I was working on trying to fix Raul "Patrick K. O'Brien" wrote: > > I'd like to get an official 0.6 release out asap. If those of you who are > downloading from CVS could update and give it a whirl I would appreciate it. > If no one hollers I'll wrap it up into a release and get started on the next > set of features. CVS has the following changes since 0.5.3: > > ===== > 0.6 (8/21/2001 to //2001) > ===== > Added PyFilling.py and filling.py. > ----- > PyShell.py and PyFilling.py can now be run standalone, as well as > PyCrust.py. > ----- > Added crust.py and moved some code from PyCrust.py to it. > ----- > Added command history retrieval features submitted by Richie Hindle. > ----- > Changed shell.write() to replace line endings with OS-specific endings. > Changed shell.py and interpreter.py to use os.linesep in strings having > hardcoded line endings. > ----- > Added shell.redirectStdin(), shell.redirectStdout() and > shell.redirectStderr() to allow the surrounding app to toggle requests that > the specified sys.std* be redirected to the shell. These can also be run > from within the shell itself, of course. > ----- > The shell now adds the current working directory "." to the search path: > sys.path.insert(0, os.curdir) > ----- > > ===== > 0.5.4 (8/17/2001 to 8/20/2001) > ===== > Changed default font size under *nix to: > 'size' : 12, > 'lnsize' : 10, > ----- > Changed Shell to expect a parameter referencing an Interpreter class, rather > than an intepreter instance, to facilitate subclassing of Interpreter, which > effectively broke when the Editor class was eliminated. > ----- > Fixed PyCrustAlaCarte.py, which had been broken by previous changes. > Created InterpreterAlaCarte class as an example for use in the demo. > ----- > Split PyCrust.py into PyCrust.py and PyShell.py in anticipation of > PyFilling. > ----- > > --- > Patrick K. O'Brien > Orbtech (http://www.orbtech.com) > "I am, therefore I think." > > _______________________________________________ > PyCrust-users mailing list > PyC...@li... > https://lists.sourceforge.net/lists/listinfo/pycrust-users |