[python-win32] Re: wmi + pythonservice : multithreading issues
Mark Hammond
mhammond at skippinet.com.au
Tue Aug 31 00:28:47 CEST 2004
> As this "Future Warning" thing seems to come from win32com, sure that
> Mark Hammond knows about it.
Actually, the warning in your original message was:
D:\Python23\lib\site-packages\wmi.py:126: FutureWarning: hex()/oct() of
negative int will return a signed string in Python 2.4 and up
exception_string = ["%s - %s" % (hex (hresult_code), hresult_name)]
Which looks like it is in wmi.py, not win32com. A "hex()" on a COM error
code will almost always yield that error (as all COM error codes are
negative)
I believe almost all furture warnings are removed from win32com (but also
believe one or 2 obscure cases still exist). I'd be happy to get mail when
you hit one.
Mark.
More information about the Python-win32
mailing list