Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30804: fix macOS build with framework enabled. (#2516) | INADA Naoki | 2017-06-30 | 1 | -2/+2 |
| | |||||
* | bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h (#2477) | Victor Stinner | 2017-06-28 | 1 | -1/+1 |
| | | | | | | | | | | * bpo-29585: Fix PC/pyconfig.h whitespaces Run "make patchcheck". * bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h * site: Fix path separator in _get_path() on Windows | ||||
* | bpo-29585: optimize site.py startup time (GH-136) | INADA Naoki | 2017-06-28 | 1 | -26/+52 |
| | | | | Avoid importing `sysconfig` from `site` by copying minimum code. Python startup is 5% faster on Linux and 30% faster on macOS | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -1/+1 |
| | |||||
* | bpo-29592: site: skip abs_paths() when it's redundant (GH-167) | INADA Naoki | 2017-03-14 | 1 | -1/+6 |
| | | | Call abs_paths() only if removeduppaths() changed sys.path | ||||
* | Issue #28637: No longer use re in site.py. | Serhiy Storchaka | 2016-11-08 | 1 | -9/+4 |
| | | | | This makes Python startup from a virtual environment a little faster. | ||||
* | Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit(). | Ned Deily | 2016-10-02 | 1 | -3/+1 |
| | | | | Patch by Chi Hsuan Yen. | ||||
* | Issue #28192: Don't import readline in isolated mode | Steve Dower | 2016-09-17 | 1 | -5/+7 |
| | |||||
* | Changes pyvenv.cfg trick into an actual sys.path file. | Steve Dower | 2016-09-09 | 1 | -6/+0 |
| | |||||
* | Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec ↵ | Steve Dower | 2016-09-07 | 1 | -16/+0 |
| | | | | lookup | ||||
* | Issue #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -2/+2 |
|\ | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -2/+2 |
| | | |||||
* | | Issue #26587: Allow .pth files to specify file paths as well as | Brett Cannon | 2016-04-08 | 1 | -9/+9 |
| | | | | | | | | | | | | | | directories. Thanks to Wolfgang Langner for the bug report and initial version of the patch. | ||||
* | | Revert back to 3.6.0, buildbots do not want chocolate for 04-01 | Ned Deily | 2016-03-31 | 1 | -56/+0 |
| | | |||||
* | | Python 8: no pep8, no chocolate! | Victor Stinner | 2016-03-31 | 1 | -0/+56 |
| | | |||||
* | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 1 | -2/+2 |
| | | | | | | | | to format short Python version. | ||||
* | | site: error on sitecustomize import error | Victor Stinner | 2016-01-22 | 1 | -6/+14 |
|/ | | | | | | Issue #26099: The site module now writes an error into stderr if sitecustomize module can be imported but executing the module raise an ImportError. Same change for usercustomize. | ||||
* | 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 |
|\ \ | |/ |