pytalloc: Check for errors during module initialization.