metawilm / cl-python

An implementation of Python in Common Lisp
http://common-lisp.net/project/clpython/
Other
368 stars 34 forks source link

Pathnames case is a bit odd #1

Closed gonzojive closed 13 years ago

gonzojive commented 14 years ago

I had a mixed-case path on the import paths list and the import functionality looked in the wrong place.

Path was #P"/usr/lib/Python/" and to find the "codecs" module it searched "/USR/LIB/PYTHON/"

I have a fix though I have not verified all the tests still pass with it. Essentially using the :common pathnames for anyting except CLPYTHON-defined variables (like extension, INIT, ...) causes problems, and :local should be used instead.

metawilm commented 13 years ago

Sorry for the delay. This seems to be a bug in SBCL, which I have now reported: https://bugs.launchpad.net/sbcl/+bug/695486

Loading a file from a mixed-case path works for me in the other implementations, so I'm inclined to close this issue.