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 barry, bochecha, martin.panter, pitrou, tshepang, vstinner
Date 2014-10-27.13:36:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414417008.15.0.93188889389.issue22678@psf.upfronthosting.co.za>
In-reply-to
Content
The PEP 3151 introduced "specialized" subclasses of OSError. Antoine Pitrou conducted a survey to decide which errors are common enough to merit a builtin exception:
http://legacy.python.org/dev/peps/pep-3151/#appendix-a-survey-of-common-errnos

ENOSPC is not mentionned in the PEP. According to 0002-Use-the-new-NoSpaceError.patch the error is rare: only used *once* in Python... and only in a very specific unit test (to workaround an issue on a specific buildbot...).

It looks like ENOSPC is available on Linux, Windows, FreeBSD and Mac OS X. It is part of the POSIX standad, ex:
http://pubs.opengroup.org/onlinepubs/009604599/basedefs/errno.h.html
History
Date User Action Args
2014-10-27 13:36:48vstinnersetrecipients: + vstinner, barry, pitrou, bochecha, tshepang, martin.panter
2014-10-27 13:36:48vstinnersetmessageid: <1414417008.15.0.93188889389.issue22678@psf.upfronthosting.co.za>
2014-10-27 13:36:48vstinnerlinkissue22678 messages
2014-10-27 13:36:47vstinnercreate