Skip to content

Commit 2df84c2

Browse files
Matus ValoMatus Valo
authored andcommitted
Fix parameter name not supported by Cython 3
Cython 3 stops supporting mangles parameters starting with `__` to reflect python behavior - see: cython/cython@abeb082
1 parent 1a27d40 commit 2df84c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uvloop/loop.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,7 +2750,7 @@ cdef class Loop:
27502750
executable=None,
27512751
pass_fds=(),
27522752
# For tests only! Do not use in your code. Ever.
2753-
__uvloop_sleep_after_fork=False):
2753+
_uvloop_sleep_after_fork=False):
27542754

27552755
# TODO: Implement close_fds (might not be very important in
27562756
# Python 3.5, since all FDs aren't inheritable by default.)
@@ -2770,7 +2770,7 @@ cdef class Loop:
27702770
if executable is not None:
27712771
args[0] = executable
27722772

2773-
if __uvloop_sleep_after_fork:
2773+
if _uvloop_sleep_after_fork:
27742774
debug_flags |= __PROCESS_DEBUG_SLEEP_AFTER_FORK
27752775

27762776
waiter = self._new_future()

0 commit comments

Comments
 (0)