Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Future Warning with win32com code

Reply
Thread Tools

Future Warning with win32com code

 
 
R.Marquez
Guest
Posts: n/a
 
      07-23-2003
I finally got around to start testing some of my old apps with Python
2.3. I've had no problems so far, but I did get one intriging
warning. The following is from the Python Command Line:

Python 2.3c1 (#44, Jul 18 2003, 14:32:36) [MSC v.1200 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32com.client
>>> ie=win32com.client.DispatchEx('InternetExplorer.Ap plication.1')
>>> ie.Navigate('http://webserver/SomePage.asp')
>>> print ie.ReadyState

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

4
>>>


The code works well, as can be seen by the returned result. But what
I want to know is what needs to be done to avoid any problems in the
future, with 2.4. Should I submit this to the Win32 extensions
project? Or is it so obvious that it will undoubtedly by resolved and
I shouldn't worry about it?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WARNING! Prosoftstore.com is a SCAM! WARNING! pentologer@gmail.com ASP .Net Web Services 0 07-08-2007 10:03 AM
warning C4267 and warning C4996 B. Williams C++ 17 10-27-2006 09:41 PM
Future Warning with Negative Int brianlum@gmail.com Python 1 04-14-2006 05:36 PM
Warning: WARNING Charles Computer Support 7 08-16-2005 09:07 PM
Re: A code fix for MSVC warning C4267 (64-bit compatibility warning,e.g. Boost Spirit) Pete Becker C++ 0 02-10-2005 01:13 PM



Advertisments