pylint #17874 check for mkstemp potential bugs [open]

could pylint be used to check for problems with mkstemp ? See

It could be as simple as "the first item returned by mkstemp was not referenced after the call, you could be leaking file descriptors" and the check would be similar to the existing "this argument is not used".

appeared in<not specified>
done in<not specified>
closed by<not specified>