Message336048
| 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:15 | Windson Yang | set | recipients: + Windson Yang, xuancong84 |
| 2019-02-20 07:47:15 | Windson Yang | set | messageid: <1550648835.66.0.992212704801.issue36047@roundup.psfhosted.org> |
| 2019-02-20 07:47:15 | Windson Yang | link | issue36047 messages |
| 2019-02-20 07:47:15 | Windson Yang | create | |