How do I set the __debug__ flag in a win32com server?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

How do I set the __debug__ flag in a win32com server?

From: ago <xivulon@gmail.com>
Date: Tue Apr 25 2006 - 17:43:19 CEST

Hi all,

When I use my win32com.server object from an excel client, the python
process running the server always has __debug__==True. When using a
python client the __debug__ flag for the server is determined by the
client (i.e. if I start the client with 'python -o client.py' then
__debug__ == False both for the server and the client). But when
running it from excel I cannot do that. Registering the com server with
debug=false does not seem to have anything to do with the __debug__
flag. Is it possible to change the flag at all?
Received on Mon May 1 00:14:49 2006