
July 29, 2007
4:44 a.m.
Hi Joe, was thinking of messing with the memory allocator yes. maybe there are other areas also, but the memory allocator would be a good place to start.
This could be a compile time option for python, maybe a module thats only built in debug mode, or a seperate option.
import CAPIForceError CAPIForceError.setmemfail(0.01)
...test the apis error stability...
So python could initialize etc without failing, and the test code would have to set the error probability before it runs a script that tests the api.
Joe Eagar wrote:
-- Campbell J Barton (ideasman42)
6438
Age (days ago)
6438
Last active (days ago)
0 comments
1 participants
participants (1)
-
Campbell Barton