[pywin32-checkins] pywin32/Pythonwin/pywin/framework intpyapp.py, 1.16, 1.17
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-04-06 12:19:59
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11384/pywin/framework Modified Files: intpyapp.py Log Message: Fix [2686042] - pythonwin documentation out of date Index: intpyapp.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/intpyapp.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** intpyapp.py 4 Jan 2009 02:06:08 -0000 1.16 --- intpyapp.py 6 Apr 2009 12:19:54 -0000 1.17 *************** *** 162,167 **** def InitInstance(self): ! # Allow "/nodde" and "/newinstance to optimize this! ! if "/nodde" not in sys.argv and "/newinstance" not in sys.argv: if self.InitDDE(): return 1 # A remote DDE client is doing it for us! --- 162,167 ---- def InitInstance(self): ! # Allow "/nodde" and "/new" to optimize this! ! if "/nodde" not in sys.argv and "/new" not in sys.argv: if self.InitDDE(): return 1 # A remote DDE client is doing it for us! *************** *** 227,231 **** # activate it! if dde is not None: dde.Exec("self.Activate()") ! if len(args) and args[0] in ['/nodde','/newinstance']: del args[0] # already handled. if len(args)<1 or not args[0]: # argv[0]=='' when started without args, just like Python.exe! return --- 227,231 ---- # activate it! if dde is not None: dde.Exec("self.Activate()") ! if len(args) and args[0] in ['/nodde','/new']: del args[0] # already handled. if len(args)<1 or not args[0]: # argv[0]=='' when started without args, just like Python.exe! return *************** *** 260,265 **** elif argType=="/app": raise RuntimeError("/app only supported for new instances of Pythonwin.exe") - elif argType=='/new': # Allow a new instance of Pythonwin - return 1 elif argType=='/dde': # Send arbitary command if dde is not None: --- 260,263 ---- |