python beginner problem(?)
Steve Holden
steve at holdenweb.com
Wed Feb 6 21:36:37 EST 2008
Steve Holden wrote:
> Alan Illeman wrote:
>> Win2k Pro - installed python: ok
>>
[...]
>> =================================================
>>>>> C:\Python25\Lib\site-packages\pythonwin\pywin\mfc\object.py:
>> 23: DeprecationWarning: raising a string exception is deprecated
>> raise win32ui.error, "The MFC object has died."
>> pwd=secret;database=master;uid=sa;server=mpilgrim
>> =================================================
>>
>> DiveIntoPython example 2.1 result:
>> server=mpilgrim;uid=sa;database=master;pwd=secret
>>
>> ..which I realise is essentially the same (except for order).
>>
>> I haven't ever (not that I remember) installed MFC.
>>
>> Help!
>>
[...]
> I am hugely surprised to find that PythonWin apparently raises string
> exceptions: this is an old programming technique, which should have been
> removed from anything designed to run on Python 2.5. That is why you see
> the message: it's only a warning, so you can ignore it. I am copying
> Mark on this message in case he's unaware of the issue.
[...]
In a private reply Mark Hammond says he will fix this in the next
release - thanks for the report!
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list