Commit Graph

93 Commits

Author SHA1 Message Date
Benjamin Peterson
75461e3e2e https goodness 2015-02-01 20:17:22 -05:00
Ned Deily
3f45303954 Issue #21572: Change license command to fallback to generic license URL. 2014-05-30 23:45:32 -07:00
doko@ubuntu.com
6cb4343d0d - Issue #13150, #17512: sysconfig no longer parses the Makefile and config.h
files when imported, instead doing it at build time.  This makes importing
  sysconfig faster and reduces Python startup time by 20%.
2013-04-08 21:20:09 +02:00
Ned Deily
2c8bf04308 Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
R. David Murray
5874ed6cee Merged revisions 87497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87497 | r.david.murray | 2010-12-26 14:54:29 -0500 (Sun, 26 Dec 2010) | 7 lines

  #5258/#10642: print fn, line, traceback and continue when .pth file is broken

  If a .pth file contained an error, it could cause a traceback in site.py,
  terminating its processing.  In 2.7 and 3.2, the interpreter will then not
  start.  Previously, a message would print saying to use -v to get the
  traceback.  In either case, the traceback generated for a failed .pth file did
  not include the .pth filename, making it difficult to debug the problem.  Now
  site.py reports not only the .pth filename but also the line number causing the
  error, and just skips the remainder of the file.
........
2010-12-26 22:29:53 +00:00
Victor Stinner
d2f6ae63cd Merged revisions 85386-85387,85389 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85386 | victor.stinner | 2010-10-13 00:23:23 +0200 (mer., 13 oct. 2010) | 3 lines

  Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the
  current directory was deleted.
........
  r85387 | victor.stinner | 2010-10-13 00:26:08 +0200 (mer., 13 oct. 2010) | 2 lines

  #6612: add the author of the patch (W. Trevor King)
........
  r85389 | victor.stinner | 2010-10-13 00:42:37 +0200 (mer., 13 oct. 2010) | 2 lines

  NEWS: Move #6612 to Library section
........
2010-10-12 22:53:51 +00:00
Benjamin Peterson
3b95934e05 use a set for membership testing 2010-06-03 21:21:03 +00:00
Ronald Oussoren
2f88bfdf96 Issue #8084: ensure that the --user directory
conforms to platforms standars on OSX when
using a python framework.
2010-05-08 10:29:06 +00:00
Brian Curtin
bc96f3272d Fix #8364. Update the setquit docstring and change a built-in to builtin. 2010-04-12 23:30:49 +00:00
Florent Xicluna
176cda11df Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only). 2010-03-22 22:52:11 +00:00
Victor Stinner
3ec32005e8 ooops, fix error message in execusercustomize()
Copy/paste failure :-)
2010-03-10 22:45:04 +00:00
Victor Stinner
6664426d7c Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site
module.
2010-03-10 22:30:19 +00:00
Tarek Ziadé
5633a8048f taking sysconfig out of distutils 2010-01-23 09:23:15 +00:00
Tarek Ziadé
764fc235a6 #6693: New functions in site.py to get user/global site packages paths. 2009-08-20 21:23:13 +00:00
Ronald Oussoren
e0154ed7ff Fix issue #4865: add /Library/Python/2.7/site-packages to
sys.path on OSX, to make it easier to share (some) installed
packages between the system install and a user install.
2009-03-30 23:10:35 +00:00
Andrew M. Kuchling
5217d5d678 Docstring typo 2008-05-10 17:36:24 +00:00
Christian Heimes
17433d206c Add --user option to build_ext 2008-05-09 12:19:09 +00:00
Christian Heimes
af748c3ab8 Implemented PEP 370 2008-05-06 22:41:46 +00:00
Georg Brandl
f00b38e08c Add the correct build dir when building with pydebug. 2008-01-21 21:19:07 +00:00
Georg Brandl
8d76cca026 Fix docstring for add_package in site.py. 2007-05-19 18:09:26 +00:00
Martin v. Löwis
2681beb23e Patch #1677862: Require a space or tab after import in .pth files. 2007-03-12 11:01:10 +00:00
Kurt B. Kaiser
d112bc7958 Patch #1540892: site.py Quitter() class attempts to close sys.stdin
before raising SystemExit, allowing IDLE to honor quit() and exit().

M    Lib/site.py
M    Lib/idlelib/PyShell.py
M    Lib/idlelib/CREDITS.txt
M    Lib/idlelib/NEWS.txt
M    Misc/NEWS
2006-08-16 05:01:42 +00:00
Neal Norwitz
6e482569c8 Update the docstring to use a version a little newer than 1999. This was
taken from a Debian patch.  Should we update the version for each release?
2006-08-15 04:59:30 +00:00
Nick Coghlan
f2b16f3eb4 Fix site module docstring to match the code for Mac OSX, too 2006-06-12 08:23:02 +00:00
Nick Coghlan
3fb55ca80e Fix site module docstring to match the code 2006-06-12 08:19:37 +00:00