File: news15.txt

package info (click to toggle)
python-wpy 0.53-0.1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 832 kB
  • ctags: 1,991
  • sloc: python: 8,624; makefile: 57; sh: 24
file content (50 lines) | stat: -rw-r--r-- 2,337 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
There is a new release of the "WPY" GUI programming module available
on ftp.interet.com in directory /pub/python.  The version number is 0.41.
This is mirrored at ftp.python.org and at cwi.nl.  Check your file
dates to see if you need new files.  This release was available March 20
and has just finished testing.

There are several changes in the PC binaries.  The names were changed
to be more systematic.  The python NT character-mode binary does not
use the NT DLL.  The only versions which require any DLL's are WPY
for NT and the NT Netscape plugin.  Also, no versions require any
socket DLL's or *.pyd's.  This was done for simplicity.  The dll and
pyd version must exactly match the Python DLL, and that was just too
complicated.

I added the missing os.getcwd().

If you have Mark Hammond's Py130-1.dll, please note that the new WPY
will use that DLL instead of my py13an.dll if both are present.  This
is because I am trying to make Mark's DLL the standard one.  But
unfortunately I have not had time to test his DLL with WPY, and I
have an indication it doesn't work yet.  If you have both, you may
need to rename Mark's to use mine.  Better yet, test WPY with his
and let me know if it works.

I added WSAStartup() and WSACleanup() to the socket module.  Under
Windows, it is necessary to call WSAStartup() before any sockets
can be used.  You are supposed to call WSACleanup() when you are
finished with sockets, and some winsocks will complain if you do
not do so.  I have a call to WSAStartup() in initsocket(), so
you do not need to call it unless the call made when you import
the socket module fails.

The select module now is included.  It only works for sockets since
Windows only supports select for sockets.  It works as described
in the Python documentation.

Please note that under Windows, sockets are not files!  Only Unix has
this elegant convenience.  Lots of socket code written for Unix,
or for Python by Unix people, will fail under Windows.

The changes in WPY are:

Added ctrl.wpyBrush and ctrl.wpyTextColor to set control colors.
Added view.wpyBrush and dialog.wpyBrush to set window background color.
Added method SetCheck() to CMenuCheck and CMenuRadio.
Moved wpyStyle definitions so that WS_TABSTOP can be added to controls.

As always, all changes to WPY are documented in docs/*.txt.

Jim Ahlstrom