netrc.NetrcParseError

exception netrc.NetrcParseError Exception raised by the netrc class when syntactical errors are encountered in source text. Instances of this exception provide three interesting attributes: msg is a textual explanation of the error, filename is the name of the source file, and lineno gives the line number on which the error was found.

netrc.netrc.__repr__()

netrc.__repr__() Dump the class data as a string in the format of a netrc file. (This discards comments and may reorder the entries.)

netrc.netrc.macros

netrc.macros Dictionary mapping macro names to string lists.

netrc.netrc.hosts

netrc.hosts Dictionary mapping host names to (login, account, password) tuples. The ‘default’ entry, if any, is represented as a pseudo-host by that name.

netrc.netrc.authenticators()

netrc.authenticators(host) Return a 3-tuple (login, account, password) of authenticators for host. If the netrc file did not contain an entry for the given host, return the tuple associated with the ‘default’ entry. If neither matching host nor default entry is available, return None.

netrc.netrc

class netrc.netrc([file]) A netrc instance or subclass instance encapsulates data from a netrc file. The initialization argument, if present, specifies the file to parse. If no argument is given, the file .netrc in the user’s home directory will be read. Parse errors will raise NetrcParseError with diagnostic information including the file name, line number, and terminating token. If no argument is specified on a POSIX system, the presence of passwords in the .netrc file will raise a NetrcPa

NameError

exception NameError Raised when a local or global name is not found. This applies only to unqualified names. The associated value is an error message that includes the name that could not be found.

multiprocessing.Value()

multiprocessing.Value(typecode_or_type, *args, lock=True) Return a ctypes object allocated from shared memory. By default the return value is actually a synchronized wrapper for the object. The object itself can be accessed via the value attribute of a Value. typecode_or_type determines the type of the returned object: it is either a ctypes type or a one character typecode of the kind used by the array module. *args is passed on to the constructor for the type. If lock is True (the default)

multiprocessing.TimeoutError

exception multiprocessing.TimeoutError Raised by methods with a timeout when the timeout expires.

multiprocessing.SimpleQueue.put()

put(item) Put item into the queue.