This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients gvanrossum, larry, pitrou
Date 2013-10-19.22:32:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382221952.56.0.521470944599.issue19299@psf.upfronthosting.co.za>
In-reply-to
Content
Looks good. How about adding executor.shutdown(wait=False)? E.g.

    def close(self):
        self._ready.clear()
        self._scheduled.clear()
        executor = self._default_executor
        if executor is not None:
            self._default_executor = None
            executor.shutdown(wait=False)

If that works for you, please commit.
History
Date User Action Args
2013-10-19 22:32:32gvanrossumsetrecipients: + gvanrossum, pitrou, larry
2013-10-19 22:32:32gvanrossumsetmessageid: <1382221952.56.0.521470944599.issue19299@psf.upfronthosting.co.za>
2013-10-19 22:32:32gvanrossumlinkissue19299 messages
2013-10-19 22:32:32gvanrossumcreate