##// END OF EJS Templates
apply rocky's pydb-debug patch (disable py2.5 checking)
vivainio -
r468:f0f39279
parent child
Show More
@@ -15,7 +15,7 details on the PSF (Python Software Foundation) standard license, see:
15 15
16 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 from IPython.excolors import ExceptionColors
49 49 # See if we can use pydb.
50 50 has_pydb = False
51 51 prompt = 'ipdb>'
52 if sys.version[:3] >= '2.5':
53 try:
54 import pydb
55 if hasattr(pydb.pydb, "runl"):
56 has_pydb = True
57 from pydb import Pdb as OldPdb
58 prompt = 'ipydb>'
52 try:
53 import pydb
54 if hasattr(pydb.pydb, "runl"):
55 has_pydb = True
56 from pydb import Pdb as OldPdb
57 prompt = 'ipydb>'
59 58 except ImportError:
60 59 pass
61 60
@@ -93,7 +92,7 def _file_lines(fname):
93 92 class Pdb(OldPdb):
94 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 96 def __init__(self,color_scheme='NoColor',completekey=None,
98 97 stdin=None, stdout=None):
99 98
@@ -1,7 +1,7
1 1 # -*- coding: utf-8 -*-
2 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 7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -22,7 +22,7 name = 'ipython'
22 22 # because bdist_rpm does not accept dashes (an RPM) convention, and
23 23 # bdist_deb does not accept underscores (a Debian convention).
24 24
25 revision = '1952M'
25 revision = '1953'
26 26
27 27 #version = '0.7.3.svn'
28 28
General Comments 0
You need to be logged in to leave comments. Login now