kim...@ya... wrote:
>Hello list,
>
>When I run a PythonCard in my home machine, I am
>getting the message:
>
>E:\Python23\lib\fcntl.py:7: DeprecationWarning: the
>FCNTL module is deprecated; please use fcntl
>DeprecationWarning)
>
>
>and the app looks wrong.
>
>What should I do?
>
>
As far as I can tell, there is no reference to fcntl (or FCNTL) from
anywhere within Pythoncard, so I would guess it's coming form the app
itself (or some other lib that is being included).
If you get the error from the Pythoncard sample, then I'm very surprised
and wrong - please let us know all the version numbers (Python,
wxPython, Pythoncard) and OS/version.
If it is only this one app, then you need to find where in the app it is
doing an
import FCNTL
and change all references to from FCNTL to fcntl. (Sorry, I don't have
any docs from Python pre-2.3, so I can't check if there were differences
that would require the app to be changed).
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005
|