>>> Server.shutdown() sets a flag that tells the main server to /stop
>>> accepting new requests/.
>>
>> Can it be that this method should perform a bit more resource management
>> (according to the selected configuration like “socketserver.ThreadingMixIn”)?
>>
> There isn't much more it
> If you have a multi-threaded application and you want to be on
> the "safe side", you always use your own locks.
I suggest to reconsider your software expectations around
the word “always”.
There are more software design options available.
> Python uses locks to protect its own data structures
> Server.shutdown() sets a flag that tells the main server to /stop
> accepting new requests/.
Can it be that this method should perform a bit more resource management
(according to the selected configuration like “socketserver.ThreadingMixIn”)?
> So far as I can tell, for a threaded