Lichen

tests/class_names.py

336:8c75cdf1a764
2016-12-06 Paul Boddie Introduced stream classes employing C-level FILE pointers, changing the sys stdin, stdout and stderr objects to be instances of these stream classes. Added fread and fwrite support to the native functions. Added support for raising EOFError.
     1 class C:     2     pass     3      4 def c():     5     return 456     6      7 def f():     8     return C()     9     10 print f()                       # 123    11     12 C = c    13     14 print f()                       # 456