Message289151
Other objects in the io module use special-purposed converter _PyIO_ConvertSsize_t() which checks PyNumber_Check() and calls PyNumber_AsSsize_t().
I think StringIO implementation can be changed to reuse _PyIO_ConvertSsize_t() for simplicity.
After that BytesIO implementation can be changed to use the same converter just for uniformity. |
|
Date |
User |
Action |
Args |
2017-03-07 06:18:03 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, amaury.forgeotdarc, pitrou, benjamin.peterson, martin.panter, Oren Milman |
2017-03-07 06:18:03 | serhiy.storchaka | set | messageid: <1488867483.71.0.302495631687.issue29741@psf.upfronthosting.co.za> |
2017-03-07 06:18:03 | serhiy.storchaka | link | issue29741 messages |
2017-03-07 06:18:03 | serhiy.storchaka | create | |
|