~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Lib/concurrent/futures/process.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
                work_item.future.set_exception(result_item.exception)
214
214
            else:
215
215
                work_item.future.set_result(result_item.result)
216
 
            continue
217
 
        # If we come here, we either got a timeout or were explicitly woken up.
218
 
        # In either case, check whether we should start shutting down.
 
216
        # Check whether we should start shutting down.
219
217
        executor = executor_reference()
220
218
        # No more work items can be added if:
221
219
        #   - The interpreter is shutting down OR
234
232
                    p.join()
235
233
                call_queue.close()
236
234
                return
237
 
            else:
238
 
                # Start shutting down by telling a process it can exit.
239
 
                shutdown_one_process()
240
235
        del executor
241
236
 
242
237
_system_limits_checked = False