Author Yogesh.Chaudhari
Recipients Yogesh.Chaudhari, ezio.melotti, kushal.das, nedbat, neologix, pitrou, r.david.murray, serhiy.storchaka, trent, vstinner
Date 2013-05-11.22:46:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368312366.6.0.333391901785.issue17914@psf.upfronthosting.co.za>
In-reply-to
Content
@Ned:
if cpus is None, then this will raise an exception in Python 3: `cpus >= 1 or cpus == None`

I understand that cpus >= INTEGER will raise an exception and have already modified the condition to remove that kind of check. 

I was merely stating that equality checks do not raise exception. 
eg:
>>> cpus = None
>>> cpus == 1
False
>>> cpus == None
True
>>>

Thanks for pointing me out in the right direction to remove those invalid checks and showing the use of proper alternatives at other places in the patch
History
Date User Action Args
2013-05-11 22:46:06Yogesh.Chaudharisetrecipients: + Yogesh.Chaudhari, pitrou, vstinner, nedbat, trent, ezio.melotti, r.david.murray, neologix, serhiy.storchaka, kushal.das
2013-05-11 22:46:06Yogesh.Chaudharisetmessageid: <1368312366.6.0.333391901785.issue17914@psf.upfronthosting.co.za>
2013-05-11 22:46:06Yogesh.Chaudharilinkissue17914 messages
2013-05-11 22:46:06Yogesh.Chaudharicreate