Message374244
Hi, The patch aims to raise a value error, because before the patch also, ValueError was being raised in case size was negative. That's why I thought it would be correct behaviour if I raise ValueError in case size is 0.
Do you mean to say, that OSError should be raise in the case size=0.
Also, I think handling of Windows was fine even before the patch, it was MacOS and Linux which were causing problems. |
|
Date |
User |
Action |
Args |
2020-07-25 05:42:10 | vinay0410 | set | recipients:
+ vinay0410, terry.reedy, pitrou, davin |
2020-07-25 05:42:10 | vinay0410 | set | messageid: <1595655730.74.0.181062748727.issue41344@roundup.psfhosted.org> |
2020-07-25 05:42:10 | vinay0410 | link | issue41344 messages |
2020-07-25 05:42:10 | vinay0410 | create | |
|