Alex James <ac.ja...@shaw.ca> added the comment: Ok Jesse, that did stop the bomb problem. Unfortunately the real code belongs in a scientific research distributable module that is called by another function in the module where both have been imported into the script that is run. So it isn't being called by __main__ in the first place. So we'll have to make sure client scripts are encapsulated with the if __name__ == '__main__' by our collegues running windows. Aka I expect to recieve this same bug report. I'll go through the docs again, but I didn't find any built-in way to get the recursion level of an operation (other than the 0 = __main__ level).
Looking like this just turned into a feature request. ---------- type: crash -> feature request _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com