canonic(): This used to be equivalent to str() but that caused too
much breakage (esp. in JPython which holds absolute path names in co_filename already). This implementation uses os.path.abspath() as a slightly better way to canonicalize path names. It implements a cache.
Showing
Please
register
or
sign in
to comment