Re: where to put global testing value

2014-04-29 Thread Ned Batchelder
On 4/29/14 12:17 PM, Robin Becker wrote: A user complains that under AppEngine I'm not allowed to import __main__. I can fix this issue merely by putting a try block around the offending import which is only used like this import __main__ testing = getattr(__main__,'_rl_testing',False) del __m

where to put global testing value

2014-04-29 Thread Robin Becker
A user complains that under AppEngine I'm not allowed to import __main__. I can fix this issue merely by putting a try block around the offending import which is only used like this import __main__ testing = getattr(__main__,'_rl_testing',False) del __main__ this is only used as a hack way,