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, 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 <>
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. 
>>> cpus = None
>>> cpus == 1
>>> cpus == None

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
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: <>
2013-05-11 22:46:06Yogesh.Chaudharilinkissue17914 messages
2013-05-11 22:46:06Yogesh.Chaudharicreate