[python-win32] Memory leak when importing in embedded python

2008-08-20 Thread mani sabri
Hi Importing some modules[2] in embedded python between Py_NewInterpreter and Py_EndInterpreter[1] cause memory leak. Not all the modules cause leaks (ex sys module) but most of them do! And none of them cause any leak when they are not embedded! What cause this? Is it solveable? Best regards, Ma

[python-win32] Getting a printer's port

2008-08-20 Thread Mike Driscoll
Hi all, I am in need of a way to get a printer's port with Python. I can get the name of a printer and the comments field (I think) using win32print.EnumPrinters(), but that's as close as I can get. Most of the printers in my organization are networked through Linux CUPS. Any pointers are ap

[python-win32] Re: Getting a printer's port

2008-08-20 Thread Roger Upole
Mike Driscoll wrote: Hi all, I am in need of a way to get a printer's port with Python. I can get the name of a printer and the comments field (I think) using win32print.EnumPrinters(), but that's as close as I can get. Most of the printers in my organization are networked through Linux CUPS.

[python-win32] Re: Watch window

2008-08-20 Thread Roger Upole
bob gailer wrote: Is there a way to have the watch window either stay open or open each time I start debugging? As it is now I have to open it each time. I seem to recall in the dim past that it would open automatically. Build 212 Python 2.5 Win 2003 Server. Whoops, I think I accidentally r

Re: [python-win32] Memory leak when importing in embedded python

2008-08-20 Thread Mark Hammond
> Hi > Importing some modules[2] in embedded python between Py_NewInterpreter > and > Py_EndInterpreter[1] cause memory leak. Not all the modules cause leaks > (ex > sys module) but most of them do! And none of them cause any leak when > they > are not embedded! What cause this? Is it solveable? I