Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert noexcept on _is_reading()
  • Loading branch information
fantix committed Aug 28, 2024
commit 8793035c9c527809a6668b7eaa2dce6299e8ba45
2 changes: 1 addition & 1 deletion uvloop/handles/basetransport.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ cdef class UVBaseTransport(UVSocketHandle):
cdef _new_socket(self)
cdef size_t _get_write_buffer_size(self)

cdef bint _is_reading(self) noexcept
cdef bint _is_reading(self)
cdef _start_reading(self)
cdef _stop_reading(self)
2 changes: 1 addition & 1 deletion uvloop/handles/basetransport.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ cdef class UVBaseTransport(UVSocketHandle):
self._extra_info = {}
self._extra_info[name] = obj

cdef bint _is_reading(self) noexcept:
cdef bint _is_reading(self):
raise NotImplementedError

cdef _start_reading(self):
Expand Down
2 changes: 1 addition & 1 deletion uvloop/handles/stream.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ cdef class UVStream(UVBaseTransport):
cdef inline _close_on_read_error(self):
self.__read_error_close = 1

cdef bint _is_reading(self) noexcept:
cdef bint _is_reading(self):
return self.__reading

cdef _start_reading(self):
Expand Down
2 changes: 1 addition & 1 deletion uvloop/handles/udp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ cdef class UDPTransport(UVBaseTransport):
return 0
return (<uv.uv_udp_t*>self._handle).send_queue_size

cdef bint _is_reading(self) noexcept:
cdef bint _is_reading(self):
return self.__receiving

cdef _start_reading(self):
Expand Down