Skip to content

Commit 17c2316

Browse files
ronaldoussorenambv
andauthored
bpo-42971: Add errno.EQFULL (macOS) (GH-24419)
Co-authored-by: Łukasz Langa <[email protected]>
1 parent e9a6f1b commit 17c2316

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

Doc/library/errno.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,3 +637,8 @@ defined by the module. The specific list of defined symbols is available as
637637

638638
Quota exceeded
639639

640+
.. data:: EQFULL
641+
642+
Interface output queue is full
643+
644+
.. versionadded:: 3.11
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add definition of ``errno.EQFULL`` for platforms that define this constant
2+
(such as macOS).

Modules/errnomodule.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,9 @@ errno_exec(PyObject *module)
920920
#ifdef ESHLIBVERS
921921
add_errcode("ESHLIBVERS", ESHLIBVERS, "Shared library version mismatch");
922922
#endif
923+
#ifdef EQFULL
924+
add_errcode("EQFULL", EQFULL, "Interface output queue is full");
925+
#endif
923926

924927
Py_DECREF(error_dict);
925928
return 0;

0 commit comments

Comments
 (0)