[Pydev-cvs] org.python.pydev.debug/pysrc pydevd_vars.py, 1.41, 1.42 pydevd.py, 1.88, 1.89 pydevd_co
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-02-17 17:01:20
|
Update of /cvsroot/pydev/org.python.pydev.debug/pysrc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32297/pysrc Modified Files: pydevd_vars.py pydevd.py pydevd_constants.py pydevd_frame.py Log Message: Minors Index: pydevd.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd.py,v retrieving revision 1.88 retrieving revision 1.89 diff -C2 -d -r1.88 -r1.89 *** pydevd.py 17 Feb 2008 00:23:33 -0000 1.88 --- pydevd.py 17 Feb 2008 17:01:21 -0000 1.89 *************** *** 613,616 **** --- 613,617 ---- processInternalCommands = psyco.proxy(processInternalCommands) doWaitSuspend = psyco.proxy(doWaitSuspend) + getInternalQueue = psyco.proxy(getInternalQueue) except ImportError: print >> sys.stderr, 'pydev debugger: warning: psyco not available for debugger speedups' Index: pydevd_frame.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd_frame.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** pydevd_frame.py 17 Feb 2008 00:23:34 -0000 1.21 --- pydevd_frame.py 17 Feb 2008 17:01:21 -0000 1.22 *************** *** 131,136 **** try: import psyco except ImportError: pass #ok, psyco not available - else: - trace_dispatch = psyco.proxy(trace_dispatch) --- 131,135 ---- try: import psyco + trace_dispatch = psyco.proxy(trace_dispatch) except ImportError: pass #ok, psyco not available Index: pydevd_vars.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd_vars.py,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** pydevd_vars.py 17 Feb 2008 00:23:33 -0000 1.41 --- pydevd_vars.py 17 Feb 2008 17:01:21 -0000 1.42 *************** *** 2,5 **** --- 2,6 ---- resolution/conversion to XML. """ + from pydevd_constants import * #@UnusedWildImport from types import * #@UnusedWildImport import sys #@Reimport *************** *** 8,12 **** import pydevd_resolver import traceback - from pydevd_constants import * #@UnusedWildImport #-------------------------------------------------------------------------- defining true and false for earlier versions --- 9,12 ---- *************** *** 47,50 **** --- 47,51 ---- DictType : (DictType, DictType.__name__, pydevd_resolver.dictResolver) } + except: from org.python import core #@UnresolvedImport *************** *** 62,66 **** core.PyStringMap: (core.PyStringMap, core.PyStringMap.__name__, pydevd_resolver.dictResolver) } - pass --- 63,66 ---- Index: pydevd_constants.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd_constants.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pydevd_constants.py 17 Feb 2008 00:23:33 -0000 1.9 --- pydevd_constants.py 17 Feb 2008 17:01:21 -0000 1.10 *************** *** 24,28 **** USE_PSYCO_OPTIMIZATION = True ! #Hold a reference to the original _getframe import sys GetFrame = sys._getframe --- 24,28 ---- USE_PSYCO_OPTIMIZATION = True ! #Hold a reference to the original _getframe (because psyco will change that as soon as it's imported) import sys GetFrame = sys._getframe *************** *** 30,34 **** #Used to determine the maximum size of each variable passed to eclipse -- having a big value here may make #the communication slower -- as the variables are being gathered lazily in the latest version of eclipse, ! #this value was raised from 200 to 100. MAXIMUM_VARIABLE_REPRESENTATION_SIZE = 1000 --- 30,34 ---- #Used to determine the maximum size of each variable passed to eclipse -- having a big value here may make #the communication slower -- as the variables are being gathered lazily in the latest version of eclipse, ! #this value was raised from 200 to 1000. MAXIMUM_VARIABLE_REPRESENTATION_SIZE = 1000 *************** *** 79,81 **** if __name__ == '__main__': if Null(): ! print 'here' \ No newline at end of file --- 79,82 ---- if __name__ == '__main__': if Null(): ! print 'here' ! \ No newline at end of file |