Mercurial > cpython-lru_cache-weakref
comparison Mac/Tools/IDE/PythonIDE.py @ 30958:46b9fdd27ec2 legacy-trunk
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.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 19 Nov 2003 13:45:26 +0000 |
| parents | 05da7726c027 |
| children | 0729d1db5118 |
comparison
equal
deleted
inserted
replaced
| 30957:7aaa40bc2b17 | 30958:46b9fdd27ec2 |
|---|---|
| 47 | 47 |
| 48 else: | 48 else: |
| 49 # We are a fully frozen application | 49 # We are a fully frozen application |
| 50 ide_path = sys.argv[0] | 50 ide_path = sys.argv[0] |
| 51 if ide_path not in sys.path: | 51 if ide_path not in sys.path: |
| 52 sys.path.insert(0, ide_path) | 52 sys.path.insert(1, ide_path) |
| 53 | 53 |
| 54 | 54 |
| 55 init() | 55 init() |
| 56 del init | 56 del init |
| 57 | 57 |
