Lichen

lib/os.py

90:c7ddfc4525da
2016-10-08 Paul Boddie Added some support for eliminating accessor class types where the provided attributes are invoked and are unbound methods. This uses a more sophisticated method involving usage observations that incorporate invocation information, permitting classes as accessors if paths through the code support them, even if other paths require instances as accessors to invoke methods.
     1 #!/usr/bin/env python     2      3 from posix import *     4 from genericos import *     5      6 import posixpath as path     7      8 from posixpath import (     9     altsep,    10     curdir,    11     defpath,    12     devnull,    13     extsep,    14     pardir,    15     pathsep,    16     sep    17     )    18     19 # vim: tabstop=4 expandtab shiftwidth=4