This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay0410
Recipients davin, pitrou, terry.reedy, vinay0410
Date 2020-07-25.05:42:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595655730.74.0.181062748727.issue41344@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-07-25 05:42:10vinay0410setrecipients: + vinay0410, terry.reedy, pitrou, davin
2020-07-25 05:42:10vinay0410setmessageid: <1595655730.74.0.181062748727.issue41344@roundup.psfhosted.org>
2020-07-25 05:42:10vinay0410linkissue41344 messages
2020-07-25 05:42:10vinay0410create