[issue6147] multithreading.Pool.map() crashes Windows computer

Alex James report at bugs.python.org
Mon Jun 1 04:43:04 CEST 2009


Alex James <ac.james at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6147>
_______________________________________


More information about the Python-bugs-list mailing list