commit | 148ffbc886a35751ca65447de5c22387ce7ca6f0 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Sep 09 23:24:33 1999 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Sep 09 23:24:33 1999 +0000 |
tree | a8792f826d6acf9312f9fa2220cdd86f6fde05f7 | |
parent | 2bee8feac614599d172ea4483a17294b81063fdc [diff] |
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.