Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Exception not thrown in python3
Post: RE: Exception not thrown in python3

Ok, so just calling the function does not actually make it behave like a normal c/c++ function or method. It returns immediately with a generator object(seen with the debugger). When used in a for loo...
ONEoo7 General Coding Help 7 6,159 Apr-08-2017, 09:45 PM
    Thread: Exception not thrown in python3
Post: RE: Exception not thrown in python3

I am now learning python3. From what I remember it was finally that was always executed. I have made two different versions of the same function. 1st version is generator function 2nd version is gener...
ONEoo7 General Coding Help 7 6,159 Apr-08-2017, 09:24 PM
    Thread: Exception not thrown in python3
Post: Exception not thrown in python3

Why does the call of inclusive_range() at line 71 not throw an exception and instead it prints "Test FAILED"? def test(*args):     print(type(args))     print(len(args))     if len(args) == 1:       ...
ONEoo7 General Coding Help 7 6,159 Apr-08-2017, 08:34 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020