| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,10 @@ What's New in Python 3.2.3? | |||
| 10 | 10 | Core and Builtins | |
| 11 | 11 | ----------------- | |
| 12 | 12 | ||
| 13 | + - Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described | ||
| 14 | + as "The pipe is being closed") is now mapped to POSIX errno EPIPE | ||
| 15 | + (previously EINVAL). | ||
| 16 | + | ||
| 13 | 17 | - Issue #12911: Fix memory consumption when calculating the repr() of huge | |
| 14 | 18 | tuples or lists. | |
| 15 | 19 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,6 +72,7 @@ int winerror_to_errno(int winerror) | |||
| 72 | 72 | case 202: return 8; | |
| 73 | 73 | case 206: return 2; | |
| 74 | 74 | case 215: return 11; | |
| 75 | + case 232: return 32; | ||
| 75 | 76 | case 267: return 20; | |
| 76 | 77 | case 1816: return 12; | |
| 77 | 78 | default: return EINVAL; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,9 @@ int main() | |||
| 19 | 19 | /* Issue #12802 */ | |
| 20 | 20 | if (i == ERROR_DIRECTORY) | |
| 21 | 21 | errno = ENOTDIR; | |
| 22 | + /* Issue #13063 */ | ||
| 23 | + else if (i == ERROR_NO_DATA) | ||
| 24 | + errno = EPIPE; | ||
| 22 | 25 | else | |
| 23 | 26 | continue; | |
| 24 | 27 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments