FCNTL module deprecation warning

Meyer, Tony T.A.Meyer at massey.ac.nz
Tue Jul 15 10:23:08 CEST 2003


(I did try to google for an answer to this, but couldn't find anything,
although plenty of instances of the warning).

I don't understand this warning:
>>> import fcntl
C:\Program Files\Python23\lib\fcntl.py:7: DeprecationWarning: the FCNTL
module is deprecated; please use fcntl
  DeprecationWarning)
>>> 

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.

(I don't actually even import fnctl, but httplib does, and causes this
all over the place.

Any light shedding would be appreciated.

=Tony Meyer





More information about the Python-list mailing list