Sorry, my bad. I was not clear.
So the problem is that my code is documented with sphinx, and if my code 
contains an infinite while loop, then the documentation generator tries to 
discover all function calls, so starts running my infinite loop, which makes it 
run continuously without result. I use the settings of the basic example 
(documentation makefile etc). No plugins used or anything complicated.
Again: sphinx is working fine on ordinary codes. The problem is when the code 
contains some surprise in the form of infinite loops.
My current workaround is a stream editor before calling sphinx, which replaces 
all "while True" with " while False". But I hope there is a better solution.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/82f53d55-f1be-45a7-8916-d66204843f6e%40googlegroups.com.

Reply via email to