FCNTL module deprecation warning
Peter Hansen
peter at engcorp.com
Tue Jul 15 10:25:14 EDT 2003
Sybren Stuvel wrote:
>
> Meyer, Tony enlightened us with:
> > C:\Program Files\Python23\lib\fcntl.py:7: DeprecationWarning: the
> > FCNTL module is deprecated; please use fcntl
>
> Seems you're using windoze.
>
> > It seems to be saying that I shouldn't use "import FCNTL" (which gives
> > the same warning), but "import fcntl", but that's what I _am_ doing.
>
> Windoze has a case insensitive filesystem, and thus it can't see the
> difference between FCNTL and fcntl. Try removing the depricated FCNTL
> from your harddisk, or rename it to FCNTL-dep.py.
And check for any .pyc files that might be involved, like FCNTL.pyc,
since they might be confusing things even more...
More information about the Python-list
mailing list