Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #25185: merged fix from 3.4. | Vinay Sajip | 2015-10-01 | 1 | -1/+3 |
|\ | |||||
| * | Closes #25185: Use UTF-8 encoding when reading pyvenv.cfg. | Vinay Sajip | 2015-10-01 | 1 | -1/+3 |
| | | |||||
* | | Fixes sys.path for applocal environments. | Steve Dower | 2015-07-17 | 1 | -0/+6 |
| | | |||||
* | | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 1 | -2/+2 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-02-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | https goodness | Benjamin Peterson | 2015-02-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #21711: support for "site-python" directories has now been removed ↵ | Antoine Pitrou | 2014-06-12 | 1 | -11/+4 |
|/ | | | | from the site module (it was deprecated in 3.4). | ||||
* | Issue #21572: Change license command to fallback to generic license URL. | Ned Deily | 2014-05-31 | 1 | -1/+1 |
| | |||||
* | Issue #16047: Fix module exception list and __file__ handling in freeze. | Martin v. Löwis | 2014-03-30 | 1 | -3/+8 |
| | | | | Patch by Meador Inge. | ||||
* | Issue #20411: Use readline.get_current_history_length to check for the ↵ | Jason R. Coombs | 2014-01-28 | 1 | -1/+1 |
| | | | | presence of a history, rather than get_history_item, which assumes a history is present. | ||||
* | Issue #19375: The site module adding a "site-python" directory to sys.path, ↵ | Antoine Pitrou | 2013-10-25 | 1 | -0/+5 |
| | | | | if it exists, is now deprecated. | ||||
* | Issue #19205 fix 406529adf156 | Christian Heimes | 2013-10-11 | 1 | -1/+1 |
| | | | | I forgot to hit save. | ||||
* | Issue #19205: Don't import the 're' module in site and sysconfig module to | Christian Heimes | 2013-10-11 | 1 | -3/+3 |
| | | | | to speed up interpreter start. | ||||
* | Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io ↵ | Antoine Pitrou | 2013-10-11 | 1 | -2/+2 |
| | | | | module instead of the full locale module. | ||||
* | Issue #5845: In site.py, only load readline history from ~/.python_history ↵ | Antoine Pitrou | 2013-09-29 | 1 | -6/+13 |
| | | | | if no history has been read already. This avoids double writes to the history file at shutdown. | ||||
* | #18206: Re-fix license URL. | R David Murray | 2013-09-14 | 1 | -1/+2 |
| | |||||
* | #18852: Handle readline.__doc__ being None in site.py readline activation. | R David Murray | 2013-09-06 | 1 | -2/+3 |
| | | | | Patch by Berker Peksag. | ||||
* | Issue #18621: Prevent the site module's patched builtins from keeping too ↵ | Antoine Pitrou | 2013-08-06 | 1 | -93/+8 |
| | | | | many references alive for too long. | ||||
* | Remove Lib/site.py hack to unregister patched builtins. | Antoine Pitrou | 2013-08-01 | 1 | -29/+10 |
| | | | | It creates a refleak in subinterpreters, as atexit callbacks aren't triggered at their end. | ||||
* | Issue #18214: Improve finalization of Python modules to avoid setting their ↵ | Antoine Pitrou | 2013-07-31 | 1 | -10/+29 |
| | | | | globals to None, in most cases. | ||||
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -3/+3 |
| | |||||
* | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -3/+3 |
| | | | | ModuleNotFoundError. | ||||
* | Issue #5845: avoid an exception at startup on OS X if no .editrc file exists. | Mark Dickinson | 2013-05-06 | 1 | -1/+9 |
| | |||||
* | Issue #5845: Enable tab-completion in the interactive interpreter by ↵ | Antoine Pitrou | 2013-05-04 | 1 | -2/+40 |
| | | | | | | default, thanks to a new sys.__interactivehook__. (original patch by Éric Araujo) | ||||
* | Issue #16804: Fix 'python -S -m site' failure. | Meador Inge | 2013-04-14 | 1 | -4/+6 |
|\ | | | | | | | | | | | | | | | This commit fixes a bug in the 'site' module that was causing an exception to incorrectly be thrown when running 'python -S -m site'. The problem was that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly initialized. The code has been changed to use 'getuserbase' and 'getusersitepackages' instead so that the initialization always happens. | ||||
| * | Issue #16804: Fix 'python -S -m site' failure. | Meador Inge | 2013-04-14 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | This commit fixes a bug in the 'site' module that was causing an exception to incorrectly be thrown when running 'python -S -m site'. The problem was that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly initialized. The code has been changed to use 'getuserbase' and 'getusersitepackages' instead so that the initialization always happens. | ||||
* | | #17585: merge with 3.3. | Roger Serwy | 2013-04-12 | 1 | -6/+1 |
|\ \ | |/ | |||||
| * | #17585: Fixed IDLE regression. Now closes when using exit() or quit(). | Roger Serwy | 2013-04-12 | 1 | -6/+1 |
| | | |||||
* | | modernize some modules' code by using with statement around open() | Giampaolo Rodola' | 2013-02-12 | 1 | -3/+2 |
| | | |||||
* | | Issue #16972: Have site.addpackage() consider known paths even when | Brett Cannon | 2013-01-25 | 1 | -1/+1 |
| | | | | | | | | none are explicitly passed in. | ||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -2/+2 |
| | | |||||
* | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | |||||
* | | Closes #16519: Merged fix from 3.3. | Vinay Sajip | 2012-11-23 | 1 | -5/+3 |
|\ \ | |/ | |||||
| * | Issue #16519: Used os.path.abspath, removed unnecessary code for ↵ | Vinay Sajip | 2012-11-23 | 1 | -5/+3 |
| | | | | | | | | executable_name. | ||||
* | | Remove sys.platform == 'riscos' checks from some Python and test files. #16501 | Christian Heimes | 2012-11-18 | 1 | -3/+1 |
| | | |||||
* | | #16135: Removal of OS/2 support (Python code partial cleanup) | Jesus Cea | 2012-10-05 | 1 | -20/+1 |
|/ | |||||
* | Issue 15241: Improved site.py documentation relating to venvs. | Vinay Sajip | 2012-07-03 | 1 | -2/+2 |
| | |||||
* | Closes #15173: Tidied up copyright statements and removed pythonv references. | Vinay Sajip | 2012-06-24 | 1 | -2/+2 |
| | |||||
* | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 1 | -7/+81 |
| | |||||
* | Issue #2377: Make importlib the implementation of __import__(). | Brett Cannon | 2012-04-14 | 1 | -1/+2 |
| | | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__(). | ||||
* | site: don't import traceback at startup to speed up Python startup | Victor Stinner | 2012-02-21 | 1 | -1/+1 |
| | |||||
* | Remove redundant imports. | Florent Xicluna | 2011-11-04 | 1 | -2/+1 |
| | |||||
* | Replace open(filename, 'rU') by open(filename, 'r') | Victor Stinner | 2011-05-04 | 1 | -2/+2 |
| | | | | The U flag is no more used (but still accepted for backward compatibility). | ||||
* | Do not touch sys.path when site is imported and python was started with -S. | Éric Araujo | 2011-03-23 | 1 | -1/+9 |
| | | | | | Original patch by Carl Meyer, review by Brett Cannon, small doc editions by yours truly. Fixes #11591. | ||||
* | #5258/#10642: print fn, line, traceback and continue when .pth file is broken | R. David Murray | 2010-12-26 | 1 | -9/+19 |
| | | | | | | | | | | 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. | ||||
* | Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the | Victor Stinner | 2010-10-12 | 1 | -3/+7 |
| | | | | current directory was deleted. | ||||
* | Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding() | Antoine Pitrou | 2010-09-01 | 1 | -25/+0 |
| | | | | | are now removed, since their effect was inexistent in 3.x (the default encoding is hardcoded to utf-8 and cannot be changed). | ||||
* | Reimplement addbuilddir() in C inside getpath.c, so as to execute it | Antoine Pitrou | 2010-08-13 | 1 | -15/+0 |
| | | | | | at interpreter startup before importing any non-builtin modules. Should fix #9589. | ||||
* | Ensure that test_site actually passes with a framework build | Ronald Oussoren | 2010-08-01 | 1 | -1/+1 |
| | |||||
* | Merged revisions 81465-81466,81468,81679,81735,81760,81868,82183 via ↵ | Benjamin Peterson | 2010-06-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81465 | georg.brandl | 2010-05-22 06:29:19 -0500 (Sat, 22 May 2010) | 2 lines Issue #3924: Ignore cookies with invalid "version" field in cookielib. ........ r81466 | georg.brandl | 2010-05-22 06:31:16 -0500 (Sat, 22 May 2010) | 1 line Underscore the name of an internal utility function. ........ r81468 | georg.brandl | 2010-05-22 06:43:25 -0500 (Sat, 22 May 2010) | 1 line #8635: document enumerate() start parameter in docstring. ........ r81679 | benjamin.peterson | 2010-06-03 16:21:03 -0500 (Thu, 03 Jun 2010) | 1 line use a set for membership testing ........ r81735 | michael.foord | 2010-06-05 06:46:59 -0500 (Sat, 05 Jun 2010) | 1 line Extract error message truncating into a method (unittest.TestCase._truncateMessage). ........ r81760 | michael.foord | 2010-06-05 14:38:42 -0500 (Sat, 05 Jun 2010) | 1 line Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported as a skip rather than an error. ........ r81868 | benjamin.peterson | 2010-06-09 14:45:04 -0500 (Wed, 09 Jun 2010) | 1 line fix code formatting ........ r82183 | benjamin.peterson | 2010-06-23 15:29:26 -0500 (Wed, 23 Jun 2010) | 1 line cpython only gc tests ........ |