Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83438
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <gvanem@yahoo.no> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'skip:[ 20': 0.04; '@echo': 0.09; 'exist,': 0.09; 'here?': 0.09; 'issue:': 0.09; 'python': 0.11; 'assume': 0.14; 'elsewhere.': 0.16; 'subject:Non': 0.16; 'demonstrate': 0.16; "skip:' 30": 0.19; 'skip:f 30': 0.19; 'skip:g 40': 0.19; 'header:User-Agent:1': 0.23; 'sort': 0.25; "i've": 0.25; 'defined': 0.27; "doesn't": 0.30; 'skip:g 30': 0.30; "i'm": 0.30; 'file': 0.32; 'checked': 0.32; 'to:name:python-list': 0.33; 'trouble': 0.34; 'but': 0.35; 'in:': 0.36; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'received:212.82': 0.60; 'different': 0.65; 'received:46': 0.66; 'from:addr:yahoo.no': 0.84; 'message-id:@yahoo.no': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1420809249; bh=1CrwvEOqF5xrpWmzSJEUcCrflcueQXcvQYr+xd+E5KY=; h=Date:From:To:Subject:From:Subject; b=OHDP2zqZYSWpMf+abQODxx+NwFJdWgDkzi5CTsdiCEiwKp+vXOeulhTXvh4VKgUD2Uh0QVVnOUs7Q8Y+mQ5vlOxb5pMnr8WnwDD1bvP6jJAoygLa62FFBsTkO1jbm6qLLA3bOuLqUaQDVUXraQSbe4jA+CTsxMrpet/TowK4RXLRr4hVkwwQ1KAlXXU1zafIOHn2bB05W2LaUVnkPJ9feLTJbsvqJGQpC9XMKbvutJdXhdMe0OV9w+g/WGj+4aerjTJAGdCancbYaDl2AyV3usOI1/IQKeZcG52WoEBrlIAk1U24j42hlYkSIFqXt5HN/rWBfOemi3nLN5RnUgZxOQ== |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.no; b=m1Z6VPzssXQIkAT5l7R7WmWQ1/iqav69jPr5Bc11uPOSf4++HYJOu5uhBmCWBz/+OGzgKFVLvOIVsr7oesJNQOe6IcrWiUOjYMfP5CTGs5aIo//9Gi8ajyWpVGYNEcwud002dplLzESFF8k171vTBiNOubFR+blQoT3ycLdeCMFeY35kp/Xjq9jj8ygJs81fUGmH6WB0Mb50RopFF6QteYSOhgOhg7lhvdabj6bvg0DRvSsPmk/VhElDYoj/WYeg6QgQZwQe9OIfTeUTDXm9fCmVW25T6zl4AqMM44u/Beb+PPEvb1lvMllIPdbe0ciOxN3q8LPU+TCLqYELRqr6zQ==; |
| X-Yahoo-Newman-Id | 816904.28585.bm@smtp111.mail.ir2.yahoo.com |
| X-Yahoo-Newman-Property | ymail-3 |
| X-YMail-OSG | yoDK7HsVM1m1AOzc1TEqefb6Aw3a.IulCMxolTpssAaAWX6 rGWFLN5U_j0k8czP2kQzxad1SWwjXWy0Gds2G.0MWqDseeuylZEHMYyGSN1q z.0F2xj_tftkUq2tzeew5zP3LsbL6dS_SN1kyPEqoCQxILkd9HS7S9tCdEII CzCTg_dwKbccuyopD6A9uzW3dCjH.cwvK06zLh6cA4FrRLqO34TZu5xOvZtE H6UsYyshku0MYpma5g3jXMbjW3w2LtUg1zBs6qUI4UnpCmJGDrt4kD80vfqJ O_yJHv5Vu80YyRGSnc11QYtXK8P5Y1gtY.RCZx.E7ortUXtrE5zeicNyQofk BmlYRy7Az73vE6f0FZGkvkDOPwcmpAyz5EM0iFGdtu.GXbpgc0X7L.502jlI pbfbHbX2QPT_tzRKEJ1lw7ku9Sngu2Hfn3E.AJeguEY4LMMd1QZNLjR7h.tk REIUqsFVR40.z0Sgqppykf_nR5VznOylensxrAniVjv8K1_9ZJOcT3Rf8rxQ OQywNZe7r5d9jOGassjjDRJah |
| X-Yahoo-SMTP | 8zhYLGyswBB3AGU8c4pvFIFOfA-- |
| Date | Fri, 09 Jan 2015 13:14:39 +0000 |
| From | Gisle Vanem <gvanem@yahoo.no> |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.31 |
| MIME-Version | 1.0 |
| To | Python-list <python-list@python.org> |
| Subject | Non-unique dirs in sys.path |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17525.1420809259.18130.python-list@python.org> (permalink) |
| Lines | 34 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1420809259 news.xs4all.nl 2969 [2001:888:2000:d::a6]:60732 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Body-CRC | 3781252401 |
| X-Received-Bytes | 5162 |
| Xref | csiph.com comp.lang.python:83438 |
Show key headers only | View raw
I'm having some trouble understanding why my Python 2.7.9
has the '%PYTHONHOME%\lib\site-packages' listed multiple
times.
I cooked up this .bat file to demonstrate the issue:
@echo off
setlocal
set PYTHONPATH=
python -c "import sys; [sys.stdout.write('%%s\n' %% p) for (i,p) in enumerate(sys.path)]" | sort --ignore-case
which produces:
f:\Documents and Settings\Gisle Vanem\Programdata\Python\Python27\site-packages
f:\windows\system32\python27.zip << !! doesn't exist, but okay.
G:\Programfiler\Python27
g:\Programfiler\Python27\DLLs
g:\Programfiler\Python27\lib
g:\Programfiler\Python27\lib\lib-tk
g:\Programfiler\Python27\lib\plat-win
g:\Programfiler\Python27\lib\site-packages << !!
g:\programfiler\python27\lib\site-packages << !!
...
Why are these listed twice with different casing? One
would assume that Python on Win32 would be case-insensitive.
Some .pth-file to blame here?
I've checked that PYTHONPATH is not defined elsewhere. Like in:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
or
HKCU\Environment
--
--gv
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Non-unique dirs in sys.path Gisle Vanem <gvanem@yahoo.no> - 2015-01-09 13:14 +0000
csiph-web