This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients docs@python, vstinner
Date 2015-11-12.09:29:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447320542.54.0.969865888179.issue25605@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-11-12 09:29:02vstinnersetrecipients: + vstinner, docs@python
2015-11-12 09:29:02vstinnersetmessageid: <1447320542.54.0.969865888179.issue25605@psf.upfronthosting.co.za>
2015-11-12 09:29:02vstinnerlinkissue25605 messages
2015-11-12 09:29:02vstinnercreate