Re: RFE: refman - adding mention of os.exit not closing variables with default arguments.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: RFE: refman - adding mention of os.exit not closing variables with default arguments.
- From: Robert Burke <sharpobject@...>
- Date: 2020年6月24日 18:18:41 +0900
On Wed, Jun 24, 2020 at 10:45 AM Gé Weijers <ge@weijers.org> wrote:
> - coroutine.close does not work on threads that are not suspended or
> dead, i.e. threads that are waiting for coroutine.resume to return.
This seems a bit hard to fix. If you put such a running thread that's
in coroutine.resume into a dead state, you'll have a hard time
yielding back into it. Is the problem here just about what happens
when you use os.exit in nested coroutines?