multiprocessing.pool.AsyncResult.get()

get([timeout]) Return the result when it arrives. If timeout is not None and the result does not arrive within timeout seconds then multiprocessing.TimeoutError is raised. If the remote call raised an exception then that exception will be reraised by get().

threading.Thread.join()

join(timeout=None) Wait until the thread terminates. This blocks the calling thread until the thread whose join() method is called terminates – either normally or through an unhandled exception –, or until the optional timeout occurs. When the timeout argument is present and not None, it should be a floating point number specifying a timeout for the operation in seconds (or fractions thereof). As join() always returns None, you must call is_alive() after join() to decide whether a timeout ha

asyncio.BaseSubprocessTransport.close()

close() Ask the subprocess to stop by calling the terminate() method if the subprocess hasn’t returned yet, and close transports of all pipes (stdin, stdout and stderr).

smtplib.SMTPConnectError

exception smtplib.SMTPConnectError Error occurred during establishment of a connection with the server.

test.support.captured_stdout()

test.support.captured_stdout() test.support.captured_stderr() A context managers that temporarily replaces the named stream with io.StringIO object. Example use with output streams: with captured_stdout() as stdout, captured_stderr() as stderr: print("hello") print("error", file=sys.stderr) assert stdout.getvalue() == "hello\n" assert stderr.getvalue() == "error\n" Example use with input stream: with captured_stdin() as stdin: stdin.write('hello\n') stdin.seek(0) # call t

asyncio.Semaphore.locked()

locked() Returns True if semaphore can not be acquired immediately.

math.erf()

math.erf(x) Return the error function at x. The erf() function can be used to compute traditional statistical functions such as the cumulative standard normal distribution: def phi(x): 'Cumulative distribution function for the standard normal distribution' return (1.0 + erf(x / sqrt(2.0))) / 2.0 New in version 3.2.

http.cookiejar.Cookie.rfc2109

Cookie.rfc2109 True if this cookie was received as an RFC 2109 cookie (ie. the cookie arrived in a Set-Cookie header, and the value of the Version cookie-attribute in that header was 1). This attribute is provided because http.cookiejar may ‘downgrade’ RFC 2109 cookies to Netscape cookies, in which case version is 0.

nntplib.NNTP.quit()

NNTP.quit() Send a QUIT command and close the connection. Once this method has been called, no other methods of the NNTP object should be called.

UnicodeError.object

object The object the codec was attempting to encode or decode.