MCPcopy Create free account

hub / github.com/twisted/twisted / functions

Functions25,749 in github.com/twisted/twisted

↓ 9 callersMethod_simpleEqualityTest
Assert that instances of C{cls} with the same attributes compare equal to each other and instances with different attributes compare
src/twisted/names/test/test_dns.py:1895
↓ 9 callersMethod_spawnProcess
Launch a child Python process and communicate with it using the given ProcessProtocol. @param proto: A L{ProcessProtocol} in
src/twisted/test/test_stdio.py:90
↓ 9 callersMethod_test
Implementation of C{_test} which checks that the command sends C{send} data, and that upon reception of C{recv} the result is C{resul
src/twisted/test/test_memcache.py:255
↓ 9 callersMethodaccess
Determine whether access to the given path is allowed. @param path: The path, as a list of segments @return: A Deferred whi
src/twisted/protocols/ftp.py:1827
↓ 9 callersMethodargTest
( self, argKlass: Callable[Concatenate[str, _P], formmethod.Argument], testPairs: Iter
src/twisted/test/test_formmethod.py:21
↓ 9 callersMethodaskForAuth
Send a C{MSG_USERAUTH_REQUEST}. @param kind: the authentication method to try. @param extraData: method-specific data to go
src/twisted/conch/ssh/userauth.py:436
↓ 9 callersMethodassertChokesOnBadBytes
Asserts that IRCUser sends the relevant error code when a given irc_x dispatch method is given undecodable bytes. @param irc
src/twisted/words/test/test_irc_service.py:215
↓ 9 callersMethodassertWrapped
(self, wrappedResult, test)
src/twisted/trial/test/test_reporter.py:1424
↓ 9 callersMethodbuildSettingsFrame
Builds a single settings frame.
src/twisted/web/test/test_http2.py:101
↓ 9 callersMethodcallback
Call all registered callbacks. The passed arguments are event specific and augment and override the callback specific argume
src/twisted/words/xish/utility.py:85
↓ 9 callersMethodcancel
(ign)
src/twisted/web/test/test_newclient.py:1921
↓ 9 callersMethodcloneNode
(self, deep=0, parent=None)
src/twisted/web/microdom.py:208
↓ 9 callersMethodclose
Do nothing.
src/twisted/python/log.py:688
↓ 9 callersMethodclose
Close the FD. If it's already been closed, do nothing.
src/twisted/python/test/test_sendmsg.py:68
↓ 9 callersMethodcomplete
There should be a single websocket connection in progress; complete it. @param greet: Should we immediately issue a greeting, i.e. d
src/twisted/web/test/test_websocket.py:175
↓ 9 callersMethodconnectSSL
Fake L{IReactorSSL.connectSSL}, that logs the call and returns an L{IConnector}.
src/twisted/internet/testing.py:757
↓ 9 callersMethodconnectionLost
(self, reason)
src/twisted/words/test/test_jabberxmlstream.py:940
↓ 9 callersMethodconnectionLost
(self, reason: Failure)
src/twisted/web/test/test_websocket.py:99
↓ 9 callersMethodconnectionLost
(self, reason)
src/twisted/mail/smtp.py:699
↓ 9 callersMethodconnectionMade
(self)
src/twisted/words/test/test_irc.py:1805
↓ 9 callersFunctioncontained
Assert that the given capability is included in all of the capability sets. @param testcase: A L{unittest.TestCase} to use to make asser
src/twisted/mail/test/test_pop3.py:868
↓ 9 callersMethodcreateElement
(self, name, **kw)
src/twisted/web/microdom.py:373
↓ 9 callersFunctioncreateMemoryWorker
Create an L{IWorker} that does nothing but defer work, to be performed later. @return: a worker that will enqueue work to perform later,
src/twisted/_threads/_memory.py:63
↓ 9 callersFunctioncreateTestSocket
Create a socket for the duration of the given test. @param test: the test to add cleanup to. @param addressFamily: an C{AF_*} constant
src/twisted/internet/test/test_tcp.py:1294
↓ 9 callersMethodctcpMakeReply
Send one or more C{extended messages} as a CTCP reply. @type messages: a list of extended messages. An extended message is
src/twisted/words/protocols/irc.py:2566
↓ 9 callersMethodcursorDown
(self, n=1)
src/twisted/conch/insults/helper.py:232
↓ 9 callersMethoddelete
Delete a mailbox This command is allowed in the Authenticated and Selected states. @type name: L{str} @param name:
src/twisted/mail/imap4.py:3233
↓ 9 callersMethodemit
Format the given log event as text and write it to the output file. @param eventDict: a log event
src/twisted/python/log.py:540
↓ 9 callersFunctionerrnoToFailure
Map C{OSError} and C{IOError} to standard FTP errors.
src/twisted/protocols/ftp.py:229
↓ 9 callersMethodescapePath
Returns a FTP escaped path (replace newlines with nulls).
src/twisted/protocols/ftp.py:3079
↓ 9 callersMethodfcntl
Fake fcntl.fcntl for CLOEXEC file descriptor enumeration.
src/twisted/test/test_process.py:1328
↓ 9 callersMethodfillSlots
Remember the slots provided at this position in the DOM. During the rendering of children of this node, slots with names in
src/twisted/web/_stan.py:151
↓ 9 callersFunctionfindFreePort
Ask the platform to allocate a free port on the specified interface, then release the socket and return the address which was allocated.
src/twisted/internet/test/connectionmixins.py:34
↓ 9 callersMethodflush
(self)
src/twisted/trial/test/test_reporter.py:52
↓ 9 callersMethodflush
(self)
src/twisted/web/test/test_agent.py:2480
↓ 9 callersFunctiongetDeprecationWarningString
Return a string indicating that the callable was deprecated in the given version. @type callableThing: C{callable} @param callableTh
src/twisted/python/deprecate.py:214
↓ 9 callersMethodgetFileEntry
Return an appropriate zip file entry
src/twisted/python/test/test_zipstream.py:22
↓ 9 callersMethodgetPeer
(self)
src/twisted/protocols/amp.py:2628
↓ 9 callersFunctiongetPlugins
Retrieve all plugins implementing the given interface beneath the given module. @param interface: An interface class. Only plugins which im
src/twisted/plugin.py:200
↓ 9 callersMethodgetPlugins
(interface)
src/twisted/test/test_twistd.py:178
↓ 9 callersMethodgetThreadPool
See L{twisted.internet.interfaces.IReactorThreads.getThreadPool}.
src/twisted/internet/base.py:1175
↓ 9 callersMethodgrow
Increase the the number of idle workers by C{n}. @param n: The number of new idle workers to create. @type n: L{int}
src/twisted/_threads/_team.py:117
↓ 9 callersMethodhasAttribute
Determine if the specified attribute exists
src/twisted/words/xish/domish.py:494
↓ 9 callersMethodisSecure
Return L{True} if this request is using a secure transport. Normally this method returns L{True} if this request's L{HTTPChannel}
src/twisted/web/http.py:1655
↓ 9 callersMethodislink
(self)
src/twisted/python/zippath.py:161
↓ 9 callersMethodkill
Override C{os.kill}: save the action and raise C{self.raiseKill} if specified.
src/twisted/test/test_process.py:1587
↓ 9 callersMethodlistenSSL
Fake L{IReactorSSL.listenSSL}, that logs the call and returns an L{IListeningPort}.
src/twisted/internet/testing.py:749
↓ 9 callersMethodloadAnything
Load absolutely anything (as long as that anything is a module, package, class, or method (with associated parent class and qualname)
src/twisted/trial/runner.py:628
↓ 9 callersMethodloadByName
Load some tests by name. @param name: The qualified name for the test to load. @param recurse: A boolean. If True, inspect m
src/twisted/trial/runner.py:676
↓ 9 callersMethodloadSuite
Load tests from the given test case class and create a new reporter to use for running it.
src/twisted/trial/test/test_tests.py:49
↓ 9 callersMethodlock
(self)
src/twisted/python/roots.py:216
↓ 9 callersMethodmakeConnection
(self, transport: ITCPTransport)
docs/core/howto/listings/ssl/wrapped_client.py:14
↓ 9 callersMethodmakeSourceFile
Write the given list of lines to a text file and return the absolute path to it.
src/twisted/test/test_iutils.py:36
↓ 9 callersMethodmktemp
(self)
src/twisted/names/test/test_hosts.py:28
↓ 9 callersFunctionneedsRunningReactor
Various functions within these tests need an already-running reactor at some point. They need to stop the reactor when the test has complete
src/twisted/internet/test/reactormixins.py:56
↓ 9 callersFunctionnewFakeSocket
(recvBuf: bytes = b"")
src/twisted/internet/test/test_fakes.py:108
↓ 9 callersMethodpause
Stop processing on a L{Deferred} until L{unpause}() is called.
src/twisted/internet/defer.py:922
↓ 9 callersMethodprePathURL
(self)
src/twisted/web/server.py:558
↓ 9 callersMethodprintTraceback
Emulate Python's standard error reporting mechanism. @param file: If specified, a file-like object to which to write the
src/twisted/python/failure.py:582
↓ 9 callersMethodprocessEnded
Called by Twisted when the cftp client process ends.
src/twisted/conch/test/test_cftp.py:884
↓ 9 callersFunctionproto
Produce a new tag for testing.
src/twisted/web/test/test_stan.py:17
↓ 9 callersMethodput
Add an object to this queue. @raise QueueOverflow: Too many objects are in this queue.
src/twisted/internet/defer.py:2379
↓ 9 callersMethodquery
Raises the supplied arguments. @param args: Positional arguments @type args: L{tuple} @param kwargs: Keyword args
src/twisted/names/test/test_server.py:150
↓ 9 callersMethodraiseException
raise the original exception, preserving traceback information if available.
src/twisted/python/failure.py:450
↓ 9 callersMethodreserve
See L{_IFileDescriptorReservation.reserve}.
src/twisted/internet/tcp.py:1042
↓ 9 callersMethodresolveHostName
( resolutionReceiver, hostName, portNumber=0, addressTypes=Non
src/twisted/internet/test/test_endpoints.py:1749
↓ 9 callersMethodrestore
()
src/twisted/test/test_failure.py:876
↓ 9 callersMethodresumeProducing
(self)
src/twisted/web/test/test_newclient.py:1988
↓ 9 callersMethodrunQuery
Execute an SQL query and return the result. A DB-API cursor which will be invoked with C{cursor.execute(*args, **kw)}. The e
src/twisted/enterprise/adbapi.py:329
↓ 9 callersMethodrunUntilCurrent
Run all pending timed calls.
src/twisted/internet/base.py:1041
↓ 9 callersMethodsavedEventJSON
Serialize some an events, assert some things about it, and return the JSON. @param event: An event. @return: JSON.
src/twisted/logger/test/test_json.py:57
↓ 9 callersMethodsend
Send the given message to the given user or group. @type recipient: Either L{IUser} or L{IGroup} @type message: C{dict}
src/twisted/words/iwords.py:169
↓ 9 callersMethodsend
I{Send} all of C{bytes} by accumulating it into the associated L{SocketState.sendBuffer}. @return: The length of C{bytes}, indicatin
src/twisted/internet/test/test_fakes.py:52
↓ 9 callersMethodsendCall
Utility method to send an expression to the other side of the connection. @param exp: The expression.
src/twisted/spread/pb.py:634
↓ 9 callersMethodsendGlobalRequest
Send a global request for this connection. Current this is only used for remote->local TCP forwarding. @type request:
src/twisted/conch/ssh/connection.py:406
↓ 9 callersMethodsendShort
Send a POP3 command to which a short response is expected. Block all further commands from being sent until the response is
src/twisted/mail/_pop3client.py:304
↓ 9 callersMethodsetLineMode
Sets the line-mode of this receiver. If you are calling this from a rawDataReceived callback, you can pass in extra unhandle
src/twisted/protocols/basic.py:561
↓ 9 callersFunctionsocketpair
()
src/twisted/internet/test/test_fdset.py:29
↓ 9 callersMethodssh_KEXINIT
Called when we receive a MSG_KEXINIT message. Payload:: bytes[16] cookie string keyExchangeAlgorithms st
src/twisted/conch/ssh/transport.py:868
↓ 9 callersMethodssh_KEX_DH_GEX_REQUEST_OLD
This represents different key exchange methods that share the same integer value (30). If the message is determined to be a KEXDH_IN
src/twisted/conch/ssh/transport.py:1687
↓ 9 callersFunctionstartLogging
Initialize logging to a specified file. @return: A L{FileLogObserver} if a new observer is added, None otherwise.
src/twisted/python/log.py:640
↓ 9 callersMethodsuccess
Shortcut method to fire the underlying deferred.
src/twisted/protocols/memcache.py:86
↓ 9 callersFunctiontextFileLogObserver
Create a L{FileLogObserver} that emits text to a specified (writable) file-like object. @param outFile: A file-like object. Ideally one
src/twisted/logger/_file.py:58
↓ 9 callersMethodtimeout
Determine the longest time the reactor may sleep (waiting on I/O notification, perhaps) before it must wake up to service a time-rela
src/twisted/internet/base.py:1013
↓ 9 callersMethodupdate
Update this dictionary with domain name/domain object pairs from another dictionary. When this dictionary contains a domain
src/twisted/mail/mail.py:296
↓ 9 callersMethodwaitFor
Observe an output event, returning a deferred. The returned deferred will be fired when the given event has been observed on
src/twisted/words/test/test_jabberclient.py:76
↓ 9 callersMethodwasSuccessful
Report whether or not this test suite was successful or not. The behaviour of this method changed in L{pyunit} in Python 3.4 to
src/twisted/trial/reporter.py:244
↓ 9 callersMethodwhenDone
Get a L{Deferred} notification of when this task is complete. @return: a L{Deferred} that fires with the C{iterator} that this
src/twisted/internet/task.py:422
↓ 9 callersMethodwrite
(ignored)
src/twisted/test/test_tcp.py:1583
↓ 8 callersMethod_asBytesPath
Return the path of this L{FilePath} as bytes. @param encoding: The encoding to use if coercing to L{bytes}. If none is g
src/twisted/python/filepath.py:856
↓ 8 callersMethod_checkObserver
Ensure that initial C{twistd} logs are written to logs. @param observer: The observer made by L{self._makeObserver).
src/twisted/test/test_twistd.py:1391
↓ 8 callersMethod_deliver
Pass the given bytes to the protocol's C{dataReceived} method and assert that the given events occur.
src/twisted/conch/test/test_telnet.py:810
↓ 8 callersMethod_disconnectSelectable
Utility function for disconnecting a selectable. Supports half-close notification, isRead should be boolean indicating wheth
src/twisted/internet/posixbase.py:86
↓ 8 callersMethod_formatFailureTraceback
(self, fail)
src/twisted/trial/reporter.py:638
↓ 8 callersMethod_fromRSAComponents
Build a key from RSA numerical components. @type n: L{int} @param n: The 'n' RSA variable. @type e: L{int}
src/twisted/conch/ssh/keys.py:751
↓ 8 callersMethod_getPathAsSameTypeAs
If C{pattern} is C{bytes}, return L{FilePath.path} as L{bytes}. Otherwise, return L{FilePath.path} as L{unicode}. @param pat
src/twisted/python/filepath.py:904
↓ 8 callersFunction_iterateTests
Iterate through all of the test cases in C{testSuiteOrCase}.
src/twisted/trial/_asyncrunner.py:164
↓ 8 callersFunction_makeRequestProxyFactory
Return a callable that proxies instances of C{clsToWrap} via L{_IDeprecatedHTTPChannelToRequestInterface}. @param clsToWrap: The cla
src/twisted/web/test/test_http.py:66
↓ 8 callersMethod_ourServerOurClientTest
Create a connected SSH client and server protocol pair and return a L{Deferred} which fires with an L{SSHTestChannel} instance connec
src/twisted/conch/test/test_ssh.py:554
↓ 8 callersMethod_parserTest
Passes a sentence to the protocol and gets the parsed sentence from the receiver. Then verifies that the parsed sentence contains the
src/twisted/positioning/test/test_nmea.py:318
← previousnext →801–900 of 25,749, ranked by callers