File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,7 @@ cdef __convert_python_error(int uverr):
1111
1212 cdef int oserr
1313 if system.PLATFORM_IS_WINDOWS:
14- # XXX Won't work for Windows:
15- # From libuv docs:
16- # Implementation detail: on Unix error codes are the
17- # negated errno (or -errno), while on Windows they
18- # are defined by libuv to arbitrary negative numbers.
19-
14+
2015 # Winloop comment: The following approach seems to work for Windows:
2116 # translation from uverr, which is a negative number like -4088 or -4071
2217 # defined by libuv (as mentioned above), to error numbers obtained via
Original file line number Diff line number Diff line change @@ -165,5 +165,4 @@ void PyOS_AfterFork_Parent() {
165165void PyOS_AfterFork_Child () {
166166 return ;
167167}
168-
169168#endif
You can’t perform that action at this time.
0 commit comments