> The patch below fixes the problem by not optimizing while 1:pass. > Seems kinda hacky though. > > Neal My version of the patch and a testcase is on SF at: www.python.org/sf/746376 if anyone wants to take a look. While we're focused on the compiler, there is a nasty one still outstanding that relates to the fast_function() optimation: www.python.org/sf/733667 Raymond Hettinger