Message286773
Martin> Shouldn’t the top-level unpack() parameter be called “buffer” like the other functions and methods, not “inputstr”?
Hum. I reopen the issue.
Attached patch renames unpack() "inputstr" argument to "buffer" and uses the Py_buffer type for it. I had to fix unit tests which passed str instead of bytes to buffer. Before this error was missed because the unit test is written to test the format string value, not the type of arguments. |
|
Date |
User |
Action |
Args |
2017-02-02 12:25:09 | vstinner | set | recipients:
+ vstinner, larry, methane, python-dev, martin.panter, serhiy.storchaka |
2017-02-02 12:25:09 | vstinner | set | messageid: <1486038309.09.0.797229796227.issue29300@psf.upfronthosting.co.za> |
2017-02-02 12:25:09 | vstinner | link | issue29300 messages |
2017-02-02 12:25:09 | vstinner | create | |
|