[New-bugs-announce] [issue25605] fcntl doc: document exceptions raised on error for ioctl() and flock()

STINNER Victor report at bugs.python.org
Thu Nov 12 04:29:02 EST 2015


New submission from STINNER Victor:

Attached patch documents the exception raised when ioctl() or flock() functions fail.

Note: flock() can also raises a ValueError if the second parameter (op) is unknown.

If the patch is approved, I will write a similar patch for Python 3 (just replace IOError with OSError in Python 3 doc).

Python 2 online doc:
https://docs.python.org/2/library/fcntl.html

Python 3 online doc:
https://docs.python.org/dev/library/fcntl.html

----------
assignee: docs at python
components: Documentation
files: fcntl_doc.patch
keywords: patch
messages: 254524
nosy: docs at python, haypo
priority: normal
severity: normal
status: open
title: fcntl doc: document exceptions raised on error for ioctl() and flock()
versions: Python 2.7
Added file: http://bugs.python.org/file41020/fcntl_doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25605>
_______________________________________


More information about the New-bugs-announce mailing list