msvcrt.open_osfhandle()

msvcrt.open_osfhandle(handle, flags) Create a C runtime file descriptor from the file handle handle. The flags parameter should be a bitwise OR of os.O_APPEND, os.O_RDONLY, and os.O_TEXT. The returned file descriptor may be used as a parameter to os.fdopen() to create a file object.

asyncio.BaseProtocol.connection_made()

BaseProtocol.connection_made(transport) Called when a connection is made. The transport argument is the transport representing the connection. You are responsible for storing it somewhere (e.g. as an attribute) if you need to.

email.message.Message.get_all()

get_all(name, failobj=None) Return a list of all the values for the field named name. If there are no such named headers in the message, failobj is returned (defaults to None).

unittest.TestCase.id()

id() Return a string identifying the specific test case. This is usually the full name of the test method, including the module and class name.

bytearray.rindex()

bytearray.rindex(sub[, start[, end]]) Like rfind() but raises ValueError when the subsequence sub is not found. The subsequence to search for may be any bytes-like object or an integer in the range 0 to 255. Changed in version 3.3: Also accept an integer in the range 0 to 255 as the subsequence.

sys._current_frames()

sys._current_frames() Return a dictionary mapping each thread’s identifier to the topmost stack frame currently active in that thread at the time the function is called. Note that functions in the traceback module can build the call stack given such a frame. This is most useful for debugging deadlock: this function does not require the deadlocked threads’ cooperation, and such threads’ call stacks are frozen for as long as they remain deadlocked. The frame returned for a non-deadlocked threa

xml.parsers.expat.xmlparser.buffer_used

xmlparser.buffer_used If buffer_text is enabled, the number of bytes stored in the buffer. These bytes represent UTF-8 encoded text. This attribute has no meaningful interpretation when buffer_text is false.

locale.getdefaultlocale()

locale.getdefaultlocale([envvars]) Tries to determine the default locale settings and returns them as a tuple of the form (language code, encoding). According to POSIX, a program which has not called setlocale(LC_ALL, '') runs using the portable 'C' locale. Calling setlocale(LC_ALL, '') lets it use the default locale as defined by the LANG variable. Since we do not want to interfere with the current locale setting we thus emulate the behavior in the way described above. To maintain compatibi

json.JSONEncoder.iterencode()

iterencode(o) Encode the given object, o, and yield each string representation as available. For example: for chunk in json.JSONEncoder().iterencode(bigobject): mysocket.write(chunk)

unittest.TestLoader.loadTestsFromName()

loadTestsFromName(name, module=None) Return a suite of all tests cases given a string specifier. The specifier name is a “dotted name” that may resolve either to a module, a test case class, a test method within a test case class, a TestSuite instance, or a callable object which returns a TestCase or TestSuite instance. These checks are applied in the order listed here; that is, a method on a possible test case class will be picked up as “a test method within a test case class”, rather than