2.5.1 preview: first impressions

Hi all dev,

win98se, Py 2.3.2

1) Strangely I could not download the .tar.gz file with IE6, but I succeeded
with Mozilla 1.4 !?

2) My installation
- unpack the tar.gz file in a directory
- rename ..\Lib\site-packages\wx to ..\Lib\site-packages\wx2424
- rename ..\Lib\site-packages\wxPython to ..\Lib\site-packages\wxPython2424
- put the wx and wxPython dirs from the tar.gz file in ..\Lib\site-packages
- put the demo dir from tar.gz file in the new ..\Lib\site-packages\wxPython
- reboot unnecessary
- running the demo, double click ..\Lib\site-packages\wxPython\demo\Main.py

Toggling between 2.4.2.4 and 2.5 preview is done by dir renaming

Good. I have not had any problem.

3) I lost the page MigrationGuide.html or(.txt). The page containing the
self.Bind info. I googled it (in the different lists), but the page seems to have
desappeared. A link ?

4) My first impression when running the demo. Everything is becoming slow.
Especially in the STC control, when moving the caret with the arrows keys.
Is this due to the renaming mechanism in modules using the old
"from wxPython.wx import *". Debugging versions? Il seems
rewriting the/my code with an "import wx" will encrease the speed.

5) If you defined a wxFrame, sorry a wx.Frame, with
style = sty = wx.SYSTEM_MENU | wx.CAPTION | wx.MINIMIZE_BOX
there is no way to close the frame/application.

Jean-Michel Fauth, Switzerland

Jean-Michel Fauth wrote:

Hi all dev,

win98se, Py 2.3.2

1) Strangely I could not download the .tar.gz file with IE6, but I succeeded
with Mozilla 1.4 !?

Weird.

2) My installation
- unpack the tar.gz file in a directory
- rename ..\Lib\site-packages\wx to ..\Lib\site-packages\wx2424
- rename ..\Lib\site-packages\wxPython to ..\Lib\site-packages\wxPython2424
- put the wx and wxPython dirs from the tar.gz file in ..\Lib\site-packages
- put the demo dir from tar.gz file in the new ..\Lib\site-packages\wxPython
- reboot unnecessary
- running the demo, double click ..\Lib\site-packages\wxPython\demo\Main.py

Toggling between 2.4.2.4 and 2.5 preview is done by dir renaming

Good. I have not had any problem.

3) I lost the page MigrationGuide.html or(.txt). The page containing the
self.Bind info. I googled it (in the different lists), but the page seems to have
desappeared. A link ?

You can view the CVS copy here:

http://cvs.wxwindows.org/viewcvs.cgi/wxWindows/wxPython/docs/MigrationGuide.txt?rev=1.2&content-type=text/vnd.viewcvs-markup

4) My first impression when running the demo. Everything is becoming slow.
Especially in the STC control, when moving the caret with the arrows keys.
Is this due to the renaming mechanism in modules using the old "from wxPython.wx import *".

That would only be an increase in import time. After that there should be no side effects from the renamer modules. Is this slowdown noticed in your own app with a STC or in one of the demos?

Debugging versions?

It's a "hybrid" build, similar to the binaries I released with 2.4 and prior.

Il seems
rewriting the/my code with an "import wx" will encrease the speed.

Startup time should improve but the difference really shouldn't be noticable unless you are on a slow machine.

5) If you defined a wxFrame, sorry a wx.Frame, with
style = sty = wx.SYSTEM_MENU | wx.CAPTION | wx.MINIMIZE_BOX
there is no way to close the frame/application.

There is a new wx.CLOSE_BOX style that is part of wx.DEFAULT_FRAME_STYLE now.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

> win98se, Py 2.3.2
>
> 1) Strangely I could not download the .tar.gz file with IE6,
but I succeeded
> with Mozilla 1.4 !?

Weird.

I had the exact same problem with the same solution (OK, I used Firebird but
otherwise). My sys is W2K. What I saw was that the download never actually
*stopped*. It went beyond the original file size and kept on going. I
downloaded 13 megs worth of a 5 meg file before I gave it up.

4) My first impression when running the demo. Everything is becoming

slow.

Especially in the STC control, when moving the caret with the arrows

keys.

Is this due to the renaming mechanism in modules using the old
"from wxPython.wx import *".

That would only be an increase in import time. After that there should
be no side effects from the renamer modules. Is this slowdown noticed
in your own app with a STC or in one of the demos?

I haven't seen much slowdown except in the case of one demo I'm working on
right now, wxMaskedEditCtrl; it might be the reverse renamer that is causing
the problem here. If no 'external' libraries are used, maybe the prob goes
away? I'll watch this more closely as I'm going through the demo (hey, this
works great for debugging :slight_smile: