[Python-bugs-list] [Bug #122780] msvcrt: locking constants aren't defined.

noreply@sourceforge.net noreply@sourceforge.net
Tue, 21 Nov 2000 10:48:06 -0800


Bug #122780, was updated on 2000-Nov-18 10:07
Here is a current snapshot of the bug.

Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: msvcrt: locking constants aren't defined.

Details: 
msvcrt.locking(fd, mode, nbytes):

mode must be one of the following constants:
LK_UNLOCK = 0 # Unlock
LK_LOCK = 1 # Lock
LK_NBLCK = 2 # Non-blocking lock
LK_RLCK = 3 # Lock for read-only
LK_NBRLCK = 4 # Non-blocking lock for read-only

I think that constants should be defined in msvcrt
and written in the docs.


Follow-Ups:

Date: 2000-Nov-21 10:48
By: tim_one

Comment:
Assigned to me.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=122780&group_id=5470