HomeSort by relevance Sort by last modified time
    Searched refs:linecache (Results 1 - 25 of 40) sorted by null

1 2

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_linecache.py 1 """ Tests for the linecache module """
3 import linecache namespace
9 FILENAME = linecache.__file__
15 MODULES = "linecache abc".split()
42 getline = linecache.getline
68 empty = linecache.getlines('a/b/c/__init__.py')
75 lines = linecache.getlines(support.TESTFN)
83 linecache.getline(filename, 1)
86 cached_empty = [fn for fn in cached if fn not in linecache.cache]
90 linecache.clearcache(
    [all...]
test_sundry.py 59 import linecache namespace
test_zipimport_support.py 14 import linecache namespace
68 # We also clear the linecache and zipimport cache
71 linecache.clearcache()
test_inspect.py 6 import linecache namespace
281 linecache.cache[co.co_filename] = (1, None, "None", co.co_filename)
299 '''doctest monkeypatches linecache to enable inspection'''
301 getlines = linecache.getlines
307 linecache.getlines = monkey
313 linecache.getlines = getlines
403 linecache.cache[co.co_filename] = (1, None, lines, co.co_filename)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_linecache.py 1 """ Tests for the linecache module """
3 import linecache namespace
9 FILENAME = linecache.__file__
15 MODULES = "linecache abc".split()
42 getline = linecache.getline
68 empty = linecache.getlines('a/b/c/__init__.py')
75 lines = linecache.getlines(support.TESTFN)
83 linecache.getline(filename, 1)
86 cached_empty = [fn for fn in cached if fn not in linecache.cache]
90 linecache.clearcache(
    [all...]
test_sundry.py 59 import linecache namespace
test_zipimport_support.py 14 import linecache namespace
68 # We also clear the linecache and zipimport cache
71 linecache.clearcache()
test_inspect.py 6 import linecache namespace
281 linecache.cache[co.co_filename] = (1, None, "None", co.co_filename)
299 '''doctest monkeypatches linecache to enable inspection'''
301 getlines = linecache.getlines
307 linecache.getlines = monkey
313 linecache.getlines = getlines
403 linecache.cache[co.co_filename] = (1, None, lines, co.co_filename)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
traceback.py 3 import linecache namespace
68 linecache.checkcache(filename)
69 line = linecache.getline(filename, lineno, f.f_globals)
100 linecache.checkcache(filename)
101 line = linecache.getline(filename, lineno, f.f_globals)
304 linecache.checkcache(filename)
305 line = linecache.getline(filename, lineno, f.f_globals)
bdb.py 40 import linecache namespace
41 linecache.checkcache()
254 import linecache # Import as late as possible namespace
255 line = linecache.getline(filename, lineno)
362 import linecache, repr namespace
382 line = linecache.getline(filename, lineno, frame.f_globals)
620 import linecache namespace
624 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
timeit.py 168 import linecache, traceback namespace
170 linecache.cache[dummy_src_name] = (len(self.src),
cgitb.py 26 import linecache namespace
135 try: return linecache.getline(file, lnum[0])
219 try: return linecache.getline(file, lnum[0])
warnings.py 6 import linecache namespace
39 line = linecache.getline(filename, lineno) if line is None else line
249 # Prime the linecache for formatting, in case the
251 linecache.getlines(filename, module_globals)
inspect.py 40 import linecache namespace
456 # or it is in the linecache
457 if filename in linecache.cache:
534 lines = linecache.getlines(file, module.__dict__)
536 lines = linecache.getlines(file)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
traceback.py 3 import linecache namespace
68 linecache.checkcache(filename)
69 line = linecache.getline(filename, lineno, f.f_globals)
100 linecache.checkcache(filename)
101 line = linecache.getline(filename, lineno, f.f_globals)
304 linecache.checkcache(filename)
305 line = linecache.getline(filename, lineno, f.f_globals)
bdb.py 40 import linecache namespace
41 linecache.checkcache()
254 import linecache # Import as late as possible namespace
255 line = linecache.getline(filename, lineno)
362 import linecache, repr namespace
382 line = linecache.getline(filename, lineno, frame.f_globals)
620 import linecache namespace
624 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
timeit.py 168 import linecache, traceback namespace
170 linecache.cache[dummy_src_name] = (len(self.src),
cgitb.py 26 import linecache namespace
135 try: return linecache.getline(file, lnum[0])
219 try: return linecache.getline(file, lnum[0])
warnings.py 6 import linecache namespace
39 line = linecache.getline(filename, lineno) if line is None else line
249 # Prime the linecache for formatting, in case the
251 linecache.getlines(filename, module_globals)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
run.py 3 import linecache namespace
36 line = linecache.getline(filename, lineno)
155 import linecache namespace
156 linecache.checkcache()
198 line = rpchandler.remotecall('linecache', 'getline',
StackViewer.py 3 import linecache namespace
71 sourceline = linecache.getline(filename, lineno)
PyShell.py 16 import linecache namespace
75 line = linecache.getline(filename, lineno)
84 orig_checkcache=linecache.checkcache):
85 """Extend linecache.checkcache to preserve the <pyshell#...> entries
87 Rather than repeating the linecache code, patch it to save the
88 <pyshell#...> entries, call the original linecache.checkcache()
94 cache = linecache.cache
102 # Patch linecache.checkcache():
103 linecache.checkcache = extended_linecache_checkcache
441 self.rpcclt.register("linecache", linecache
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
run.py 3 import linecache namespace
36 line = linecache.getline(filename, lineno)
155 import linecache namespace
156 linecache.checkcache()
198 line = rpchandler.remotecall('linecache', 'getline',
StackViewer.py 3 import linecache namespace
71 sourceline = linecache.getline(filename, lineno)
PyShell.py 16 import linecache namespace
75 line = linecache.getline(filename, lineno)
84 orig_checkcache=linecache.checkcache):
85 """Extend linecache.checkcache to preserve the <pyshell#...> entries
87 Rather than repeating the linecache code, patch it to save the
88 <pyshell#...> entries, call the original linecache.checkcache()
94 cache = linecache.cache
102 # Patch linecache.checkcache():
103 linecache.checkcache = extended_linecache_checkcache
441 self.rpcclt.register("linecache", linecache
    [all...]

Completed in 367 milliseconds

1 2