[New-bugs-announce] [issue31717] Socket documentation threading misstep?
Phillip
report at bugs.python.org
Fri Oct 6 11:53:09 EDT 2017
New submission from Phillip <phillip at infiniteautomation.com>:
Very small, but,
https://docs.python.org/2/howto/sockets.html
https://docs.python.org/3/howto/sockets.html
have :
while True:
# accept connections from outside
(clientsocket, address) = serversocket.accept()
# now do something with the clientsocket
# in this case, we'll pretend this is a threaded server
ct = client_thread(clientsocket)
ct.run()
and for some reason I really want it to be ct.start()
----------
assignee: docs at python
components: Documentation
messages: 303831
nosy: apoplexy, docs at python
priority: normal
severity: normal
status: open
title: Socket documentation threading misstep?
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31717>
_______________________________________
More information about the New-bugs-announce
mailing list