]> granicus.if.org Git - python/commit
Fix bug #410274 - sys.prefix isn't always set.
authorMark Hammond <mhammond@skippinet.com.au>
Fri, 7 Sep 2001 14:08:01 +0000 (14:08 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Fri, 7 Sep 2001 14:08:01 +0000 (14:08 +0000)
commit19fdbfb5c49bd7fbbc4f1899ee9c649cfb22fdb8
tree51a5e46f46d3b1d759043dad33edb11f7305d656
parent71707f3bb8be3a62518b43495881a5377ee82d0e
Fix bug #410274 - sys.prefix isn't always set.

If after calculating sys.path we do not have sys.prefix set, we loop over all path entries checking if one can point to our home directory.
PC/getpathp.c