summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-09-09 23:24:33 +0000
committerBarry Warsaw <barry@python.org>1999-09-09 23:24:33 +0000
commit148ffbc886a35751ca65447de5c22387ce7ca6f0 (patch)
treea8792f826d6acf9312f9fa2220cdd86f6fde05f7 /Python/modsupport.c
parent2bee8feac614599d172ea4483a17294b81063fdc (diff)
downloadcpython-git-148ffbc886a35751ca65447de5c22387ce7ca6f0.tar.gz
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.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions