FutureWarning in win32com?

Chris Curvey ccurvey at gmail.com
Wed May 11 09:37:33 EDT 2005


Hi all,

When trying to automate IE thru win32com (using PAMIE), I'm getting
this message out

C:\Program Files\Plone
2\Python\lib\site-packages\win32com\client\dynamic.py:463
: FutureWarning: %u/%o/%x/%X of negative int will return a signed
string in Pyth
on 2.4 and up
  debug_attr_print("Getting property Id 0x%x from OLE object" %
retEntry.dispid)

The underlying code works fine (the browser ends up where it's supposed
to), but this warning seems to be actually sent to stdout or stderr --
it's not a raised exception that I can catch.

How can I suppress this message?




More information about the Python-list mailing list