Author eric.snow
Recipients eric.snow, pablogsal, pitrou, vstinner
Date 2019-03-29.21:30:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CALFfu7DWjbmVSx_TeUAj8H7Tjn7CGn26=47bPD6qy6-sAVGH-w@mail.gmail.com>
In-reply-to <1553552184.84.0.0177944422106.issue36427@roundup.psfhosted.org>
Content
> > if (_Py_IsFinalizing() && !_Py_CURRENTLY_FINALIZING(tstate))
>
> _Py_IsFinalizing() check is redundant :-)

Not really:

* _Py_IsFinalizing() checks if the runtime is finalizing
* _Py_CURRENTLY_FINALIZING checks if the current thread is the one
running finalization
History
Date User Action Args
2019-03-29 21:30:35eric.snowsetrecipients: + eric.snow, pitrou, vstinner, pablogsal
2019-03-29 21:30:35eric.snowlinkissue36427 messages
2019-03-29 21:30:35eric.snowcreate