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 SilentGhost
Recipients SilentGhost, dstufft, eric.araujo, sylvain.corlay
Date 2016-04-04.10:01:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459764086.01.0.572907761907.issue26689@psf.upfronthosting.co.za>
In-reply-to
Content
I understand that you're copying approach of has_function, but shouldn't you remove this temporary file at the end of the function? Perhaps using tempfile.NamedTemporaryFile would be a better solution (both in has_flag and has_function). Also import can be moved to the top level, since it's used in more than one method.
History
Date User Action Args
2016-04-04 10:01:26SilentGhostsetrecipients: + SilentGhost, eric.araujo, dstufft, sylvain.corlay
2016-04-04 10:01:26SilentGhostsetmessageid: <1459764086.01.0.572907761907.issue26689@psf.upfronthosting.co.za>
2016-04-04 10:01:25SilentGhostlinkissue26689 messages
2016-04-04 10:01:25SilentGhostcreate