usage of try except for review.

Chris Angelico rosuav at
Mon Feb 29 12:38:20 EST 2016

On Tue, Mar 1, 2016 at 4:34 AM, Ganesh Pal <ganesh1pal at> wrote:
> On Mon, Feb 29, 2016 at 10:10 PM, Dennis Lee Bieber
> <wlfraed at> wrote:
>>         Ask yourself: Will my program still work if I remove all the assert
>> statements. If the answer is "No", then you should not be using an assert.
> You meant if the answer is "NO" then I should be using asset ?

No, Dennis was correct. You should assume that "assert" can
potentially be replaced with "pass" and your program will continue to


More information about the Python-list mailing list