mirror of https://github.com/python/cpython
bpo-42971: Add errno.EQFULL (macOS) (GH-24419)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
e9a6f1b78b
commit
17c2316794
|
@ -637,3 +637,8 @@ defined by the module. The specific list of defined symbols is available as
|
|||
|
||||
Quota exceeded
|
||||
|
||||
.. data:: EQFULL
|
||||
|
||||
Interface output queue is full
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Add definition of ``errno.EQFULL`` for platforms that define this constant
|
||||
(such as macOS).
|
|
@ -920,6 +920,9 @@ errno_exec(PyObject *module)
|
|||
#ifdef ESHLIBVERS
|
||||
add_errcode("ESHLIBVERS", ESHLIBVERS, "Shared library version mismatch");
|
||||
#endif
|
||||
#ifdef EQFULL
|
||||
add_errcode("EQFULL", EQFULL, "Interface output queue is full");
|
||||
#endif
|
||||
|
||||
Py_DECREF(error_dict);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue