FutureWarning in win32com?

C

Chris Curvey

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top