This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abarry
Recipients Decorater, abarry
Date 2016-07-28.12:21:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469708464.13.0.739971617613.issue27642@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, just add 'global testplugin' at the top of your function, before your import it (you'll also need a global statement if you want to delete/re-import it). You might want to take a look at importlib if you wish to dynamically load modules (especially reloading them, which is a pain).
History
Date User Action Args
2016-07-28 12:21:04abarrysetrecipients: + abarry, Decorater
2016-07-28 12:21:04abarrysetmessageid: <1469708464.13.0.739971617613.issue27642@psf.upfronthosting.co.za>
2016-07-28 12:21:04abarrylinkissue27642 messages
2016-07-28 12:21:04abarrycreate