the FCNTL module is deprecated (fixed!)

Rob McCrea robmccrea at spaamadelphiaspremoveam.net
Mon Sep 13 17:26:51 EDT 2004


Lenard Lindstrom wrote:

> Rob McCrea <robmccrea at spaamadelphiaspremoveam.net> writes:
> 
>>I wrote:
>>
>>>Hi all,
>>
>>"""start testhelp.py"""
>>
>>class Object:
>>     def __init__(self):
>>         pass
>>
>>help(Object)
>>
>>"""end testhelp.py"""
>>
>>  > C:\PYTHON23\lib\fcntl.py:7: DeprecationWarning: the FCNTL module is
>>
>>>deprecated;
>>>please use fcntl
>>>  DeprecationWarning)
>>>Help on class Object in module __main__:
>>>class Object
>>> |  class Object is an empty testing class
>>> |
>>> |  Methods defined here:
>>> |
>>> |  __init__(self)
>>>"""end output"""
>>
> I am running Windows 98 and do not get the deprecation warning. After
> some searching I chased the problem down to the PYTHONCASEOK environment
> variable, which is not defined on my system.
> 
> Lenard Lindstrom
> <len-l at telus.net>

Thanks very much, Lenard, It's fixed.

Rob



More information about the Python-list mailing list