##// END OF EJS Templates
apply rocky's pydb-debug patch (disable py2.5 checking)
vivainio -
Show More
@@ -15,7 +15,7 b' details on the PSF (Python Software Foundation) standard license, see:'
15
15
16 http://www.python.org/2.2.3/license.html
16 http://www.python.org/2.2.3/license.html
17
17
18 $Id: Debugger.py 1951 2006-11-29 07:56:47Z vivainio $"""
18 $Id: Debugger.py 1954 2006-11-29 09:39:44Z vivainio $"""
19
19
20 #*****************************************************************************
20 #*****************************************************************************
21 #
21 #
@@ -49,13 +49,12 b' from IPython.excolors import ExceptionColors'
49 # See if we can use pydb.
49 # See if we can use pydb.
50 has_pydb = False
50 has_pydb = False
51 prompt = 'ipdb>'
51 prompt = 'ipdb>'
52 if sys.version[:3] >= '2.5':
52 try:
53 try:
53 import pydb
54 import pydb
54 if hasattr(pydb.pydb, "runl"):
55 if hasattr(pydb.pydb, "runl"):
55 has_pydb = True
56 has_pydb = True
56 from pydb import Pdb as OldPdb
57 from pydb import Pdb as OldPdb
57 prompt = 'ipydb>'
58 prompt = 'ipydb>'
59 except ImportError:
58 except ImportError:
60 pass
59 pass
61
60
@@ -93,7 +92,7 b' def _file_lines(fname):'
93 class Pdb(OldPdb):
92 class Pdb(OldPdb):
94 """Modified Pdb class, does not load readline."""
93 """Modified Pdb class, does not load readline."""
95
94
96 if sys.version[:3] >= '2.5':
95 if sys.version[:3] >= '2.5' or has_pydb:
97 def __init__(self,color_scheme='NoColor',completekey=None,
96 def __init__(self,color_scheme='NoColor',completekey=None,
98 stdin=None, stdout=None):
97 stdin=None, stdout=None):
99
98
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Release data for the IPython project.
2 """Release data for the IPython project.
3
3
4 $Id: Release.py 1953 2006-11-29 08:01:37Z vivainio $"""
4 $Id: Release.py 1954 2006-11-29 09:39:44Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -22,7 +22,7 b" name = 'ipython'"
22 # because bdist_rpm does not accept dashes (an RPM) convention, and
22 # because bdist_rpm does not accept dashes (an RPM) convention, and
23 # bdist_deb does not accept underscores (a Debian convention).
23 # bdist_deb does not accept underscores (a Debian convention).
24
24
25 revision = '1952M'
25 revision = '1953'
26
26
27 #version = '0.7.3.svn'
27 #version = '0.7.3.svn'
28
28
General Comments 0
You need to be logged in to leave comments. Login now