This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Windson Yang
Recipients Windson Yang, xuancong84
Date 2019-02-20.07:47:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550648835.66.0.992212704801.issue36047@roundup.psfhosted.org>
In-reply-to
Content
From the docs https://docs.python.org/3/library/socket.html#socket.socket.makefile, the default mode for makefile() is 'r' (only readable). In your example, just use S = s.makefile(mode='w') instead.
History
Date User Action Args
2019-02-20 07:47:15Windson Yangsetrecipients: + Windson Yang, xuancong84
2019-02-20 07:47:15Windson Yangsetmessageid: <1550648835.66.0.992212704801.issue36047@roundup.psfhosted.org>
2019-02-20 07:47:15Windson Yanglinkissue36047 messages
2019-02-20 07:47:15Windson Yangcreate