Show More
@@ -6,7 +6,7 b' Requires Python 2.1 or newer.' | |||||
6 |
|
6 | |||
7 | This file contains all the classes and helper functions specific to IPython. |
|
7 | This file contains all the classes and helper functions specific to IPython. | |
8 |
|
8 | |||
9 |
$Id: iplib.py 7 |
|
9 | $Id: iplib.py 723 2005-08-19 17:37:46Z fperez $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -688,6 +688,9 b' class InteractiveShell(code.InteractiveConsole, Logger, Magic):' | |||||
688 | # temporary files used for various purposes. Deleted at exit. |
|
688 | # temporary files used for various purposes. Deleted at exit. | |
689 | self.tempfiles = [] |
|
689 | self.tempfiles = [] | |
690 |
|
690 | |||
|
691 | # Keep track of readline usage (later set by init_readline) | |||
|
692 | self.has_readline = 0 | |||
|
693 | ||||
691 | # for pushd/popd management |
|
694 | # for pushd/popd management | |
692 | try: |
|
695 | try: | |
693 | self.home_dir = get_home_dir() |
|
696 | self.home_dir = get_home_dir() |
@@ -1,3 +1,11 b'' | |||||
|
1 | 2005-08-19 Fernando Perez <Fernando.Perez@colorado.edu> | |||
|
2 | ||||
|
3 | * IPython/iplib.py (InteractiveShell.__init__): Add has_readline | |||
|
4 | attribute to self, which was missing. Before, it was set by a | |||
|
5 | routine which in certain cases wasn't being called, so the | |||
|
6 | instance could end up missing the attribute. This caused a crash. | |||
|
7 | Closes http://www.scipy.net/roundup/ipython/issue40. | |||
|
8 | ||||
1 | 2005-08-16 Fernando Perez <fperez@colorado.edu> |
|
9 | 2005-08-16 Fernando Perez <fperez@colorado.edu> | |
2 |
|
10 | |||
3 | * IPython/ultraTB.py (VerboseTB.text): don't crash if object |
|
11 | * IPython/ultraTB.py (VerboseTB.text): don't crash if object |
@@ -649,6 +649,25 b' IPython/' | |||||
649 | \layout Subsubsection |
|
649 | \layout Subsubsection | |
650 |
|
650 | |||
651 | Mac OSX information |
|
651 | Mac OSX information | |
|
652 | \layout Standard | |||
|
653 | ||||
|
654 | Under OSX, there is a choice you need to make. | |||
|
655 | Apple ships its own build of Python, which lives in the core OSX filesystem | |||
|
656 | hierarchy. | |||
|
657 | You can also manually install a separate Python, either purely by hand | |||
|
658 | (typically in | |||
|
659 | \family typewriter | |||
|
660 | /usr/local | |||
|
661 | \family default | |||
|
662 | ) or by using Fink, which puts everything under | |||
|
663 | \family typewriter | |||
|
664 | /sw | |||
|
665 | \family default | |||
|
666 | . | |||
|
667 | Which route to follow is a matter of personal preference, as I've seen | |||
|
668 | users who favor each of the approaches. | |||
|
669 | Here I will simply list the known installation issues under OSX, along | |||
|
670 | with their solutions. | |||
652 | \layout Subsubsection* |
|
671 | \layout Subsubsection* | |
653 |
|
672 | |||
654 | GUI problems |
|
673 | GUI problems | |
@@ -778,11 +797,33 b' not' | |||||
778 |
|
797 | |||
779 | \layout Standard |
|
798 | \layout Standard | |
780 |
|
799 | |||
781 | At this point I don't know of such a released version for OSX 10.4 (Tiger), |
|
800 | Install this package, then you need to either: | |
782 | or if the problem even occurs with Tiger at all (feedback welcome). |
|
801 | \layout Enumerate | |
|
802 | ||||
|
803 | Move | |||
|
804 | \family typewriter | |||
|
805 | readline.so | |||
|
806 | \family default | |||
|
807 | from | |||
|
808 | \family typewriter | |||
|
809 | /Library/Python/2.3 | |||
|
810 | \family default | |||
|
811 | to | |||
|
812 | \family typewriter | |||
|
813 | /Library/Python/2.3/site-packages | |||
|
814 | \family default | |||
|
815 | . | |||
|
816 | \layout Enumerate | |||
|
817 | ||||
|
818 | Install | |||
|
819 | \begin_inset LatexCommand \htmlurl{http://ipython.scipy.org/tmp/scipy_cvs_2005-07-29.tgz} | |||
|
820 | ||||
|
821 | \end_inset | |||
|
822 | ||||
|
823 | ||||
783 | \layout Standard |
|
824 | \layout Standard | |
784 |
|
825 | |||
785 |
Users installing against |
|
826 | Users installing against Fink's Python or a properly hand-built one should | |
786 | not have this problem. |
|
827 | not have this problem. | |
787 | \layout Subsection |
|
828 | \layout Subsection | |
788 |
|
829 |
General Comments 0
You need to be logged in to leave comments.
Login now