Skip to content

Commit

Permalink
fix: cannot access name-mangled __loop
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Nov 23, 2024
1 parent 9eb6aa0 commit 273034e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/primitives/locks/prio_semaphore.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ cdef class _AbstractPrioritySemaphoreContextManager(Semaphore):
while self._parent._Semaphore__value <= 0:
if self._AbstractPrioritySemaphoreContextManager__waiters is None:
self._AbstractPrioritySemaphoreContextManager__waiters = deque()
fut = (self.__loop or self._c_get_loop()).create_future()
fut = self._c_get_loop().create_future()
self._AbstractPrioritySemaphoreContextManager__waiters.append(fut)
self._parent._potential_lost_waiters.append(fut)
try:
Expand Down

0 comments on commit 273034e

Please sign in to comment.