25 Oct
2012
25 Oct
'12
12:49 a.m.
On 25/10/12 11:43, Guido van Rossum wrote:
What's the problem with just letting the cleanup take as long as it wants to and do whatever it wants?
IIUC, the worry is not about time, it's that either 1) another task could run during the cleanup and mess something up, or 2) an exception could be thrown into the task during the cleanup and prevent it being completed. From a correctness standpoint, it doesn't matter if the cleanup takes a long time, as long as it doesn't yield. -- Greg