as "The pipe is being closed") is now mapped to POSIX errno EPIPE
(previously EINVAL).
Core and Builtins
-----------------
+- Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described
+ as "The pipe is being closed") is now mapped to POSIX errno EPIPE
+ (previously EINVAL).
+
- Issue #12911: Fix memory consumption when calculating the repr() of huge
tuples or lists.
case 202: return 8;
case 206: return 2;
case 215: return 11;
+ case 232: return 32;
case 267: return 20;
case 1816: return 12;
default: return EINVAL;
/* Issue #12802 */
if (i == ERROR_DIRECTORY)
errno = ENOTDIR;
+ /* Issue #13063 */
+ else if (i == ERROR_NO_DATA)
+ errno = EPIPE;
else
continue;
}