python internal outputs added with duplicated 'oaglue' code