mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Forward port of various fixes that were initially only done on the
release23-maint branch: - Remember the scroll position when rebuilding the browser (as we do far too often). Fixes #824430. - Allow for the documentation to be inside PythonIDE as well as in the Python.app inside the framework (the original location for 2.3). - Updated version numbers - In PythonIDE, add the Tools/IDE directory as the second entry in sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources as the first one. - The code for setting the working directory to $HOME was both incorrect and in the wrong place, fixed. - On OSX the default location for IDE scripts is now $HOME/Library/Python/IDE-Scripts.
This commit is contained in:
parent
6bf31278ac
commit
d48364e8b1
5 changed files with 91 additions and 16 deletions
|
@ -49,7 +49,7 @@ def init():
|
|||
# We are a fully frozen application
|
||||
ide_path = sys.argv[0]
|
||||
if ide_path not in sys.path:
|
||||
sys.path.insert(0, ide_path)
|
||||
sys.path.insert(1, ide_path)
|
||||
|
||||
|
||||
init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue