MCPcopy
hub / github.com/python-trio/trio / fileno

Method fileno

src/trio/testing/_fake_net.py:566–567  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

564 recvmsg = _recvmsg
565
566 def fileno(self) -> int:
567 raise NotImplementedError("can't get fileno() for FakeNet sockets")
568
569 def detach(self) -> int:
570 raise NotImplementedError("can't detach() a FakeNet socket")

Callers 15

__attrs_post_init__Method · 0.45
_epoll_waitMethod · 0.45
notify_closingMethod · 0.45
wakeup_on_signalsMethod · 0.45
_get_underlying_socketFunction · 0.45
_get_base_socketFunction · 0.45
__attrs_post_init__Method · 0.45
_wait_commonMethod · 0.45
notify_closingMethod · 0.45
patched_get_underlyingFunction · 0.45

Calls

no outgoing calls

Tested by 15

patched_get_underlyingFunction · 0.36
fileno_wrapperFunction · 0.36
test_SSLListenerFunction · 0.36
test_from_stdlib_socketFunction · 0.36
test_from_fdFunction · 0.36
test_fromshareFunction · 0.36
test_sniff_sockoptsFunction · 0.36