##// END OF EJS Templates
make "ipython foo.py" work with 2.5.1c1 and later on win32 (do a version check)
vivainio -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 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 2243 2007-04-16 16:03:00Z vivainio $
9 $Id: iplib.py 2248 2007-04-18 19:58:32Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -2592,7 +2592,7 b' want to merge them back into the new files.""" % locals()'
2592 print >> sys.stderr, badline
2592 print >> sys.stderr, badline
2593 else: # regular file execution
2593 else: # regular file execution
2594 try:
2594 try:
2595 if sys.platform == 'win32':
2595 if sys.platform == 'win32' and sys.version_info < (2,5,1):
2596 # Work around a bug in Python for Windows. The bug was
2596 # Work around a bug in Python for Windows. The bug was
2597 # fixed in in Python 2.5 r54159 and 54158, but that's still
2597 # fixed in in Python 2.5 r54159 and 54158, but that's still
2598 # SVN Python as of March/07. For details, see:
2598 # SVN Python as of March/07. For details, see:
@@ -1,3 +1,8 b''
1 2007-04-18 Ville Vainio <vivainio@gmail.com>
2
3 * iplib.py (safe_execfile): make "ipython foo.py" work with 2.5.1c1
4 and later on win32.
5
1 2007-04-16 Ville Vainio <vivainio@gmail.com>
6 2007-04-16 Ville Vainio <vivainio@gmail.com>
2
7
3 * iplib.py (showtraceback): Do not crash when running w/o readline.
8 * iplib.py (showtraceback): Do not crash when running w/o readline.
General Comments 0
You need to be logged in to leave comments. Login now