import weakref class Foo: pass bool(weakref.proxy(Foo()))
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 6, in <module> ReferenceError: weakly-referenced object no longer exists
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!