| Function | datetime_from_tuple | Create a datetime from a sequence that quacks like time.struct_time. |
| Function | run_with_login | Run 'function' logged in with 'login_id'. |
| Class | CodehostingAPI | See ICodehostingAPI. |
The tm_isdst is (index 8) is ignored. The created datetime uses tzinfo=UTC.
The first argument passed to 'function' will be the Launchpad
Person object corresponding to 'login_id'.
The exception is when the requesting login ID is LAUNCHPAD_SERVICES. In
that case, we'll pass through the LAUNCHPAD_SERVICES variable and the
method will do whatever security proxy hackery is required to provide read
privileges to the Launchpad services.