Skip to content

Commit 0bb1a68

Browse files
committed
cleanup errors.pyx comments
1 parent 6827264 commit 0bb1a68

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

uvloop/errors.pyx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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

uvloop/includes/compat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,4 @@ void PyOS_AfterFork_Parent() {
165165
void PyOS_AfterFork_Child() {
166166
return;
167167
}
168-
169168
#endif

0 commit comments

Comments
 (0)