online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
class Test: def __init__(self): print("constructor called") #Test.__getitem__() #error as expected Test.__call__() #this works in 3.X(but not in 2.X) and prints "constructor called"! WHY THIS DOESN'T GIVE ERROR in 3.x?

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue