[pywin32-checkins] pywin32/com/win32com/demos connect.py, 1.2.4.3, 1.2.4.4
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2009-01-14 13:03:12
|
Update of /cvsroot/pywin32/pywin32/com/win32com/demos In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4460/com/win32com/demos Modified Files: Tag: py3k connect.py Log Message: merge lots of changes from the trunk Index: connect.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/demos/connect.py,v retrieving revision 1.2.4.3 retrieving revision 1.2.4.4 diff -C2 -d -r1.2.4.3 -r1.2.4.4 *** connect.py 27 Nov 2008 04:58:41 -0000 1.2.4.3 --- connect.py 14 Jan 2009 12:42:02 -0000 1.2.4.4 *************** *** 10,13 **** --- 10,14 ---- import win32com.server.connect from win32com.server.exception import Exception + from pywin32_testutil import str2bytes # This is the IID of the Events interface both Client and Server support. *************** *** 71,75 **** connection.Connect(server, client, IID_IConnectDemoEvents) CheckEvent(server, client, "Hello", verbose) ! CheckEvent(server, client, b"Here is a null>\x00<", verbose) CheckEvent(server, client, "Here is a null>\x00<", verbose) val = "test-\xe0\xf2" # 2 extended characters. --- 72,76 ---- connection.Connect(server, client, IID_IConnectDemoEvents) CheckEvent(server, client, "Hello", verbose) ! CheckEvent(server, client, str2bytes("Here is a null>\x00<"), verbose) CheckEvent(server, client, "Here is a null>\x00<", verbose) val = "test-\xe0\xf2" # 2 extended characters. |