diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-07 09:01:34 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-07 09:01:34 (GMT) |
commit | c71fae5ad7d3742764adc317b905fd7e297d12bf (patch) | |
tree | 26d28c19d775989ee0a6cff244944b16c8dbcf0c /Python/pythonrun.c | |
parent | e93eee7d220cdc5fcaa833d90047eaf0eb035cdf (diff) | |
download | cpython-c71fae5ad7d3742764adc317b905fd7e297d12bf.zip cpython-c71fae5ad7d3742764adc317b905fd7e297d12bf.tar.gz cpython-c71fae5ad7d3742764adc317b905fd7e297d12bf.tar.bz2 |
http://bugs.python.org/issue6382
added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions