Message253815
| Author | martin.panter |
|---|---|
| Recipients | Nan Wu, ezio.melotti, martin.panter |
| Date | 2015-10-31.23:15:50 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1446333351.07.0.566814850732.issue25439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This illustrates my concern with the dict-of-bytes check:
>>> headers = {"Content-Length": "3"}
>>> byteslike_iterable = {memoryview(b"123"): None}
>>> urlopen(Request("http://python.org/", headers=headers, data=byteslike_iterable))
With the current patch I think this would become an error. But maybe I am being too nitpicky and paranoid. Ezio? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-10-31 23:15:51 | martin.panter | set | recipients: + martin.panter, ezio.melotti, Nan Wu |
| 2015-10-31 23:15:51 | martin.panter | set | messageid: <1446333351.07.0.566814850732.issue25439@psf.upfronthosting.co.za> |
| 2015-10-31 23:15:51 | martin.panter | link | issue25439 messages |
| 2015-10-31 23:15:50 | martin.panter | create | |