]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix imp.cache_from_source() if the directory name contains a dot
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 14 Mar 2011 19:05:12 +0000 (15:05 -0400)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 14 Mar 2011 19:05:12 +0000 (15:05 -0400)
commitccbf475dfde5ef643bf9559b46e97fa9b35ef5d3
tree2c13c21d1c81e089ab5b0467bc8294ecb7a89627
parentfe19d21815632ba179e32ba1517c1337ac407e97
Fix imp.cache_from_source() if the directory name contains a dot

If the directory name contains a dot but not the filename, don't strip at the
dot.
Lib/test/test_imp.py
Python/import.c