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 Yogesh.Chaudhari
Recipients Yogesh.Chaudhari, dilettant, ezio.melotti, kushal.das, nedbat, neologix, pitrou, r.david.murray, serhiy.storchaka, trent, vstinner
Date 2013-05-13.22:01:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368482502.15.0.477364469217.issue17914@psf.upfronthosting.co.za>
In-reply-to
Content
Based on the last 3 messages by Ned, Charles and Antoine, I keep thinking that arguments made by Charles are very valid ones and that it would be better to return 1. I say this (partly from the 'type' argument, but), mainly, *if* its known that the underlying libraries are returning 1 on failure. *If* that is the case I see no reason try to return None (which, btw, will never happen if none of the calls return non-positive values ever).
History
Date User Action Args
2013-05-13 22:01:42Yogesh.Chaudharisetrecipients: + Yogesh.Chaudhari, pitrou, vstinner, nedbat, trent, ezio.melotti, r.david.murray, neologix, serhiy.storchaka, kushal.das, dilettant
2013-05-13 22:01:42Yogesh.Chaudharisetmessageid: <1368482502.15.0.477364469217.issue17914@psf.upfronthosting.co.za>
2013-05-13 22:01:42Yogesh.Chaudharilinkissue17914 messages
2013-05-13 22:01:42Yogesh.Chaudharicreate