> I have a program that needs to create a great deal of
> threads. Unfortunately, I cannot seem to find a way to lower
> the 1MB default stack size per thread. The threading module
> does not seem to support setting the stack size explicitly.
> I have 1GB of memory on my system so I can only
win32process.beginthreadex allows you to specify the size. However there is
almost certainly a better way of doing what you want than creating that many
threads, generally using non-blocking operations and an IO Completion Port
- what exactly are you doing?
I believe the "stackless" prject is al
Title: 1MB Thread Stack Size
I have a program that needs to create a great deal of threads. Unfortunately, I cannot seem to find a way to lower the 1MB default stack size per thread. The threading module does not seem to support setting the stack size explicitly. I have 1GB of memory on my
> Hi,
> I think I've found a ref-count bug in
win32file.GetQueuedCompletionStatus
You have indeed! GetQueuedCompletionStatus used to assume that the
OVERLAPPED object was previously added to the IOCP via
PortQueuedCompletionStatus. I've now fixed that bug and checked the changes
into CVS.
T
Hi,
I think I've found a ref-count bug in win32file.GetQueuedCompletionStatus
running "svcbug.py s" starts a correct server and "svcbug.py s b"
starts a buggy server.
running "svcbug.py c" starts a client
Hello,
I've solved my problem. After adding CDO to my Outlook installation it
works now:
from win32com.client.dynamic import Dispatch
s=Dispatch("Mapi.session")
s.Logon('Microsoft Outlook')
entries=s.AddressLists('Globales Adressbuch').AddressEntries
for entr in entries:
print entr.Name,ent
> results in
> File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line
> 79, in _GetGoodDispatch
> IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
> pythoncom.IID_IDispatch)
> com_error: (-2147221005, 'Ung\xfcltige Klassenzeichenfolge',
> None, None)
>
> So it seem
Hi Simon,
thanks for the useful link. I think that should help me out, specialy as
I found a mapi viewer on the net wich shows the nessesary ids.
I need the CDO com object. But I get errors, when I trie to open the com
object.
from win32com.client.dynamic import Dispatch
s=Dispatch("Mapi.sessio
Hi,
I think I've found a ref-count bug in win32file.GetQueuedCompletionStatus
running "svcbug.py s" starts a correct server and "svcbug.py s b"
starts a buggy server.
running "svcbug.py c" starts a client