Skip to content

Commit bdc3c69

Browse files
committed
[GR-12669] Add EAGAIN and EWOULDBLOCK to ErrnoModuleBuiltins.
1 parent 03046ae commit bdc3c69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/ErrnoModuleBuiltins.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,9 @@ public void initialize(PythonCore core) {
192192
builtinConstants.put("ENOTRECOVERABLE", 131);
193193
builtinConstants.put("ERFKILL", 132);
194194
builtinConstants.put("EHWPOISON", 133);
195+
196+
// added manually
197+
builtinConstants.put("EAGAIN", 11);
198+
builtinConstants.put("EWOULDBLOCK", 11);
195199
}
196200
}

0 commit comments

Comments
 (0)