summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
Commit message (Collapse)AuthorAgeFilesLines
* typos fixed by Rob HooftJeremy Hylton2000-06-281-1/+1
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-071-2/+37
| | | | | | | | | | Added support to set the default encoding of strings at startup time to the values defined by the C locale. The sys.setdefaultencoding() API is deleted after having set up the encoding, so that user code cannot subsequentely change the setting. This effectively means that only site.py may alter the default setting.
* Wrong pathname in docstring detected by Fredrik Nehr.Guido van Rossum1998-11-251-1/+1
|
* Add built-in string variables 'quit' and 'exit' that display a hint onGuido van Rossum1998-08-071-0/+12
| | | | | | how to exit (in a platform dependent way!). We use os.sep to determine which platform we're on, since I expect that this will work better for minority platforms.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-31/+31
|
* Update the doc string to emphasize non-Unix behavior earlier;Guido van Rossum1998-01-131-7/+5
| | | | sys.prefix is no longer empty on any platform that I know of.
* Change packages -> site-packagesGuido van Rossum1997-09-081-8/+10
|
* Different test for Unix -- rely on os.sep instead of sys.platform.Guido van Rossum1997-09-031-3/+3
|
* Give in to Mike Meyer -- add *both* lib/python1.5/packages andGuido van Rossum1997-09-031-7/+9
| | | | | lib/site-python to the path (if they exist). This is a reasonable compromise.
* #Removed debug print that was accidentally left in.Guido van Rossum1997-09-031-2/+0
|
* New site.py semantics. Searches inGuido van Rossum1997-08-291-28/+103
| | | | | <*prefix>/lib/python<version>/packages for *.pth files containing directories that are appended to sys.path.
* site customization hook...Guido van Rossum1996-08-171-0/+47