Bugs item #1734860, was opened at 2007-06-11 06:33 Message generated for change (Comment added) made by gagenellina You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1734860&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: www.spirito.de (openspirito) Assigned to: Nobody/Anonymous (nobody) Summary: sitecustomize.py not found Initial Comment: Under my configuration (Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32) the sitecustomize.py is not found in the current directory. I added some testing code into site.def execsitecustomize() and found out, that the current path is not part of sys.path, but later on in the main program it is. ---------------------------------------------------------------------- Comment By: Gabriel Genellina (gagenellina) Date: 2007-06-14 04:43 Message: Logged In: YES user_id=479790 Originator: NO I don't think that allowing sitecustomize.py to be run from the current directory would be a good idea, as it gets executed automatically on any invocation of the Python program (and it could contain arbitrary code). You can put sitecustomize.py inside Lib or Lib\site-packages and it will be picked fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1734860&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com