rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
self.assert_(mailbox.MHMessage(msg).get_sequences() == \ ['unseen', 'replied'])
self.assertEqual(mailbox.MHMessage(msg).get_sequences(), ['unseen', 'replied'])
def test_babyl_to_mh(self): # Convert BabylMessage to MHMessage pairs = (('unseen', ['unseen']), ('deleted', []), ('filed', []), ('answered', ['replied']), ('forwarded', []), ('edited', []), ('resent', [])) for setting, result in pairs: msg = mailbox.BabylMessage(_sample_message) msg.add_label(setting) self.assertEqual...
ea8344797e1a0ebd0b419ce14e16ab25af771fcc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/ea8344797e1a0ebd0b419ce14e16ab25af771fcc/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 70, 24383, 80, 67, 869, 67, 81, 76, 12, 2890, 4672, 468, 4037, 605, 24383, 80, 1079, 358, 490, 44, 1079, 5574, 273, 261, 2668, 318, 15156, 2187, 10228, 318, 15156, 3546, 3631...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 70, 24383, 80, 67, 869, 67, 81, 76, 12, 2890, 4672, 468, 4037, 605, 24383, 80, 1079, 358, 490, 44, 1079, 5574, 273, 261, 2668, 318, 15156, 2187, 10228, 318, 15156, 3546, 3631...
raise TypeError("Need a file handle, not a string (i.e. not a filename)")
raise TypeError(\ "Need a file handle, not a string (i.e. not a filename)")
def parse(handle, format, seq_count=None, alphabet=None): """Turns a sequence file into an iterator returning Alignment objects. Arguments: - handle - handle to the file. - format - string describing the file format. - alphabet - optional Alphabet object, useful when the sequence type cannot be automatically in...
34590c938ad0292f6c44bb49830966769cb0782f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7167/34590c938ad0292f6c44bb49830966769cb0782f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 4110, 16, 740, 16, 3833, 67, 1883, 33, 7036, 16, 10877, 33, 7036, 4672, 3536, 31873, 279, 3102, 585, 1368, 392, 2775, 5785, 17804, 2184, 18, 225, 13599, 30, 300, 1640, 565, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 4110, 16, 740, 16, 3833, 67, 1883, 33, 7036, 16, 10877, 33, 7036, 4672, 3536, 31873, 279, 3102, 585, 1368, 392, 2775, 5785, 17804, 2184, 18, 225, 13599, 30, 300, 1640, 565, 3...
filename (string) : the complete name of the file to be read """ filedata = open(filename)
file_name (string) : the complete name of the file to be read """ file_data = open(file_name)
def get_lines(self, filename): """ Reads a file and returns a list of its lines. filename (string) : the complete name of the file to be read """ filedata = open(filename) lines = []
6e7d5f2b538b57b791a24be47e353bb93f68d00a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4798/6e7d5f2b538b57b791a24be47e353bb93f68d00a/init.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3548, 12, 2890, 16, 1544, 4672, 3536, 29185, 279, 585, 471, 1135, 279, 666, 434, 2097, 2362, 18, 585, 67, 529, 565, 261, 1080, 13, 565, 294, 282, 326, 3912, 508, 434, 326, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3548, 12, 2890, 16, 1544, 4672, 3536, 29185, 279, 585, 471, 1135, 279, 666, 434, 2097, 2362, 18, 585, 67, 529, 565, 261, 1080, 13, 565, 294, 282, 326, 3912, 508, 434, 326, 5...
class PublishedValue(object): '''This is for data shared between generators''' def __init__(self, owner, key, value): object.__init__(self) self.owner = owner self.key = key self.value = value def Update(self, owner, value): '''Update the value after an ownership check succeeds''' if owner != self.owner: raise Publish...
def HandleEvent(self): '''Route a fam event to the proper callback''' event = self.fm.nextEvent() reqid = event.requestID if self.users.has_key(reqid): #print "dispatching event %s %s to obj %s handle :%s:" % (event.code2str(), event.filename, self.users[reqid], event.requestID) self.users[reqid].HandleEvent(event)
b0f8b8570d4786dcb280dca110db3e1226bffceb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/b0f8b8570d4786dcb280dca110db3e1226bffceb/Core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5004, 1133, 12, 2890, 4672, 9163, 3255, 279, 26688, 871, 358, 326, 5338, 1348, 26418, 871, 273, 365, 18, 25089, 18, 4285, 1133, 1435, 1111, 350, 273, 871, 18, 2293, 734, 309, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5004, 1133, 12, 2890, 4672, 9163, 3255, 279, 26688, 871, 358, 326, 5338, 1348, 26418, 871, 273, 365, 18, 25089, 18, 4285, 1133, 1435, 1111, 350, 273, 871, 18, 2293, 734, 309, 365, 18, ...
self.outdir = outdir or os.path.join(self.srcdir, '_build', 'websupport')
self.outdir = outdir or path.join(self.srcdir, '_build', 'websupport')
def init(self, srcdir, outdir='', comment_html=''): self.srcdir = srcdir self.outdir = outdir or os.path.join(self.srcdir, '_build', 'websupport') self.comment_template = Template(comment_html)
9e7522a155f5bc04e330100777aafd9fb5ab856f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7032/9e7522a155f5bc04e330100777aafd9fb5ab856f/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 16, 1705, 1214, 16, 15398, 2218, 2187, 2879, 67, 2620, 2218, 11, 4672, 365, 18, 4816, 1214, 273, 1705, 1214, 365, 18, 659, 1214, 273, 15398, 578, 589, 18, 5701, 12, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 2890, 16, 1705, 1214, 16, 15398, 2218, 2187, 2879, 67, 2620, 2218, 11, 4672, 365, 18, 4816, 1214, 273, 1705, 1214, 365, 18, 659, 1214, 273, 15398, 578, 589, 18, 5701, 12, 289...
test_ports.append(port)
test_ports.add(port)
def exit_test(self, router): """ Perform port and IP tests on router. Will block until all port tests are finished. Can raise the following errors: socket.error - errno == errno.ECONNREFUSED: Tor refused our SOCKS connected. """ test_data = {} test_ports = [] recv_sockets = [] listen_sockets = [] self.test_exit = route...
4c865d62c51c3e1a9d19c722ba2e4c12fc91c4eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/4c865d62c51c3e1a9d19c722ba2e4c12fc91c4eb/torbel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2427, 67, 3813, 12, 2890, 16, 4633, 4672, 3536, 11217, 1756, 471, 2971, 7434, 603, 4633, 18, 9980, 1203, 3180, 777, 1756, 7434, 854, 6708, 18, 4480, 1002, 326, 3751, 1334, 30, 2987, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2427, 67, 3813, 12, 2890, 16, 4633, 4672, 3536, 11217, 1756, 471, 2971, 7434, 603, 4633, 18, 9980, 1203, 3180, 777, 1756, 7434, 854, 6708, 18, 4480, 1002, 326, 3751, 1334, 30, 2987, 18, ...
print log
debug(log)
def ingestQFitsInResults(fitsinId, g): """ Stores results from QFits-in outputs. """ imgName = g.execute("""
13b9a9b87ab9f25ee174dc029876ecccb77b01ad /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11651/13b9a9b87ab9f25ee174dc029876ecccb77b01ad/wrapper_processing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29105, 53, 42, 1282, 382, 3447, 12, 18352, 267, 548, 16, 314, 4672, 3536, 20296, 455, 1686, 628, 2238, 42, 1282, 17, 267, 6729, 18, 3536, 225, 3774, 461, 273, 314, 18, 8837, 2932, 3660...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29105, 53, 42, 1282, 382, 3447, 12, 18352, 267, 548, 16, 314, 4672, 3536, 20296, 455, 1686, 628, 2238, 42, 1282, 17, 267, 6729, 18, 3536, 225, 3774, 461, 273, 314, 18, 8837, 2932, 3660...
'blas_src',blas_src_info['sources'],
'blas_src',blas_src_info['sources'] + \ [os.path.join(local_path,'src','fblaswrap.f')],
def configuration(parent_package=''): if sys.platform == 'win32': import scipy_distutils.mingw32_support from scipy_distutils.core import Extension from scipy_distutils.misc_util import get_path, default_config_dict from scipy_distutils.misc_util import fortran_library_item, dot_join from scipy_distutils.system_info ...
b1e1ccbf85736bc67a87e9364025451a1d59dadd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/b1e1ccbf85736bc67a87e9364025451a1d59dadd/setup_linalg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1664, 12, 2938, 67, 5610, 2218, 11, 4672, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 1930, 10966, 67, 4413, 5471, 18, 11987, 91, 1578, 67, 13261, 225, 628, 10966, 67, 4413, 5471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1664, 12, 2938, 67, 5610, 2218, 11, 4672, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 1930, 10966, 67, 4413, 5471, 18, 11987, 91, 1578, 67, 13261, 225, 628, 10966, 67, 4413, 5471, ...
def releaseprocesslocko_exlock(lockname): if lockname in oldfiledesc: os.close(oldfiledesc[lockname]) del oldfiledesc[lockname]
def releaseprocesslocko_exlock(lockname): if lockname in oldfiledesc: os.close(oldfiledesc[lockname]) del oldfiledesc[lockname] #print >> sys.stderr, 'removed o_exlock for '+lockname
4d800553044ca4783ee75b7059611676c05ae73a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7263/4d800553044ca4783ee75b7059611676c05ae73a/runonce.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3992, 2567, 739, 83, 67, 338, 739, 12, 739, 529, 4672, 309, 2176, 529, 316, 1592, 768, 5569, 30, 1140, 18, 4412, 12, 1673, 768, 5569, 63, 739, 529, 5717, 1464, 1592, 768, 5569, 63, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3992, 2567, 739, 83, 67, 338, 739, 12, 739, 529, 4672, 309, 2176, 529, 316, 1592, 768, 5569, 30, 1140, 18, 4412, 12, 1673, 768, 5569, 63, 739, 529, 5717, 1464, 1592, 768, 5569, 63, 7...
if not kwards['auth'].isInternal:
if not kwargs['auth'].isInternal:
def wrapper(self, **kwargs): if not kwards['auth'].isInternal: raise PermissionDenied else: return func(self, **kwargs)
f778fb1d5d00b86825ce894663333e0bd978020f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/f778fb1d5d00b86825ce894663333e0bd978020f/webauth.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4053, 12, 2890, 16, 2826, 4333, 4672, 309, 486, 1205, 3292, 1944, 29489, 291, 3061, 30, 1002, 8509, 10410, 469, 30, 327, 1326, 12, 2890, 16, 2826, 4333, 13, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4053, 12, 2890, 16, 2826, 4333, 4672, 309, 486, 1205, 3292, 1944, 29489, 291, 3061, 30, 1002, 8509, 10410, 469, 30, 327, 1326, 12, 2890, 16, 2826, 4333, 13, 2, -100, -100, -100, -100, ...
def setUp(self): self.tzInfoItem = TimeZoneInfo.get()
def setUp(self): self.tzInfoItem = TimeZoneInfo.get()
e9c0d122135d172b05c4a43216da94519b0c92dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/e9c0d122135d172b05c4a43216da94519b0c92dc/TestTimeZone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 12994, 966, 1180, 273, 16491, 966, 18, 588, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 12994, 966, 1180, 273, 16491, 966, 18, 588, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
PygameFont = font_module.Font
PygameFont = _renpy_font.Font
def transform_rotozoom(surf, angle, scale): return Surface(old_transform_flip(surf.surface, angle, scale))
48cf0cd50a4f49d3fa3be3475cd99d662ec6be99 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10962/48cf0cd50a4f49d3fa3be3475cd99d662ec6be99/scale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2510, 67, 303, 869, 14932, 12, 10050, 74, 16, 5291, 16, 3159, 4672, 327, 24354, 12, 1673, 67, 6547, 67, 12357, 12, 10050, 74, 18, 18266, 16, 5291, 16, 3159, 3719, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2510, 67, 303, 869, 14932, 12, 10050, 74, 16, 5291, 16, 3159, 4672, 327, 24354, 12, 1673, 67, 6547, 67, 12357, 12, 10050, 74, 18, 18266, 16, 5291, 16, 3159, 3719, 2, -100, -100, -100, ...
_raise_invalid_type(type_, code)
if modname == classname: code = module_or_class else: _raise_invalid_type(type_, code)
def import_(name, type_='test library'): """Imports Python class/module or Java class with given name. 'name' can also be a path to the library and in that case the directory containing the lib is automatically put into sys.path and removed there afterwards. 'type_' is used in error message if importing fails. Class...
8b628243a05de38f0872c3058ce35ea738ecc3c6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7408/8b628243a05de38f0872c3058ce35ea738ecc3c6/importing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 67, 12, 529, 16, 618, 67, 2218, 3813, 5313, 11, 4672, 3536, 13347, 6600, 667, 19, 2978, 578, 5110, 667, 598, 864, 508, 18, 225, 296, 529, 11, 848, 2546, 506, 279, 589, 358, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 67, 12, 529, 16, 618, 67, 2218, 3813, 5313, 11, 4672, 3536, 13347, 6600, 667, 19, 2978, 578, 5110, 667, 598, 864, 508, 18, 225, 296, 529, 11, 848, 2546, 506, 279, 589, 358, 326...
for tbl in table_list: tbl = skytools.fq_name(tbl)
table_list = [] for tbl in tbls:
def subscriber_add_tables(self, table_list): provider_tables = self.get_provider_table_list() subscriber_tables = self.get_subscriber_table_list()
284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14597/284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9467, 67, 1289, 67, 9373, 12, 2890, 16, 1014, 67, 1098, 4672, 2893, 67, 9373, 273, 365, 18, 588, 67, 6778, 67, 2121, 67, 1098, 1435, 9467, 67, 9373, 273, 365, 18, 588, 67, 26410, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9467, 67, 1289, 67, 9373, 12, 2890, 16, 1014, 67, 1098, 4672, 2893, 67, 9373, 273, 365, 18, 588, 67, 6778, 67, 2121, 67, 1098, 1435, 9467, 67, 9373, 273, 365, 18, 588, 67, 26410, 67,...
if value is False or value is True:
if isinstance(value, bool):
def __new__(cls, value, lang=None, typeUri=None): if lang is not None: typeUri = None elif typeUri is not None: lang = None else: lang = None
b876c644ee366147b108cc647cb98dccaf3e6a80 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5223/b876c644ee366147b108cc647cb98dccaf3e6a80/literal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 460, 16, 3303, 33, 7036, 16, 618, 3006, 33, 7036, 4672, 309, 3303, 353, 486, 599, 30, 618, 3006, 273, 599, 1327, 618, 3006, 353, 486, 599, 30, 3303, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 460, 16, 3303, 33, 7036, 16, 618, 3006, 33, 7036, 4672, 309, 3303, 353, 486, 599, 30, 618, 3006, 273, 599, 1327, 618, 3006, 353, 486, 599, 30, 3303, 27...
found. (XXX is this correct???)"""
found."""
def get_devstudio_versions (): """Get list of devstudio versions from the Windows registry. Return a list of strings (???) containing version numbers; the list will be empty if we were unable to access the registry (eg. couldn't import a registry-access module) or the appropriate registry keys weren't found. (XXX is...
699880931e52bf7d77326f3308151b37cee42dfe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/699880931e52bf7d77326f3308151b37cee42dfe/msvccompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5206, 334, 4484, 67, 10169, 1832, 30, 225, 3536, 967, 666, 434, 4461, 334, 4484, 5244, 628, 326, 8202, 4023, 18, 225, 2000, 279, 666, 434, 2064, 13590, 35, 8535, 4191, 1177, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5206, 334, 4484, 67, 10169, 1832, 30, 225, 3536, 967, 666, 434, 4461, 334, 4484, 5244, 628, 326, 8202, 4023, 18, 225, 2000, 279, 666, 434, 2064, 13590, 35, 8535, 4191, 1177, 5...
self.vbox = GtkVBox()
self.vbox = gtk.VBox()
def __init__ (self, driver, app): """ Constructor. """ GtkScrolledWindow.__init__ (self) self.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC) self.app = app # copy options (dict function does not exist in Python 2.1 :( ) self.opts = {} for name,val in app.options.items(): self.opts[name] = val # remove all options know...
ec17e2ee5c945ddc11ff8bcc0cdc586ae535e76d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/ec17e2ee5c945ddc11ff8bcc0cdc586ae535e76d/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 3419, 16, 595, 4672, 3536, 11417, 18, 3536, 22132, 1541, 25054, 3829, 16186, 2738, 972, 261, 2890, 13, 365, 18, 542, 67, 5086, 261, 26366, 67, 37, 1693, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 3419, 16, 595, 4672, 3536, 11417, 18, 3536, 22132, 1541, 25054, 3829, 16186, 2738, 972, 261, 2890, 13, 365, 18, 542, 67, 5086, 261, 26366, 67, 37, 1693, ...
self.buffer.append([DATA, self.jsfilter.flushbuf()])
self.data.append(self.jsfilter.flushbuf())
def jsScriptSrc (self, url, language): if not url: return #debug(HURT_ME_PLENTY, "jsScriptSrc", url, language) try: script = urlutils.open_url(url) except: print >>sys.stderr, "exception fetching script url", `url` return if not script: return ver = 0.0 if language: mo = re.search(r'(?i)javascript(?P<num>\d\.\d)', lang...
ac3470728f7e970a92ce929b4fa85ae2f5e5d4ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/ac3470728f7e970a92ce929b4fa85ae2f5e5d4ae/Rewriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3828, 3651, 7740, 261, 2890, 16, 880, 16, 2653, 4672, 309, 486, 880, 30, 327, 468, 4148, 12, 44, 1099, 56, 67, 958, 67, 30099, 1784, 61, 16, 315, 2924, 3651, 7740, 3113, 880, 16, 265...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3828, 3651, 7740, 261, 2890, 16, 880, 16, 2653, 4672, 309, 486, 880, 30, 327, 468, 4148, 12, 44, 1099, 56, 67, 958, 67, 30099, 1784, 61, 16, 315, 2924, 3651, 7740, 3113, 880, 16, 265...
message_pattern = u'To: %(to_addr)s\n' \ u'From: %(from_addr)s\n' \ u'Subject: %(subject)s\n' \ u'\n' \ u'%(body)s\n'
message_pattern = ( u'To: %(to_addr)s\n' u'From: %(from_addr)s\n' u'Subject: %(subject)s\n' u'Content-Transfer-Encoding: 8bit\n' u'Content-Type: text/plain; charset="%(encoding)s"\n' u'\n' u'%(body)s\n')
def send_email(self, from_addr, to_addr, subject, body, **kw): context = get_context() handler_path = context.handler.get_abspath() method = context.method # Build the message message_pattern = u'To: %(to_addr)s\n' \ u'From: %(from_addr)s\n' \ u'Subject: %(subject)s\n' \ u'\n' \ u'%(body)s\n' message = message_pattern...
ad84881c1322f363c3bbb6f30e365ad070f8adb2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/ad84881c1322f363c3bbb6f30e365ad070f8adb2/root.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 3652, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 4793, 16, 3221, 16, 1417, 16, 2826, 9987, 4672, 819, 273, 336, 67, 2472, 1435, 1838, 67, 803, 273, 819, 18, 4176, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 3652, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 4793, 16, 3221, 16, 1417, 16, 2826, 9987, 4672, 819, 273, 336, 67, 2472, 1435, 1838, 67, 803, 273, 819, 18, 4176, 18, 588, ...
PangoAttrList = struct__PangoAttrList
PangoAttrList = struct__PangoAttrList
def load_lib(name): libname = ctypes.util.find_library(name) if not libname: raise OSError("Could not find library '%s'" % name) else: return CDLL(libname)
92bb4862df49194567fad21ea00d921ffc62dd6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10761/92bb4862df49194567fad21ea00d921ffc62dd6a/pango.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 2941, 12, 529, 4672, 2561, 529, 273, 6983, 18, 1367, 18, 4720, 67, 12083, 12, 529, 13, 309, 486, 2561, 529, 30, 1002, 10002, 2932, 4445, 486, 1104, 5313, 1995, 87, 4970, 738,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 2941, 12, 529, 4672, 2561, 529, 273, 6983, 18, 1367, 18, 4720, 67, 12083, 12, 529, 13, 309, 486, 2561, 529, 30, 1002, 10002, 2932, 4445, 486, 1104, 5313, 1995, 87, 4970, 738,...
return False, sorted(self.object.__dict__.iteritems())
return False, sorted([(mname, self.get_attr(self.object, mname)) for mname in self.object.__dict__])
def get_object_members(self, members=ALL): if members is not ALL: # specific members given ret = [] for mname in members: try: ret.append((mname, self.get_attr(self.object, mname))) except AttributeError: self.directive.warn('missing attribute %s in object %s: ' % (mname, self.fullname)) return False, ret elif self.opt...
d2a799f4b5426824765ac82cbb214fde0b5b6799 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7032/d2a799f4b5426824765ac82cbb214fde0b5b6799/autodoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1612, 67, 7640, 12, 2890, 16, 4833, 33, 4685, 4672, 309, 4833, 353, 486, 8061, 30, 468, 2923, 4833, 864, 325, 273, 5378, 364, 312, 529, 316, 4833, 30, 775, 30, 325, 18, 6923...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1612, 67, 7640, 12, 2890, 16, 4833, 33, 4685, 4672, 309, 4833, 353, 486, 8061, 30, 468, 2923, 4833, 864, 325, 273, 5378, 364, 312, 529, 316, 4833, 30, 775, 30, 325, 18, 6923...
def removeSiteFromMask(self,site):
def removeSiteFromMask( self, site ):
def removeSiteFromMask(self,site): """ Remove the given site from the mask """ ret = self._escapeString(site) if not ret['OK']: return ret site = ret['Value']
99c1bc850ba087890925b3180df206f65bb1d4b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/99c1bc850ba087890925b3180df206f65bb1d4b3/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 4956, 1265, 5796, 12, 365, 16, 2834, 262, 30, 3536, 3581, 326, 864, 2834, 628, 326, 3066, 3536, 325, 273, 365, 6315, 6939, 780, 12, 4256, 13, 309, 486, 325, 3292, 3141, 3546, 30,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 4956, 1265, 5796, 12, 365, 16, 2834, 262, 30, 3536, 3581, 326, 864, 2834, 628, 326, 3066, 3536, 325, 273, 365, 6315, 6939, 780, 12, 4256, 13, 309, 486, 325, 3292, 3141, 3546, 30,...
Please go to <a href="http://www.slac.stanford.edu/spires/">SPIRES</a> if you are here by mistake.</br></br>
Please go to <a href="http://www.slac.stanford.edu/spires/">SPIRES</a> if you are here by mistake.<br />
def tmpl_pageheader(self, req, ln=CFG_SITE_LANG, headertitle="", description="", keywords="", userinfobox="", useractivities_menu="", adminactivities_menu="", navtrailbox="", pageheaderadd="", uid=0, secure_page_p=0, navmenuid="admin", metaheaderadd="", rssurl=CFG_SITE_URL+"/rss", body_css_classes=None):
8e598dc8d14fab9d28129d2da6af04a524f8cb64 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14116/8e598dc8d14fab9d28129d2da6af04a524f8cb64/webstyle_templates_inspire.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 2433, 3374, 12, 2890, 16, 1111, 16, 7211, 33, 19727, 67, 20609, 67, 10571, 16, 910, 1051, 1280, 1546, 3113, 2477, 1546, 3113, 7093, 1546, 3113, 18297, 2147, 1546, 3113, 729, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 2433, 3374, 12, 2890, 16, 1111, 16, 7211, 33, 19727, 67, 20609, 67, 10571, 16, 910, 1051, 1280, 1546, 3113, 2477, 1546, 3113, 7093, 1546, 3113, 18297, 2147, 1546, 3113, 729, 2...
if result == e[1]:
if re.match(e[1], result):
def strftest(now): if verbose: print "strftime test for", time.ctime(now) nowsecs = str(long(now))[:-1] gmt = time.gmtime(now) now = time.localtime(now) if now[3] < 12: ampm='AM' else: ampm='PM' jan1 = time.localtime(time.mktime((now[0], 1, 1) + (0,)*6)) try: if now[8]: tz = time.tzname[1] else: tz = time.tzname[0] ...
7944ea523ed1da2cfa99c922509caa07114b4096 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/7944ea523ed1da2cfa99c922509caa07114b4096/test_strftime.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 609, 1222, 395, 12, 3338, 4672, 309, 3988, 30, 1172, 315, 701, 9982, 1842, 364, 3113, 813, 18, 21261, 12, 3338, 13, 2037, 21317, 273, 609, 12, 5748, 12, 3338, 3719, 10531, 17, 21, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 609, 1222, 395, 12, 3338, 4672, 309, 3988, 30, 1172, 315, 701, 9982, 1842, 364, 3113, 813, 18, 21261, 12, 3338, 13, 2037, 21317, 273, 609, 12, 5748, 12, 3338, 3719, 10531, 17, 21, 65, ...
print >> s, ' doskey libtbx.%ssetpaths="%s\\%ssetpaths.bat" $*' % ( un, self.bin_path, un)
print >> s, ' doskey libtbx.%ssetpaths=%s\\%ssetpaths.bat $*' % ( un, self.build_path, un)
def write_setpaths_bat(self): setpaths_path = self.under_build("setpaths.bat") unsetpaths_path = self.under_build("unsetpaths.bat") s = open_info(setpaths_path) u = open_info(unsetpaths_path) update_path = windows_update_path(self, s, u) for f in s, u: print >> f, '@ECHO off' print >> f, 'if not exist "%s" goto fatal_e...
64438d7883e0708b9643be0c227d60303fd6ed3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/64438d7883e0708b9643be0c227d60303fd6ed3b/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 542, 4481, 67, 28260, 12, 2890, 4672, 444, 4481, 67, 803, 273, 365, 18, 9341, 67, 3510, 2932, 542, 4481, 18, 28260, 7923, 2646, 4481, 67, 803, 273, 365, 18, 9341, 67, 3510, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 542, 4481, 67, 28260, 12, 2890, 4672, 444, 4481, 67, 803, 273, 365, 18, 9341, 67, 3510, 2932, 542, 4481, 18, 28260, 7923, 2646, 4481, 67, 803, 273, 365, 18, 9341, 67, 3510, ...
return self.get_end_tag()
return '</%s>' % self.qname
def get_end_tag_as_html(self): if self.name in empty_elements: return '' return self.get_end_tag()
9b8cc9ff753836808bdfc6a5822bbfcac355b31a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/9b8cc9ff753836808bdfc6a5822bbfcac355b31a/XHTML.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 409, 67, 2692, 67, 345, 67, 2620, 12, 2890, 4672, 309, 365, 18, 529, 316, 1008, 67, 6274, 30, 327, 875, 327, 365, 18, 588, 67, 409, 67, 2692, 1435, 2, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 409, 67, 2692, 67, 345, 67, 2620, 12, 2890, 4672, 309, 365, 18, 529, 316, 1008, 67, 6274, 30, 327, 875, 327, 365, 18, 588, 67, 409, 67, 2692, 1435, 2, -100, -100, -100, -1...
s.append('<li>"%s" (%s)</li>'%(name, esc(repr(info))))
s.append(_('<li>"%(name)s" (%(info)s)</li>') % {'name': name, 'info': esc(repr(info))})
def pt_html(context=5): esc = cgi.escape l = ['<h1>Templating Error</h1>', '<p><b>%s</b>: %s</p>'%(esc(str(sys.exc_type)), esc(str(sys.exc_value))), '<p class="help">Debugging information follows</p>', '<ol>',] from roundup.cgi.PageTemplates.Expressions import TraversalError t = inspect.trace(context) t.reverse() for f...
f8fb7de2f6d69a02b72966a8e8af2c65d4eec9d4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/f8fb7de2f6d69a02b72966a8e8af2c65d4eec9d4/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5818, 67, 2620, 12, 2472, 33, 25, 4672, 2904, 273, 276, 10052, 18, 6939, 328, 273, 10228, 32, 76, 21, 34, 26033, 1776, 1068, 1757, 76, 21, 1870, 16, 2368, 84, 4438, 70, 9822, 87, 175...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5818, 67, 2620, 12, 2472, 33, 25, 4672, 2904, 273, 276, 10052, 18, 6939, 328, 273, 10228, 32, 76, 21, 34, 26033, 1776, 1068, 1757, 76, 21, 1870, 16, 2368, 84, 4438, 70, 9822, 87, 175...
print "Issuing (%d)" % self.chunk, "via", self.url
def run(self): print "Issuing (%d)" % self.chunk, "via", self.url stats = time.qServQueryTimer[time.qServRunningName] taskName = "chunkQ_" + str(self.chunk) stats[taskName+"Start"] = time.time() self.successful = True handle = xrdOpen(self.url, os.O_RDWR) q = self.query wCount = xrdWrite(handle, charArray_frompointer(q...
f8e07b73274f1980951622393154f7ae4a9b8230 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6510/f8e07b73274f1980951622393154f7ae4a9b8230/app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 225, 3177, 273, 813, 18, 85, 827, 90, 1138, 6777, 63, 957, 18, 85, 827, 90, 7051, 461, 65, 20172, 273, 315, 6551, 53, 9548, 397, 609, 12, 2890, 18, 6551, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 225, 3177, 273, 813, 18, 85, 827, 90, 1138, 6777, 63, 957, 18, 85, 827, 90, 7051, 461, 65, 20172, 273, 315, 6551, 53, 9548, 397, 609, 12, 2890, 18, 6551, 13, ...
return result
return metadata
def get_matew_directory_metadata(self, subdir = None): ''' Return dictionary with meta data parsed from Matew like format. ''' if subdir is None: path = self.description_file else: path = os.path.join(self.source, subdir, MATEW_METADATA)
0072aa3fcb21238a79a805652e0dd4ec982a2bd5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4663/0072aa3fcb21238a79a805652e0dd4ec982a2bd5/lazygal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 81, 340, 91, 67, 5149, 67, 4165, 12, 2890, 16, 16921, 273, 599, 4672, 9163, 2000, 3880, 598, 2191, 501, 2707, 628, 490, 340, 91, 3007, 740, 18, 9163, 309, 16921, 353, 599, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 81, 340, 91, 67, 5149, 67, 4165, 12, 2890, 16, 16921, 273, 599, 4672, 9163, 2000, 3880, 598, 2191, 501, 2707, 628, 490, 340, 91, 3007, 740, 18, 9163, 309, 16921, 353, 599, 3...
print_records(req, results_cocited_recIDs, jrec, rg, of, ot, ln, search_pattern=p)
print_records(req, results_cocited_recIDs, jrec, rg, of, ot, ln, search_pattern=p, verbose=verbose)
def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg=10, sf="", so="d", sp="", rm="", of="id", ot="", as=0, p1="", f1="", m1="", op1="", p2="", f2="", m2="", op2="", p3="", f3="", m3="", sc=0, jrec=0, recid=-1, recidb=-1, sysno="", id=-1, idb=-1, sysnb="", action="", d1y=0, d1m=0, d1d=0, d2y=0, d2m=0...
845a99c9c5de9c5d99d06ec25bc8f5be515522e8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/845a99c9c5de9c5d99d06ec25bc8f5be515522e8/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 33, 2163, 16, 9033, 1546, 3113, 1427, 1546, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 33, 2163, 16, 9033, 1546, 3113, 1427, 1546, ...
if self.options['db_host']: self._generate_pgpassfile()
def die(cond, msg): if cond: print msg sys.exit(1)
2acfff6a931f436e108cde117aab5687c2fa3f3d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/2acfff6a931f436e108cde117aab5687c2fa3f3d/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10387, 12, 10013, 16, 1234, 4672, 309, 6941, 30, 1172, 1234, 2589, 18, 8593, 12, 21, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10387, 12, 10013, 16, 1234, 4672, 309, 6941, 30, 1172, 1234, 2589, 18, 8593, 12, 21, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.temproot = tempfile.tempdir = tempfile.mkdtemp()
self.temproot = tempfile.tempdir = \ tempfile.mkdtemp(prefix="test-archivemail")
def setUp(self): if not self.temproot: assert(not tempfile.tempdir) self.temproot = tempfile.tempdir = tempfile.mkdtemp()
a8e76ead22d78add2ffdcb31fba0d8f7d47b4274 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1746/a8e76ead22d78add2ffdcb31fba0d8f7d47b4274/test_archivemail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 309, 486, 365, 18, 874, 685, 352, 30, 1815, 12, 902, 13275, 18, 5814, 1214, 13, 365, 18, 874, 685, 352, 273, 13275, 18, 5814, 1214, 273, 13275, 18, 24816, 72, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 309, 486, 365, 18, 874, 685, 352, 30, 1815, 12, 902, 13275, 18, 5814, 1214, 13, 365, 18, 874, 685, 352, 273, 13275, 18, 5814, 1214, 273, 13275, 18, 24816, 72, ...
print " - %s use %s classes" % (viewId, len(deps[viewId]))
print " - %s uses %s classes" % (viewId, len(deps[viewId]))
def processViews(views, loadDeps, runDeps, output): global classes print ">>> Analysing %s views..." % len(views) classCounts = {} # Generating data structures for possible modules classMods = {} # for id in views: # Hint: IDs # # apiviewer # feedreader # webmail # apiviewer-feedreader # apiviewer-webmail # feedrea...
81b747f6b630b33c32656070c873a9a09a9e6100 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5718/81b747f6b630b33c32656070c873a9a09a9e6100/generator2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 9959, 12, 7061, 16, 1262, 14430, 16, 1086, 14430, 16, 876, 4672, 2552, 3318, 225, 1172, 315, 23012, 1922, 3646, 310, 738, 87, 7361, 7070, 738, 562, 12, 7061, 13, 225, 667, 9211, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 9959, 12, 7061, 16, 1262, 14430, 16, 1086, 14430, 16, 876, 4672, 2552, 3318, 225, 1172, 315, 23012, 1922, 3646, 310, 738, 87, 7361, 7070, 738, 562, 12, 7061, 13, 225, 667, 9211, ...
tx.moveCursor(offset + 0.5 * extraspace, 0)
m = offset + 0.5 * extraspace tx.moveCursor(m, 0)
def cleanBlockQuotedText(text): """This is an internal utility which takes triple- quoted text form within the document and returns (hopefully) the paragraph the user intended originally.""" stripped = string.strip(text) lines = string.split(stripped, '\n') trimmed_lines = map(string.lstrip, lines) return string.join(t...
52bd0f5ee571a9ff180340925cb777fdd03bc82b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/52bd0f5ee571a9ff180340925cb777fdd03bc82b/paragraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 1768, 15919, 1528, 12, 955, 4672, 3536, 2503, 353, 392, 2713, 12788, 1492, 5530, 14543, 17, 9298, 977, 646, 3470, 326, 1668, 471, 1135, 261, 76, 1306, 4095, 13, 326, 10190, 326, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 1768, 15919, 1528, 12, 955, 4672, 3536, 2503, 353, 392, 2713, 12788, 1492, 5530, 14543, 17, 9298, 977, 646, 3470, 326, 1668, 471, 1135, 261, 76, 1306, 4095, 13, 326, 10190, 326, 72...
r""" INPUT: n -- non negative integer OUTPUT: integer -- function value EXAMPLES: sage: a = sloane.A000100;a Number of compositions of n in which the maximum part size is 3. sage: a(0) 0 sage: a(1) 0 sage: a(2) 0 sage: a(3) 1 sage: a(11) 360 sage: a.list(12) [0, 0, 0, 1, 2, 5, 11, 23, 47, 94, 185, 360] AUTHOR: -- J...
def __init__(self): r""" INPUT: n -- non negative integer OUTPUT: integer -- function value EXAMPLES: sage: a = sloane.A000100;a Number of compositions of n in which the maximum part size is 3. sage: a(0) 0 sage: a(1) 0 sage: a(2) 0 sage: a(3) 1 sage: a(11) 360 sage: a.list(12) [0, 0, 0, 1, 2, 5, 11, 23, 47, 94, 185...
def _repr_(self): return "Sequence of Uppuluri-Carpenter numbers"
8b300fed02e947af57b58146f62dccfc715cf0b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/8b300fed02e947af57b58146f62dccfc715cf0b9/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 67, 12, 2890, 4672, 327, 315, 4021, 434, 1948, 84, 332, 1650, 17, 39, 11441, 2328, 5600, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 67, 12, 2890, 4672, 327, 315, 4021, 434, 1948, 84, 332, 1650, 17, 39, 11441, 2328, 5600, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
nextLink = body.find('a', href=nextLinkPattern) if nextLink is not None: path = nextLink['href']
next_text = body.find(text=nextpattern) if next_text is not None: path = next_text.parent['href']
def getReferences(self, follow_redirects=True, withTemplateInclusion=True, onlyTemplateInclusion=False, redirectsOnly=False): """ Yield all pages that link to the page. If you need a full list of referring pages, use this:
5f6008d079b10b9c5ea277de249b8152a044835f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/5f6008d079b10b9c5ea277de249b8152a044835f/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5561, 2980, 12, 2890, 16, 2805, 67, 22715, 33, 5510, 16, 598, 2283, 382, 15335, 33, 5510, 16, 1338, 2283, 382, 15335, 33, 8381, 16, 18064, 3386, 33, 8381, 4672, 3536, 31666, 777, 4689, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5561, 2980, 12, 2890, 16, 2805, 67, 22715, 33, 5510, 16, 598, 2283, 382, 15335, 33, 5510, 16, 1338, 2283, 382, 15335, 33, 8381, 16, 18064, 3386, 33, 8381, 4672, 3536, 31666, 777, 4689, ...
self.modified = 1
self.modified = True
def itemNameEdited(self,a0): #sys.stdout.write("Edited Item %d named %s\n" % (self.ItemNameCombo.currentIndex(), a0)) if self.nocalc: return # Ignore side-effect signal textEditChanged() prior to activated() if self.ItemNameCombo.currentIndex() != 0: return # Don't update as we stumble upon a duplicate name, let them k...
cdc9cf773cf0c254cf668f14ba48aa9d538724e6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6671/cdc9cf773cf0c254cf668f14ba48aa9d538724e6/ScWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23488, 4666, 329, 12, 2890, 16, 69, 20, 4672, 468, 9499, 18, 10283, 18, 2626, 2932, 4666, 329, 4342, 738, 72, 4141, 738, 87, 64, 82, 6, 738, 261, 2890, 18, 1180, 461, 16156, 18, 2972...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23488, 4666, 329, 12, 2890, 16, 69, 20, 4672, 468, 9499, 18, 10283, 18, 2626, 2932, 4666, 329, 4342, 738, 72, 4141, 738, 87, 64, 82, 6, 738, 261, 2890, 18, 1180, 461, 16156, 18, 2972...
if netloc:
if netloc or (scheme in uses_netloc and url[:2] == '//'):
def urlunparse((scheme, netloc, url, params, query, fragment)): if netloc: if url[:1] != '/': url = '/' + url url = '//' + netloc + url if scheme: url = scheme + ':' + url if params: url = url + ';' + params if query: url = url + '?' + query if fragment: url = url + '#' + fragment return url
5b9b288f227c810394eda4fa43db71247c9da5ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/5b9b288f227c810394eda4fa43db71247c9da5ba/urlparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 880, 318, 2670, 12443, 9068, 16, 17345, 16, 880, 16, 859, 16, 843, 16, 5481, 3719, 30, 309, 17345, 578, 261, 9068, 316, 4692, 67, 2758, 1829, 471, 880, 10531, 22, 65, 422, 19696, 4672,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 880, 318, 2670, 12443, 9068, 16, 17345, 16, 880, 16, 859, 16, 843, 16, 5481, 3719, 30, 309, 17345, 578, 261, 9068, 316, 4692, 67, 2758, 1829, 471, 880, 10531, 22, 65, 422, 19696, 4672,...
launch_success = 0
def launch(self): """Launch external editor""" use_locks = int(self.options.get('use_locks', 0)) if use_locks and self.metadata.get('lock-token'): # A lock token came down with the data, so the object is # already locked, see if we can borrow the lock if (int(self.options.get('always_borrow_locks', 0)) or self.metadata...
d623ac4bc2b8c02ceef969713c1b9f16c48637d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/d623ac4bc2b8c02ceef969713c1b9f16c48637d3/zopeedit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8037, 12, 2890, 4672, 3536, 9569, 3903, 4858, 8395, 999, 67, 23581, 273, 509, 12, 2890, 18, 2116, 18, 588, 2668, 1202, 67, 23581, 2187, 374, 3719, 309, 999, 67, 23581, 471, 365, 18, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8037, 12, 2890, 4672, 3536, 9569, 3903, 4858, 8395, 999, 67, 23581, 273, 509, 12, 2890, 18, 2116, 18, 588, 2668, 1202, 67, 23581, 2187, 374, 3719, 309, 999, 67, 23581, 471, 365, 18, 41...
which are forwarded to the _dispatch method for handling. """
which are forwarded to the server's _dispatch method for handling. """
def do_POST(self): """Handles the HTTP POST request.
296497a20942d024558fc4b2a9158f4567167ac9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/296497a20942d024558fc4b2a9158f4567167ac9/SimpleXMLRPCServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3798, 12, 2890, 4672, 3536, 8788, 326, 2239, 5485, 590, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3798, 12, 2890, 4672, 3536, 8788, 326, 2239, 5485, 590, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
realend.forward_to_line_end() restofline = end_line.get_slice(realend) restofline.strip()
restofline = None if not realend.ends_line(): realend.forward_to_line_end() restofline = end_line.get_slice(realend) restofline.strip()
def _insert_at_cursor(self, tv, itera, tex, leng) : #We don't paste the bullet if tex.strip() != self.bullet1 : #print "text ###%s### inserted length = %s" %(tex,leng) #disable the insert signal to avoid recursion self.buff.disconnect(self.insert_sigid) self.insert_sigid = False self.buff.disconnect(self.modified_sigid...
d668e165fcbfcec76c6a3b491d823fa6065d38a1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7036/d668e165fcbfcec76c6a3b491d823fa6065d38a1/taskview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6387, 67, 270, 67, 9216, 12, 2890, 16, 13521, 16, 1400, 69, 16, 16573, 16, 562, 75, 13, 294, 468, 3218, 2727, 1404, 19401, 326, 31650, 309, 16573, 18, 6406, 1435, 480, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6387, 67, 270, 67, 9216, 12, 2890, 16, 13521, 16, 1400, 69, 16, 16573, 16, 562, 75, 13, 294, 468, 3218, 2727, 1404, 19401, 326, 31650, 309, 16573, 18, 6406, 1435, 480, 365, 18, ...
sage: L.axes_range(xmin=-1) sage: L.get_axes_range()
sage: L.set_axes_range(xmin=-1) sage: L._get_axes_range_dict()
def get_axes_range(self): """ EXAMPLES: sage: L = line([(1,2), (3,-4), (2, 5), (1,2)]) sage: L.get_axes_range() {} sage: L.axes_range(xmin=-1) sage: L.get_axes_range() {'xmin': -1.0} """ try: return self.__axes_range except AttributeError: self.__axes_range = {} return self.__axes_range
2d4c93e15da538091e72942b79d12955b54b0c82 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/2d4c93e15da538091e72942b79d12955b54b0c82/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 10855, 67, 3676, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 511, 273, 980, 3816, 12, 21, 16, 22, 3631, 261, 23, 16, 17, 24, 3631, 261, 22, 16, 1381, 3631, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 10855, 67, 3676, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 511, 273, 980, 3816, 12, 21, 16, 22, 3631, 261, 23, 16, 17, 24, 3631, 261, 22, 16, 1381, 3631, ...
<dd> <code><strong class="fraise">$self.href(name)$</strong></code> </dd> - $self.docstring_to_html(descr, func_doc, 8)$
$self.labelled_list_item( "<code><strong class=\'fraise\'>" + self.href(name) + "</strong></code>", self.docstring_to_html(descr, func_doc, 8))$
def arg_name_to_html(self, func_doc, arg_name): """ A helper function used to format an argument name, for use in the argument description list under a routine's details entry. This just wraps strong & code tags around the arg name; and if the arg name is associated with a type, then adds it parenthetically after the n...
a0087d4a151fbc748003be35f0418624fa61376a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/a0087d4a151fbc748003be35f0418624fa61376a/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1501, 67, 529, 67, 869, 67, 2620, 12, 2890, 16, 1326, 67, 2434, 16, 1501, 67, 529, 4672, 3536, 432, 4222, 445, 1399, 358, 740, 392, 1237, 508, 16, 364, 999, 316, 326, 1237, 2477, 666...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1501, 67, 529, 67, 869, 67, 2620, 12, 2890, 16, 1326, 67, 2434, 16, 1501, 67, 529, 4672, 3536, 432, 4222, 445, 1399, 358, 740, 392, 1237, 508, 16, 364, 999, 316, 326, 1237, 2477, 666...
self.avswitch.setInput("SCART")
if SystemInfo["ScartSwitch"]: self.avswitch.setInput("SCART") else: self.avswitch.setInput("AUX")
def __init__(self, session): Screen.__init__(self, session) self.avswitch = AVSwitch()
be53117395c453d1a62f878d42beba927ddfbfe1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/be53117395c453d1a62f878d42beba927ddfbfe1/Standby.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 365, 18, 842, 9610, 273, 15068, 10200, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 365, 18, 842, 9610, 273, 15068, 10200, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100...
return ["-Wl,shared"]
return ["-Wl,-shared"]
def get_flags_linker_so(self): if sys.platform=='darwin': return ['-unsharedf95','-Wl,-bundle,-flat_namespace,-undefined,suppress'] return ["-Wl,shared"]
8cfbbe13d9a2c94529e2d2c06a8e154d9892c8c4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/8cfbbe13d9a2c94529e2d2c06a8e154d9892c8c4/nag.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7133, 67, 1232, 264, 67, 2048, 12, 2890, 4672, 309, 2589, 18, 9898, 18920, 28076, 4278, 327, 10228, 17, 318, 14419, 2180, 8778, 17023, 17, 59, 80, 16, 17, 9991, 16, 17, 15401,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7133, 67, 1232, 264, 67, 2048, 12, 2890, 4672, 309, 2589, 18, 9898, 18920, 28076, 4278, 327, 10228, 17, 318, 14419, 2180, 8778, 17023, 17, 59, 80, 16, 17, 9991, 16, 17, 15401,...
self.disabled = False
self.disabled = 0
def __init__(self, widget, label, format = "%5.2f", f = None): self.widget = widget self.label = label self.format = format self.f = f widget.callbackDeposit.append(self) self.disabled = False
85741d6f825457214a1913669cf163505ff1d54e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6366/85741d6f825457214a1913669cf163505ff1d54e/OWGUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3604, 16, 1433, 16, 740, 273, 2213, 25, 18, 22, 74, 3113, 284, 273, 599, 4672, 365, 18, 6587, 273, 3604, 365, 18, 1925, 273, 1433, 365, 18, 2139, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3604, 16, 1433, 16, 740, 273, 2213, 25, 18, 22, 74, 3113, 284, 273, 599, 4672, 365, 18, 6587, 273, 3604, 365, 18, 1925, 273, 1433, 365, 18, 2139, 273, ...
select A.ID, A.Value2 from Dec as A, Dec as B where A.Model >= %s and A.Model < %s and B.Model >= %s and B.Model < %s
select A.ID, A.Value2 from Dec as A, Dec as B where A.Model >= %s and A.Model < %s and B.Model >= %s and B.Model < %s
def MetaDataFileCheckPcdDuplicate(self): if EccGlobalData.gConfig.MetaDataFileCheckPcdDuplicate == '1' or EccGlobalData.gConfig.MetaDataFileCheckAll == '1' or EccGlobalData.gConfig.CheckAll == '1': EdkLogger.quiet("Checking for duplicate PCDs defined in both DSC and FDF files ...") SqlCommand = """ select A.ID, A.Value...
a6e36e70878424fa438700e0b8e96c273ec9e985 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/914/a6e36e70878424fa438700e0b8e96c273ec9e985/Check.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27512, 812, 1564, 52, 4315, 11826, 12, 2890, 4672, 309, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 52, 4315, 11826, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27512, 812, 1564, 52, 4315, 11826, 12, 2890, 4672, 309, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 52, 4315, 11826, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 80...
def GetMenu(self): """Return the menu of this object @return: ed_menu.ED_Menu() """ menu = ed_menu.ED_Menu() menu.Append(ed_glob.ID_SHOW_SHELF, _("Show Shelf"), _("Show the Shelf")) menu.AppendSeparator() menu_items = list() for observer in self.observers: try: menu_i = observer.GetMenuEntry(menu) if menu_i: menu_ite...
def GetItemStack(self): """Returns a list of ordered named items that are open in the shelf @return: list of strings
2875f4e5101473250cc46cf390c2d34f4fb7fccf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/2875f4e5101473250cc46cf390c2d34f4fb7fccf/iface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1180, 2624, 12, 2890, 4672, 3536, 1356, 279, 666, 434, 5901, 4141, 1516, 716, 854, 1696, 316, 326, 699, 19079, 632, 2463, 30, 666, 434, 2064, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1180, 2624, 12, 2890, 4672, 3536, 1356, 279, 666, 434, 5901, 4141, 1516, 716, 854, 1696, 316, 326, 699, 19079, 632, 2463, 30, 666, 434, 2064, 2, -100, -100, -100, -100, -100, -100, ...
def dumps(params, methodname=None, methodresponse=None, encoding=None):
def dumps(params, methodname=None, methodresponse=None, encoding=None, allow_none=0):
def dumps(params, methodname=None, methodresponse=None, encoding=None): """data [,options] -> marshalled data Convert an argument tuple or a Fault instance to an XML-RPC request (or response, if the methodresponse option is used). In addition to the data object, the following options can be given as keyword arguments...
e4ce59fe534def1761c2db2c5bd315f721eedab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e4ce59fe534def1761c2db2c5bd315f721eedab5/xmlrpclib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6711, 12, 2010, 16, 707, 529, 33, 7036, 16, 707, 2740, 33, 7036, 16, 2688, 33, 7036, 16, 1699, 67, 6102, 33, 20, 4672, 3536, 892, 306, 16, 2116, 65, 317, 10893, 1259, 501, 225, 4037,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6711, 12, 2010, 16, 707, 529, 33, 7036, 16, 707, 2740, 33, 7036, 16, 2688, 33, 7036, 16, 1699, 67, 6102, 33, 20, 4672, 3536, 892, 306, 16, 2116, 65, 317, 10893, 1259, 501, 225, 4037,...
def init_expected(indent, arg, argtype):
def init_expected(indent, arg, argtype, immediate=False):
def init_expected(indent, arg, argtype): out = '' varname = 'exp' out += init_variable(indent, arg, argtype, varname) return out
8976924ff6eb127faa58d059c4cb78dd8ae9e8a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1804/8976924ff6eb127faa58d059c4cb78dd8ae9e8a5/shtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 3825, 12, 9355, 16, 1501, 16, 1501, 723, 16, 14483, 33, 8381, 4672, 596, 273, 875, 15434, 273, 296, 2749, 11, 596, 1011, 1208, 67, 6105, 12, 9355, 16, 1501, 16, 1501, 723, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 3825, 12, 9355, 16, 1501, 16, 1501, 723, 16, 14483, 33, 8381, 4672, 596, 273, 875, 15434, 273, 296, 2749, 11, 596, 1011, 1208, 67, 6105, 12, 9355, 16, 1501, 16, 1501, 723, ...
def __init__(self, treeView, session, **kw): if not treeView: self.client = session.Client(self, showObjectTree = True) treeView = self.client.objectTreeView super(ObjectView, self).__init__(treeView = treeView, session = session, **kw)
def makeGUI(self): self.client = self.session.Client(self, showObjectTree = True) self.treeView = self.client.objectTreeView
def __init__(self, treeView, session, **kw): if not treeView: self.client = session.Client(self, showObjectTree = True) treeView = self.client.objectTreeView super(ObjectView, self).__init__(treeView = treeView, session = session, **kw)
b52b21170296d5c58869e5d937601914028e5c0d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9377/b52b21170296d5c58869e5d937601914028e5c0d/gnomoire.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2151, 1767, 16, 1339, 16, 2826, 9987, 4672, 309, 486, 2151, 1767, 30, 365, 18, 2625, 273, 1339, 18, 1227, 12, 2890, 16, 2405, 921, 2471, 273, 1053, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2151, 1767, 16, 1339, 16, 2826, 9987, 4672, 309, 486, 2151, 1767, 30, 365, 18, 2625, 273, 1339, 18, 1227, 12, 2890, 16, 2405, 921, 2471, 273, 1053, 13, ...
return {'error': 'Could not get list of sets from Flickr.'} return sets
logging.error("Error getting list of sets from Flickr") return {'message': 'Could not get list of sets from Flickr.'}
def get_flickr_setlist(flickr, nsid): key = repr(flickr)+":nsid="+nsid+":type=sets" sets = memcache.get(key) if sets: logging.info("memcache hit for setlist") return sets logging.info("Getting set list from Flickr") try: sets = flickr.photosets_getList( format='json', nojsoncallback="1", nsid=nsid, ) sets = simplejson...
50fdbdb4f8af00e655d355c1d7a839f27421c76b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11110/50fdbdb4f8af00e655d355c1d7a839f27421c76b/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2242, 16254, 67, 542, 1098, 12, 2242, 16254, 16, 3153, 350, 4672, 498, 273, 8480, 12, 2242, 16254, 27921, 6877, 2387, 350, 1546, 15, 2387, 350, 15, 6877, 723, 33, 4424, 6, 167...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2242, 16254, 67, 542, 1098, 12, 2242, 16254, 16, 3153, 350, 4672, 498, 273, 8480, 12, 2242, 16254, 27921, 6877, 2387, 350, 1546, 15, 2387, 350, 15, 6877, 723, 33, 4424, 6, 167...
self._recaclulate_hidden_items() def _recaclulate_hidden_items(self):
self._recalculate_hidden_items() def _recalculate_hidden_items(self):
def set_search_text(self, search_text): self._search_text = search_text self._recaclulate_hidden_items()
50f7cf243721f70bea2282d173a65bd053cf9525 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/50f7cf243721f70bea2282d173a65bd053cf9525/itemlist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3072, 67, 955, 12, 2890, 16, 1623, 67, 955, 4672, 365, 6315, 3072, 67, 955, 273, 1623, 67, 955, 365, 6315, 3927, 10150, 6243, 67, 6345, 67, 3319, 1435, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3072, 67, 955, 12, 2890, 16, 1623, 67, 955, 4672, 365, 6315, 3072, 67, 955, 273, 1623, 67, 955, 365, 6315, 3927, 10150, 6243, 67, 6345, 67, 3319, 1435, 2, -100, -100, -100, ...
"payloadformat": [1124, RPM_STRING, None, 0],
"payloadformat": [1124, RPM_STRING, None, 0],
def isErasePreReq(x): return (x & _ERASE_ONLY_MASK) != 0
36064e9e7b8187b1d2723e47eb83915d362cf0b4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/36064e9e7b8187b1d2723e47eb83915d362cf0b4/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 41, 5648, 1386, 6113, 12, 92, 4672, 327, 261, 92, 473, 389, 654, 4429, 67, 10857, 67, 11704, 13, 480, 374, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 41, 5648, 1386, 6113, 12, 92, 4672, 327, 261, 92, 473, 389, 654, 4429, 67, 10857, 67, 11704, 13, 480, 374, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
last_status = status.get() last_message = '' if last_status: last_message = last_status.message
current_status = status.get() if not last_message and current_status: last_message = current_status.message
def get(self): """Sets the information to be displayed on the main page.""" (validated, is_admin) = self.ValidateUser() if not validated: return
09b02b98cc00384f33ef96999005f46c3cb5be41 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/476/09b02b98cc00384f33ef96999005f46c3cb5be41/status.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 4672, 3536, 2785, 326, 1779, 358, 506, 10453, 603, 326, 2774, 1363, 12123, 261, 877, 690, 16, 353, 67, 3666, 13, 273, 365, 18, 4270, 1299, 1435, 309, 486, 10266, 30, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 4672, 3536, 2785, 326, 1779, 358, 506, 10453, 603, 326, 2774, 1363, 12123, 261, 877, 690, 16, 353, 67, 3666, 13, 273, 365, 18, 4270, 1299, 1435, 309, 486, 10266, 30, 327...
optlist, args = getopt.getopt(sys.argv[1:], 'np:u:g:d:')
optlist, args = getopt.getopt(sys.argv[1:], 'np:u:g:d:c:')
def createfile(pretend, fname, contents): if pretend: print "cat >%(fname)s <__EOF__\n%(contents)s__EOF__" % vars() else: f = open(fname, "w") f.write(contents) f.close()
d44c776a9d138bfe918edc514780e87e71ae8386 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1882/d44c776a9d138bfe918edc514780e87e71ae8386/zope-install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 768, 12, 15089, 409, 16, 5299, 16, 2939, 4672, 309, 675, 17445, 30, 1172, 315, 2574, 405, 17105, 12749, 13, 87, 411, 972, 12706, 972, 64, 82, 17105, 3980, 13, 87, 972, 12706, 1443...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 768, 12, 15089, 409, 16, 5299, 16, 2939, 4672, 309, 675, 17445, 30, 1172, 315, 2574, 405, 17105, 12749, 13, 87, 411, 972, 12706, 972, 64, 82, 17105, 3980, 13, 87, 972, 12706, 1443...
def setVerbosity_(self, verbosity): self._verbosity = verbosity def verbosity(self): return self._verbosity
def initWithVerbosity_(self, verbosity): self = self.init() self.setVerbosity_(verbosity) return self
3dbe5364d1bb1b6f13a97c06192827e669a7ff2f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/97/3dbe5364d1bb1b6f13a97c06192827e669a7ff2f/Debugging.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 1190, 30594, 67, 12, 2890, 16, 11561, 4672, 365, 273, 365, 18, 2738, 1435, 365, 18, 542, 30594, 67, 12, 16629, 8807, 13, 327, 365, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 1190, 30594, 67, 12, 2890, 16, 11561, 4672, 365, 273, 365, 18, 2738, 1435, 365, 18, 542, 30594, 67, 12, 16629, 8807, 13, 327, 365, 2, -100, -100, -100, -100, -100, -100, -100, -1...
self.check_package (package, package_dir)
init_py = self.check_package (package, package_dir)
def find_modules (self): # Map package names to tuples of useful info about the package: # (package_dir, checked) # package_dir - the directory where we'll find source files for # this package # checked - true if we have checked that the package directory # is valid (exists, contains __init__.py, ... ?) packages...
e034cac4f15b1a44bcfe01d829c164f4bbe45cc5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e034cac4f15b1a44bcfe01d829c164f4bbe45cc5/build_py.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 6400, 261, 2890, 4672, 468, 1635, 2181, 1257, 358, 10384, 434, 5301, 1123, 2973, 326, 2181, 30, 468, 565, 261, 5610, 67, 1214, 16, 5950, 13, 468, 2181, 67, 1214, 300, 326, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 6400, 261, 2890, 4672, 468, 1635, 2181, 1257, 358, 10384, 434, 5301, 1123, 2973, 326, 2181, 30, 468, 565, 261, 5610, 67, 1214, 16, 5950, 13, 468, 2181, 67, 1214, 300, 326, 18...
returnValue = returnValue[0]
returnValue = returnValue[1]
def __call__(self, selected): #needed by configlist self.checkValues()
5f39b42abcb870214a68502ac51d1b9c3ec17597 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/5f39b42abcb870214a68502ac51d1b9c3ec17597/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 3170, 4672, 1082, 202, 7, 17471, 635, 642, 1098, 365, 18, 1893, 1972, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 3170, 4672, 1082, 202, 7, 17471, 635, 642, 1098, 365, 18, 1893, 1972, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
return 48
return 128
def thumb_width(self): width = self.width if not width: return 48 else: return min(width, 48)
2380b796d6d89ce550878b88ef8bc5baf59c1b57 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12262/2380b796d6d89ce550878b88ef8bc5baf59c1b57/widget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11156, 67, 2819, 12, 2890, 4672, 1835, 273, 365, 18, 2819, 309, 486, 1835, 30, 327, 8038, 469, 30, 327, 1131, 12, 2819, 16, 9934, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11156, 67, 2819, 12, 2890, 4672, 1835, 273, 365, 18, 2819, 309, 486, 1835, 30, 327, 8038, 469, 30, 327, 1131, 12, 2819, 16, 9934, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
self.sts = -1
def __init__(self, cmd, capturestderr=0, bufsize=-1): """The parameter 'cmd' is the shell command to execute in a sub-process. The 'capturestderr' flag, if true, specifies that the object should capture standard error output of the child process. The default is false. If the 'bufsize' parameter is specified, it speci...
153a739f731cf942200e8506e1610b6782ce3e60 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/153a739f731cf942200e8506e1610b6782ce3e60/popen2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1797, 16, 7477, 11241, 33, 20, 16, 1681, 1467, 29711, 21, 4672, 3536, 1986, 1569, 296, 4172, 11, 353, 326, 5972, 1296, 358, 1836, 316, 279, 720, 17, 2567...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1797, 16, 7477, 11241, 33, 20, 16, 1681, 1467, 29711, 21, 4672, 3536, 1986, 1569, 296, 4172, 11, 353, 326, 5972, 1296, 358, 1836, 316, 279, 720, 17, 2567...
if int(self.cleaned_data.get('right')) - int(self.cleaned_data.get('left')) < 96:
if not self.cleaned_data.get('right') or not self.cleaned_data.get('left') or int(self.cleaned_data.get('right')) - int(self.cleaned_data.get('left')) < 96:
def clean(self): if int(self.cleaned_data.get('right')) - int(self.cleaned_data.get('left')) < 96: raise forms.ValidationError(_("You must select a portion of the image with a minimum of 96x96 pixels.")) else: return self.cleaned_data
4f65761778b0ce2655889fb80088250a42e06f2f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12976/4f65761778b0ce2655889fb80088250a42e06f2f/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 12, 2890, 4672, 309, 486, 365, 18, 6200, 329, 67, 892, 18, 588, 2668, 4083, 6134, 578, 486, 365, 18, 6200, 329, 67, 892, 18, 588, 2668, 4482, 6134, 578, 509, 12, 2890, 18, 6200...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 12, 2890, 4672, 309, 486, 365, 18, 6200, 329, 67, 892, 18, 588, 2668, 4083, 6134, 578, 486, 365, 18, 6200, 329, 67, 892, 18, 588, 2668, 4482, 6134, 578, 509, 12, 2890, 18, 6200...
verify(u'\u20ac'.encode('utf-8') == \ ''.join((chr(0xe2), chr(0x82), chr(0xac))) ) verify(u'\ud800\udc02'.encode('utf-8') == \ ''.join((chr(0xf0), chr(0x90), chr(0x80), chr(0x82))) ) verify(u'\ud84d\udc56'.encode('utf-8') == \ ''.join((chr(0xf0), chr(0xa3), chr(0x91), chr(0x96))) )
verify(u'\u20ac'.encode('utf-8') == '\xe2\x82\xac') verify(u'\ud800\udc02'.encode('utf-8') == '\xf0\x90\x80\x82') verify(u'\ud84d\udc56'.encode('utf-8') == '\xf0\xa3\x91\x96') verify(u'\ud800'.encode('utf-8') == '\xed\xa0\x80') verify(u'\udc00'.encode('utf-8') == '\xed\xb0\x80') verify((u'\ud800\udc02'*1000).encode('ut...
def __str__(self): return self.x
d0f8b80511e67229514f5b54cab614cae1402b4d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/d0f8b80511e67229514f5b54cab614cae1402b4d/test_unicode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 92, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 92, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.treeview.insert_column_with_attributes(2, _("Rating"), renderer, text=2)
column = gtk.TreeViewColumn(_("Rating"), renderer, text=2) column.set_resizable(False) self.treeview.append_column(column)
def os_build_dialog(self, action, totem_object): builder = self.load_interface("opensubtitles.ui", True, self.totem.get_main_window(), self)
bfc0862e29accad3115a3e05e25b0a4a35ab27c2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11070/bfc0862e29accad3115a3e05e25b0a4a35ab27c2/opensubtitles.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1140, 67, 3510, 67, 12730, 12, 2890, 16, 1301, 16, 9997, 351, 67, 1612, 4672, 2089, 273, 365, 18, 945, 67, 5831, 2932, 20346, 373, 17643, 18, 4881, 3113, 1053, 16, 365, 18, 3307, 351, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1140, 67, 3510, 67, 12730, 12, 2890, 16, 1301, 16, 9997, 351, 67, 1612, 4672, 2089, 273, 365, 18, 945, 67, 5831, 2932, 20346, 373, 17643, 18, 4881, 3113, 1053, 16, 365, 18, 3307, 351, ...
self.tempFile.write(Output.get(self.__comp)) self.tempFile.flush() self.__gff=""
outData=Output.get(self.__comp) if len(outData)>0: self.tempFile.write(outData) self.tempFile.flush()
def condRemoveTmp(tmpName): try: os.remove(tmpName) except OSError: pass
0b509e9d23f79ee53b58645e619167d477523278 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11674/0b509e9d23f79ee53b58645e619167d477523278/Interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6941, 3288, 9161, 12, 5645, 461, 4672, 775, 30, 1140, 18, 4479, 12, 5645, 461, 13, 1335, 10002, 30, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6941, 3288, 9161, 12, 5645, 461, 4672, 775, 30, 1140, 18, 4479, 12, 5645, 461, 13, 1335, 10002, 30, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
* r) * n.cos((90.0 - dec) * r) \
* r) * n.cos((90.0 - dec_p) * r) \
def psf_select(alpha_j, delta_j): """This function will select the nearest psf from the psflist""" distance = 9999.0 psffile = 'test.fits' psflist = c.psflist r = 3.14159265 / 180.0 for element in psflist: p=pyfits.open(element) header = p[0].header if (header.has_key('RA_TARG')): ra = header['RA_TARG'] if (header.has_...
af072f86d1e2c1d6ebdef47be572a6a33b931606 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8867/af072f86d1e2c1d6ebdef47be572a6a33b931606/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28687, 67, 4025, 12, 5429, 67, 78, 16, 3622, 67, 78, 4672, 3536, 2503, 445, 903, 2027, 326, 11431, 28687, 628, 326, 28687, 1098, 8395, 3888, 273, 30082, 18, 20, 28687, 768, 273, 296, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28687, 67, 4025, 12, 5429, 67, 78, 16, 3622, 67, 78, 4672, 3536, 2503, 445, 903, 2027, 326, 11431, 28687, 628, 326, 28687, 1098, 8395, 3888, 273, 30082, 18, 20, 28687, 768, 273, 296, 3...
start_period_ids = []
start_period_ids = [0]
def parse(self, cursor, user, content, objects, datas, context): if context is None: context = {} context = context.copy() account_obj = self.pool.get('account.account') period_obj = self.pool.get('account.period') company_obj = self.pool.get('company.company')
ee36aa0c050e503d571eba48377ed4ab12e84ec3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9290/ee36aa0c050e503d571eba48377ed4ab12e84ec3/account.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 3347, 16, 729, 16, 913, 16, 2184, 16, 5386, 16, 819, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 819, 273, 819, 18, 3530, 1435, 2236, 67, 2603, 273, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 3347, 16, 729, 16, 913, 16, 2184, 16, 5386, 16, 819, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 819, 273, 819, 18, 3530, 1435, 2236, 67, 2603, 273, 365, 18, ...
return namespace['config']
return namespace
def readconfig(): """Read a configuration file, if it doesn't exist create it.""" configname = sys.argv[0] + '.config' if not os.path.exists(configname): confstr = """config = [ ("^.*\.cp$", ":unweave-src"), ("^.*\.h$", ":unweave-include"),
24ad536efd2df16be0b70e331446b693b987e1c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/24ad536efd2df16be0b70e331446b693b987e1c8/unweave.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 1425, 13332, 3536, 1994, 279, 1664, 585, 16, 309, 518, 3302, 1404, 1005, 752, 518, 12123, 642, 529, 273, 2589, 18, 19485, 63, 20, 65, 397, 2418, 1425, 11, 309, 486, 1140, 18, 803,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 1425, 13332, 3536, 1994, 279, 1664, 585, 16, 309, 518, 3302, 1404, 1005, 752, 518, 12123, 642, 529, 273, 2589, 18, 19485, 63, 20, 65, 397, 2418, 1425, 11, 309, 486, 1140, 18, 803,...
self.add_condor_cmd('environment',"KMP_LIBRARY=serial;MKL_SERIAL=yes") self.set_sub_file(name+'.sub') self.set_stdout_file(self.outputPath+'/logs/'+name+'-$(macroid).out') self.set_stderr_file(self.outputPath+'/logs/'+name+'-$(macroid).err')
try: self.add_condor_cmd('environment',"KMP_LIBRARY=serial;MKL_SERIAL=yes") except: pass self.set_sub_file(self.name+'.sub') self.set_stdout_file(self.outputPath+'/logs/'+self.name+'-$(macroid).out') self.set_stderr_file(self.outputPath+'/logs/'+self.name+'-$(macroid).err')
def setupJob(self, name, dir= '', tag_base=None, cp=None): # Give this job a name. Then make directories for the log files and such # This name is important since these directories will be included in # the web tree. if dir and not os.path.isdir(dir): os.mkdir(dir) self.name = name if dir: self.relPath = dir + '/' + n...
e7dc96264f8fa6761fca7488785053e6db4d6c14 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/e7dc96264f8fa6761fca7488785053e6db4d6c14/stfu_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 2278, 12, 2890, 16, 508, 16, 1577, 33, 10226, 1047, 67, 1969, 33, 7036, 16, 3283, 33, 7036, 4672, 468, 22374, 333, 1719, 279, 508, 18, 225, 9697, 1221, 6402, 364, 326, 613, 1390,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 2278, 12, 2890, 16, 508, 16, 1577, 33, 10226, 1047, 67, 1969, 33, 7036, 16, 3283, 33, 7036, 4672, 468, 22374, 333, 1719, 279, 508, 18, 225, 9697, 1221, 6402, 364, 326, 613, 1390,...
cvs:cvs.mozilla.org/cvsroot:mozilla/browser/app/nsBrowserApp.cpp:1.36"""
cvs:cvs.mozilla.org/cvsroot:mozilla/browser/app/nsBrowserApp.cpp:1.36 2) the unmodified root information if it exists"""
def GetVCSFilename(file, srcdir): """Given a full path to a file, and the top source directory, look for version control information about this file, and return a specially formatted filename that contains the VCS type, VCS location, relative filename, and revision number, formatted like: vcs:vcs location:filename:revi...
758a6b78450ffab940532ff75cb7103acc041684 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13067/758a6b78450ffab940532ff75cb7103acc041684/symbolstore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 58, 4596, 5359, 12, 768, 16, 1705, 1214, 4672, 3536, 6083, 279, 1983, 589, 358, 279, 585, 16, 471, 326, 1760, 1084, 1867, 16, 2324, 364, 1177, 3325, 1779, 2973, 333, 585, 16, 471,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 58, 4596, 5359, 12, 768, 16, 1705, 1214, 4672, 3536, 6083, 279, 1983, 589, 358, 279, 585, 16, 471, 326, 1760, 1084, 1867, 16, 2324, 364, 1177, 3325, 1779, 2973, 333, 585, 16, 471,...
print "NOT YET IMPLEMENTED: DELETE FOLDER %s" % foldername
self.ui.warn("NOT YET IMPLEMENTED: DELETE FOLDER %s" % foldername)
def deletefolder(self, foldername): print "NOT YET IMPLEMENTED: DELETE FOLDER %s" % foldername
09ed5e2fcc7129f20f2d180fe4dafa67b6f3505a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5335/09ed5e2fcc7129f20f2d180fe4dafa67b6f3505a/Maildir.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 5609, 12, 2890, 16, 3009, 529, 4672, 1172, 315, 4400, 1624, 1584, 15694, 28485, 6404, 30, 8568, 478, 11753, 738, 87, 6, 738, 3009, 529, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 5609, 12, 2890, 16, 3009, 529, 4672, 1172, 315, 4400, 1624, 1584, 15694, 28485, 6404, 30, 8568, 478, 11753, 738, 87, 6, 738, 3009, 529, 2, -100, -100, -100, -100, -100, -100, -100,...
self.__automorphisms = Auts
def _automorphisms(self): """ Compute the automorphisms of self. These are always given by raising to a power, so the return value is a list of integers.
59b9d951da50fd609601a8510ce35029ae856971 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/59b9d951da50fd609601a8510ce35029ae856971/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5854, 362, 7657, 23749, 12, 2890, 4672, 3536, 8155, 326, 18472, 7657, 23749, 434, 365, 18, 8646, 854, 3712, 864, 635, 28014, 358, 279, 7212, 16, 1427, 326, 327, 460, 353, 279, 666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5854, 362, 7657, 23749, 12, 2890, 4672, 3536, 8155, 326, 18472, 7657, 23749, 434, 365, 18, 8646, 854, 3712, 864, 635, 28014, 358, 279, 7212, 16, 1427, 326, 327, 460, 353, 279, 666, ...
return '\n'.join( (GridSizerDTC.writeImports(self),
return '\n'.join( (GridSizerDTC.writeImports(self),
def writeImports(self): return '\n'.join( (GridSizerDTC.writeImports(self), 'from wxPython.lib.rcsizer import RowColSizer') )
6855cdd6e993138a31fabc262e2e332cdd94b9fc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/6855cdd6e993138a31fabc262e2e332cdd94b9fc/SizerCompanions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 13347, 12, 2890, 4672, 327, 2337, 82, 10332, 5701, 12, 261, 6313, 20512, 9081, 39, 18, 2626, 13347, 12, 2890, 3631, 296, 2080, 7075, 15774, 18, 2941, 18, 1310, 87, 1824, 1930, 6556...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 13347, 12, 2890, 4672, 327, 2337, 82, 10332, 5701, 12, 261, 6313, 20512, 9081, 39, 18, 2626, 13347, 12, 2890, 3631, 296, 2080, 7075, 15774, 18, 2941, 18, 1310, 87, 1824, 1930, 6556...
WHERE registration.lasignup = True
WHERE registration.signup LIKE '%linuxaustralia%'
def linux_australia_signup(self): """ People who ticked "I want to sign up for (free) Linux Australia membership!" [Mailing Lists] """
94a59f80c53c67011918b16d11212461493ecd25 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12856/94a59f80c53c67011918b16d11212461493ecd25/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19725, 67, 69, 27008, 287, 1155, 67, 2977, 416, 12, 2890, 4672, 3536, 19622, 11763, 10354, 4024, 329, 315, 45, 2545, 358, 1573, 731, 364, 261, 9156, 13, 13318, 432, 27008, 287, 1155, 124...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19725, 67, 69, 27008, 287, 1155, 67, 2977, 416, 12, 2890, 4672, 3536, 19622, 11763, 10354, 4024, 329, 315, 45, 2545, 358, 1573, 731, 364, 261, 9156, 13, 13318, 432, 27008, 287, 1155, 124...
opts, args = getopt.getopt(sys.argv[1:], "a:d:e:hr:s:t:v:c:i:D:", ["affinity=", "directory=", "end=", "help", "retry=", "start=", "title=", "verbose=", "command=", "dependencies="])
opts, args = getopt.getopt(sys.argv[1:], "a:d:e:hr:s:t:v:c:i:D:p:", ["affinity=", "directory=", "end=", "help", "retry=", "start=", "title=", "verbose=", "command=", "dependencies=", "priority"])
def usage(): print ("Usage: control.py [OPTIONS] SERVER_URL ACTION [COMMAND]") print ("Control the Coalition server located at SERVER_URL.\n") print("Actions:") print(" add: add a job, use option -c for command") print(" list: list the jobs on the server") print(" remove: remove job designated by id, option -id is n...
03a41aa49a72eaa6d626d48e7d2008524af89efd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1233/03a41aa49a72eaa6d626d48e7d2008524af89efd/control.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 7566, 5357, 30, 3325, 18, 2074, 306, 12422, 65, 15061, 67, 1785, 11385, 306, 19104, 4279, 13, 1172, 7566, 3367, 326, 7695, 287, 608, 1438, 13801, 622, 15061, 67, 1785, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 7566, 5357, 30, 3325, 18, 2074, 306, 12422, 65, 15061, 67, 1785, 11385, 306, 19104, 4279, 13, 1172, 7566, 3367, 326, 7695, 287, 608, 1438, 13801, 622, 15061, 67, 1785, ...
self.max_duration = LIGOTimeGPS(max([event.duration for event in self]))
def make_index(self): """ Sort events by peak time so that a bisection search can retrieve them. Note that the bisection search relies on the __cmp__() method of the SnglBurst row class having previously been set to compare the event's peak time to a LIGOTimeGPS. """ # sort by peak time self.sort(lambda a, b: cmp(a.pe...
fc3c2a0737150edebb95018fd9bc56554946f52f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3592/fc3c2a0737150edebb95018fd9bc56554946f52f/ligolw_burca.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 1615, 12, 2890, 4672, 3536, 5928, 2641, 635, 11148, 813, 1427, 716, 279, 324, 784, 349, 1623, 848, 4614, 2182, 18, 225, 3609, 716, 326, 324, 784, 349, 1623, 14719, 281, 603, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 1615, 12, 2890, 4672, 3536, 5928, 2641, 635, 11148, 813, 1427, 716, 279, 324, 784, 349, 1623, 848, 4614, 2182, 18, 225, 3609, 716, 326, 324, 784, 349, 1623, 14719, 281, 603, ...
miniFrame.SetAutoLayout(True)
def __init__(self, pos, size): wx.Frame.__init__(self, None, -1, '', pos, size) global frame frame = g.frame = self bar = self.CreateStatusBar(2) bar.SetStatusWidths([-1, 40]) self.SetIcon(images.getIconIcon())
2702a0c1bf81b553f493320776918fe5d9259e7e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12725/2702a0c1bf81b553f493320776918fe5d9259e7e/xrced.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 949, 16, 963, 4672, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 599, 16, 300, 21, 16, 10226, 949, 16, 963, 13, 2552, 2623, 2623, 273, 314, 18, 3789...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 949, 16, 963, 4672, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 599, 16, 300, 21, 16, 10226, 949, 16, 963, 13, 2552, 2623, 2623, 273, 314, 18, 3789...
self.__commaSymbol = ";"
self.__commaSymbol = ","
def __init__(self, format=False): if format: self.__semicolonSymbol = ";\n" self.__commaSymbol = ",\n" else: self.__semicolonSymbol = ";" self.__commaSymbol = ";" self.__forcedSemicolon = False
877b878b87b287b8d437e551ed69b2c277b4a25f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/877b878b87b287b8d437e551ed69b2c277b4a25f/Compressor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 740, 33, 8381, 4672, 309, 740, 30, 365, 16186, 12000, 17280, 5335, 273, 30750, 82, 6, 365, 16186, 25034, 5335, 273, 31726, 82, 6, 469, 30, 365, 16186, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 740, 33, 8381, 4672, 309, 740, 30, 365, 16186, 12000, 17280, 5335, 273, 30750, 82, 6, 365, 16186, 25034, 5335, 273, 31726, 82, 6, 469, 30, 365, 16186, 12...
l = string.split(dopen('/proc/%s/cmdline' % pid).read(), '\0')
l = string.split(dopen('/proc/%s/cmdline' % self.val['pid']).read(), '\0')
def extract(self): max = 0.0 for pid in os.listdir('/proc/'): try: int(pid) except: continue if os.path.exists('/proc/%s/stat' % pid): if pid == self.pid: continue if not self.cn1.has_key(pid): self.cn1[pid] = 0
80e3628c81440d7841c779e567b129587befc31a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1442/80e3628c81440d7841c779e567b129587befc31a/dstat_app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 2890, 4672, 943, 273, 374, 18, 20, 364, 4231, 316, 1140, 18, 1098, 1214, 2668, 19, 9381, 2473, 4672, 775, 30, 509, 12, 6610, 13, 1335, 30, 1324, 309, 1140, 18, 803, 18, 180...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 2890, 4672, 943, 273, 374, 18, 20, 364, 4231, 316, 1140, 18, 1098, 1214, 2668, 19, 9381, 2473, 4672, 775, 30, 509, 12, 6610, 13, 1335, 30, 1324, 309, 1140, 18, 803, 18, 180...
else
else:
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 41) else quickfix.StringField.__init__(self, 41, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 20170, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 20170, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972...
addrfamily, mac = struct.unpack("16xh6s8x",get_if(iff,SIOCGIFHWADDR))
addrfamily, mac = get_if_raw_hwaddr(iff)
def get_if_hwaddr(iff): addrfamily, mac = struct.unpack("16xh6s8x",get_if(iff,SIOCGIFHWADDR)) if addrfamily in [ARPHDR_ETHER,ARPHDR_LOOPBACK]: return str2mac(mac) else: raise Exception("Unsupported address family (%i)"%addrfamily)
e331990b0d8485c2b144b8e75bc86ef78d647e42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7311/e331990b0d8485c2b144b8e75bc86ef78d647e42/scapy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 430, 67, 20701, 4793, 12, 3048, 4672, 3091, 9309, 16, 5318, 273, 336, 67, 430, 67, 1899, 67, 20701, 4793, 12, 3048, 13, 309, 3091, 9309, 316, 306, 985, 8939, 6331, 67, 1584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 430, 67, 20701, 4793, 12, 3048, 4672, 3091, 9309, 16, 5318, 273, 336, 67, 430, 67, 1899, 67, 20701, 4793, 12, 3048, 13, 309, 3091, 9309, 316, 306, 985, 8939, 6331, 67, 1584, ...
data = query.GetData(params, self,site(), encodeTitle = False)['query']['pages']
data = query.GetData(params, self.site(), encodeTitle = False)['query']['pages']
def getLatestEditors(self, limit = 1): """ Function to get the last editors of a page """ #action=query&prop=revisions&titles=API&rvprop=timestamp|user|comment params = { 'action' :'query', 'prop' :'revisions', 'rvprop' :'user|timestamp', 'rvlimit' :limit, 'titles' :self.title(), } try: data = query.Get...
96d78da9eb52f3b14fd31dc70b766e99524d6677 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/96d78da9eb52f3b14fd31dc70b766e99524d6677/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 18650, 4666, 1383, 12, 2890, 16, 1800, 273, 404, 4672, 3536, 4284, 358, 336, 326, 1142, 29431, 434, 279, 1363, 3536, 468, 1128, 33, 2271, 10, 5986, 33, 29892, 10, 17643, 33, 2557, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 18650, 4666, 1383, 12, 2890, 16, 1800, 273, 404, 4672, 3536, 4284, 358, 336, 326, 1142, 29431, 434, 279, 1363, 3536, 468, 1128, 33, 2271, 10, 5986, 33, 29892, 10, 17643, 33, 2557, ...
log.log(pexLog.Log.INFO, "templateBBoxProperties: %s" % ("; ".join(outStrList))
log.log(pexLog.Log.INFO, "templateBBoxProperties: %s" % (";".join(outStrList)))
def process(self): log = pexLog.Log(pexLog.Log.getDefaultLog(), "ip.diffim.TemplateBBoxStage")
8015e680bcb271ad8d0f728ae7271286818d7561 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6527/8015e680bcb271ad8d0f728ae7271286818d7561/TemplateBBoxStage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 4672, 613, 273, 293, 338, 1343, 18, 1343, 12, 84, 338, 1343, 18, 1343, 18, 588, 1868, 1343, 9334, 315, 625, 18, 5413, 381, 18, 2283, 30944, 8755, 7923, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 4672, 613, 273, 293, 338, 1343, 18, 1343, 12, 84, 338, 1343, 18, 1343, 18, 588, 1868, 1343, 9334, 315, 625, 18, 5413, 381, 18, 2283, 30944, 8755, 7923, 2, -100, -100, ...
stream_location = os.path.join(CFG_LOGDIR, '/invenio.' + stream)
stream_location = os.path.join(CFG_LOGDIR, 'invenio.' + stream)
def register_errors(errors_or_warnings_list, stream, req=None): """ log errors to invenio.err and warnings to invenio.log errors will be logged with client information (if req is given) and a tracestack warnings will be logged with just the warning message @param errors_or_warnings_list: list of tuples (err_name, err_...
2d10cfc88fc0de0f3689b82959187ff2ef3a7aa4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/2d10cfc88fc0de0f3689b82959187ff2ef3a7aa4/errorlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 4324, 12, 4324, 67, 280, 67, 12103, 67, 1098, 16, 1407, 16, 1111, 33, 7036, 4672, 3536, 613, 1334, 358, 2198, 275, 1594, 18, 370, 471, 5599, 358, 2198, 275, 1594, 18, 1330, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 4324, 12, 4324, 67, 280, 67, 12103, 67, 1098, 16, 1407, 16, 1111, 33, 7036, 4672, 3536, 613, 1334, 358, 2198, 275, 1594, 18, 370, 471, 5599, 358, 2198, 275, 1594, 18, 1330, ...
message = "A file or folder with this name already exists. Please chose a different project name and try again."
message = "A file or folder with this name already exists. Please choose a different project name and try again."
def OnOK(self, button): name = self.name.get_text() author = self.author.get_text() folder = self.folder.get_current_folder() try: project=Project.CreateNew(folder,name, author) except Project.CreateProjectError, e: if e.errno == 1: message = "Could not initialize project." elif e.errno == 2: message = "A file or fold...
a14870d4abdcc7b8996e34ac114059037f790784 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/a14870d4abdcc7b8996e34ac114059037f790784/NewProjectDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 3141, 12, 2890, 16, 3568, 4672, 508, 273, 365, 18, 529, 18, 588, 67, 955, 1435, 2869, 273, 365, 18, 4161, 18, 588, 67, 955, 1435, 3009, 273, 365, 18, 5609, 18, 588, 67, 2972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 3141, 12, 2890, 16, 3568, 4672, 508, 273, 365, 18, 529, 18, 588, 67, 955, 1435, 2869, 273, 365, 18, 4161, 18, 588, 67, 955, 1435, 3009, 273, 365, 18, 5609, 18, 588, 67, 2972, ...
self.aq_parent.reindexObject()
self.reindexObject()
def PUT(self, REQUEST, RESPONSE): """ HTTP PUT handler with marshalling support """ if not self.Schema().hasLayer('marshall'): RESPONSE.setStatus(501) # Not implemented return RESPONSE
0621e9edd9b0eafb4f56c21a8891ba72327f1cc5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/0621e9edd9b0eafb4f56c21a8891ba72327f1cc5/BaseContent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11443, 12, 2890, 16, 12492, 16, 20645, 4672, 3536, 2239, 11443, 1838, 598, 1833, 310, 2865, 3536, 309, 486, 365, 18, 3078, 7675, 5332, 4576, 2668, 12201, 11, 4672, 20645, 18, 542, 1482, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11443, 12, 2890, 16, 12492, 16, 20645, 4672, 3536, 2239, 11443, 1838, 598, 1833, 310, 2865, 3536, 309, 486, 365, 18, 3078, 7675, 5332, 4576, 2668, 12201, 11, 4672, 20645, 18, 542, 1482, ...
if getattr(self.fp, 'unread'):
if hasattr(self.fp, 'unread'):
def readheaders(self): """Read header lines. Read header lines up to the entirely blank line that terminates them. The (normally blank) line that ends the headers is skipped, but not included in the returned list. If a non-header line ends the headers, (which is an error), an attempt is made to backspace over it; it ...
2f5de96c77ca2a74f59c2f3b09b939a2628e6874 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2f5de96c77ca2a74f59c2f3b09b939a2628e6874/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2485, 12, 2890, 4672, 3536, 1994, 1446, 2362, 18, 225, 2720, 1446, 2362, 731, 358, 326, 21658, 7052, 980, 716, 30559, 2182, 18, 225, 1021, 261, 7959, 1230, 7052, 13, 980, 716, 3930,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2485, 12, 2890, 4672, 3536, 1994, 1446, 2362, 18, 225, 2720, 1446, 2362, 731, 358, 326, 21658, 7052, 980, 716, 30559, 2182, 18, 225, 1021, 261, 7959, 1230, 7052, 13, 980, 716, 3930,...
iLine = line.number
iLine = line
def apply(self, lines): vList = [] for line in lines: iLine = line.number
cb6d1c1b9da3a15f55b42e7ffc55f274aee325d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6529/cb6d1c1b9da3a15f55b42e7ffc55f274aee325d2/style.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 12, 2890, 16, 2362, 4672, 331, 682, 273, 5378, 364, 980, 316, 2362, 30, 277, 1670, 273, 980, 18, 2696, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 12, 2890, 16, 2362, 4672, 331, 682, 273, 5378, 364, 980, 316, 2362, 30, 277, 1670, 273, 980, 18, 2696, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if (not os.path.isfile(path)): continue
if (not op.isfile(path)): continue
def reset_dispatcher_bookkeeping(self): self._dispatcher_registry = {} self._dispatcher_include_at_start = [] self._dispatcher_include_before_command = [] include_files = [] for file_name in os.listdir(self.build_path): path = self.under_build(file_name) if (not os.path.isfile(path)): continue if ( file_name.startsw...
621ff93ea6f104ac4c6d943d7e9d6c18b1468502 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/621ff93ea6f104ac4c6d943d7e9d6c18b1468502/env_config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 67, 18495, 67, 3618, 10102, 310, 12, 2890, 4672, 365, 6315, 18495, 67, 9893, 273, 2618, 365, 6315, 18495, 67, 6702, 67, 270, 67, 1937, 273, 5378, 365, 6315, 18495, 67, 6702, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 67, 18495, 67, 3618, 10102, 310, 12, 2890, 4672, 365, 6315, 18495, 67, 9893, 273, 2618, 365, 6315, 18495, 67, 6702, 67, 270, 67, 1937, 273, 5378, 365, 6315, 18495, 67, 6702, 67, ...
self.Bind(wx.EVT_MENU, self.on_setname, mi)
self.Bind(wx.EVT_MENU, self.on_about, mi)
def __init__(self, notify_cb): wx.Frame.__init__(self, None, title='Eru P2P', size=(200, 400)) self.notify_cb = notify_cb # custom close event self.Bind(wx.EVT_CLOSE, self.on_close) self.peer_listbox = wx.ListBox(self) self.peer_listbox.Bind(wx.EVT_LEFT_DCLICK, self.on_dclick_peers) # mb = menubar, m = menu, mi = m...
5869735aa920d4ebd9cf416dbc71712da4730ddb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4811/5869735aa920d4ebd9cf416dbc71712da4730ddb/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5066, 67, 7358, 4672, 225, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 599, 16, 2077, 2218, 41, 8653, 453, 22, 52, 2187, 963, 28657, 6976, 16, 7409, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5066, 67, 7358, 4672, 225, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 599, 16, 2077, 2218, 41, 8653, 453, 22, 52, 2187, 963, 28657, 6976, 16, 7409, ...
r = excuse_unsat_deps(p, None, arch, 'testing', None, excluded=broken, conflicts=True)
r = check_installable(p, arch, 'testing', excluded=broken, conflicts=True)
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 876, 4672, 2870, 273, 5378, 290, 318, 8591, 67, 2919, 273, 365, 18, 588, 67, 82, 318, 8591, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 876, 4672, 2870, 273, 5378, 290, 318, 8591, 67, 2919, 273, 365, 18, 588, 67, 82, 318, 8591, 1435, 2, -100, -100, -100, -100, -100, -100, -100, ...
if node:
if node and node.get_n_children() > n:
def node_nth_child(self, nid, n): toreturn = None if self.static: node = self.__get_static_node(nid) if node: toreturn = node.get_nth_child(n) else: toreturn = self.__ft.node_nth_child(nid,n) return toreturn
161ab217adcbfc6fc628b674d568d093c4baab0b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7036/161ab217adcbfc6fc628b674d568d093c4baab0b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 756, 67, 82, 451, 67, 3624, 12, 2890, 16, 19416, 16, 290, 4672, 358, 2463, 273, 599, 309, 365, 18, 3845, 30, 756, 273, 365, 16186, 588, 67, 3845, 67, 2159, 12, 31030, 13, 309, 756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 756, 67, 82, 451, 67, 3624, 12, 2890, 16, 19416, 16, 290, 4672, 358, 2463, 273, 599, 309, 365, 18, 3845, 30, 756, 273, 365, 16186, 588, 67, 3845, 67, 2159, 12, 31030, 13, 309, 756, ...
emails.extend(_getAllValidEmailsFromGroup(putils, acl_users, group))
if inBcc: emails_bcc.extend(_getAllValidEmailsFromGroup(putils, acl_users, group)) else: emails.extend(_getAllValidEmailsFromGroup(putils, acl_users, group))
def _getSendToValues(object): """Load the portal configuration for the notify system and obtain a list of emails. If the sendto_all is True, the mail will be sent to all members of the Plone site. The sendto_values value is used to look for name of groups, then name on users in the portal and finally for normal emails....
e59e0114eb7869bdd9aeedf9219ffa0129e23af0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10089/e59e0114eb7869bdd9aeedf9219ffa0129e23af0/notify.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 3826, 774, 1972, 12, 1612, 4672, 3536, 2563, 326, 11899, 1664, 364, 326, 5066, 2619, 471, 7161, 279, 666, 434, 14255, 18, 971, 326, 1366, 869, 67, 454, 353, 1053, 16, 326, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 3826, 774, 1972, 12, 1612, 4672, 3536, 2563, 326, 11899, 1664, 364, 326, 5066, 2619, 471, 7161, 279, 666, 434, 14255, 18, 971, 326, 1366, 869, 67, 454, 353, 1053, 16, 326, 47...
gcl.os.chdir('somewhere') self.mox.ReplayAll() gcl.UploadCL(change_info, args) self.mox.VerifyAll()
gcl.os.chdir('somewhere') self.mox.ReplayAll() gcl.UploadCL(change_info, args)
def testServerOverride(self): change_info = gcl.ChangeInfo('naame', '', 'deescription', ['aa', 'bb']) change_info.Save = self.mox.CreateMockAnything() args = ['--server=a'] change_info.Save() gcl.DoPresubmitChecks(change_info, committing=False).AndReturn(True) gcl.GetCodeReviewSetting('CODE_REVIEW_SERVER').AndReturn('m...
eb12bebc49c62a9d7b5359ea09518c40d497b197 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6076/eb12bebc49c62a9d7b5359ea09518c40d497b197/gcl_unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2081, 6618, 12, 2890, 4672, 2549, 67, 1376, 273, 314, 830, 18, 3043, 966, 2668, 6582, 339, 2187, 10226, 296, 323, 1389, 2187, 10228, 7598, 2187, 296, 9897, 19486, 2549, 67, 1376, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2081, 6618, 12, 2890, 4672, 2549, 67, 1376, 273, 314, 830, 18, 3043, 966, 2668, 6582, 339, 2187, 10226, 296, 323, 1389, 2187, 10228, 7598, 2187, 296, 9897, 19486, 2549, 67, 1376, 1...
self.Bind( wx.colheader.EVT_COLUMNHEADER_SELCHANGED, self.OnColumnHeaderClick, ch1 )
self.Bind( wx.colheader.EVT_COLUMNHEADER_SELCHANGED, self.OnClickColumnHeader, ch1 )
def __init__( self, parent, log ): wx.Panel.__init__( self, parent, -1, style=wx.NO_FULL_REPAINT_ON_RESIZE ) self.log = log
6d021842b3ffdeb8b9c605b4f0ac48e94294bf83 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/6d021842b3ffdeb8b9c605b4f0ac48e94294bf83/ColumnHeader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 982, 16, 613, 262, 30, 7075, 18, 5537, 16186, 2738, 972, 12, 365, 16, 982, 16, 300, 21, 16, 2154, 33, 27226, 18, 3417, 67, 18111, 67, 862, 4066, 3217, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 982, 16, 613, 262, 30, 7075, 18, 5537, 16186, 2738, 972, 12, 365, 16, 982, 16, 300, 21, 16, 2154, 33, 27226, 18, 3417, 67, 18111, 67, 862, 4066, 3217, ...
return ret_val
return (ret_val, dest_paths)
def flush(self): pass
657f10b268a2970e94754672191e5733ed11ce2a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9162/657f10b268a2970e94754672191e5733ed11ce2a/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3663, 12, 2890, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3663, 12, 2890, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
elif 'U' in self.data and 'T' in self.data:
elif 'U' in self._data and 'T' in self._data:
def complement(self): """Returns the complement sequence. New Seq object.
cfd18f549209e113f9acb2de74eeaf74108ccd1d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7167/cfd18f549209e113f9acb2de74eeaf74108ccd1d/Seq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 2890, 4672, 3536, 1356, 326, 17161, 3102, 18, 1166, 14367, 733, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 2890, 4672, 3536, 1356, 326, 17161, 3102, 18, 1166, 14367, 733, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
<dt><A href="../yourbaskets.py/display">%(your_baskets)s</A>
<dt><A href="../yourbaskets.py/display?ln=%(ln)s">%(your_baskets)s</A>
def tmpl_account_info(self, ln, uid, guest, cfg_cern_site): """ Displays the account information
3a0a1175062a33241e371559b1e5cbfaec2cd7e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/3a0a1175062a33241e371559b1e5cbfaec2cd7e9/websession_templates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 4631, 67, 1376, 12, 2890, 16, 7211, 16, 4555, 16, 13051, 16, 2776, 67, 14770, 67, 4256, 4672, 3536, 9311, 87, 326, 2236, 1779, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 4631, 67, 1376, 12, 2890, 16, 7211, 16, 4555, 16, 13051, 16, 2776, 67, 14770, 67, 4256, 4672, 3536, 9311, 87, 326, 2236, 1779, 2, -100, -100, -100, -100, -100, -100, -100, -...
node=api.GetNodes(interface['node_id'])[0] return node_belong_to_person (api, node, person)
node=Nodes(api,[interface['node_id']])[0] return AuthorizeHelpers.node_belong_to_person (api, node, person)
def interface_belongs_to_person (api,interface, person): try: node=api.GetNodes(interface['node_id'])[0] return node_belong_to_person (api, node, person) except: return False
d35362b6d7c96dec551a846a9316d17c22d25be6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7598/d35362b6d7c96dec551a846a9316d17c22d25be6/AuthorizeHelpers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1560, 67, 13285, 7260, 67, 869, 67, 12479, 261, 2425, 16, 5831, 16, 6175, 4672, 775, 30, 756, 33, 3205, 12, 2425, 16, 63, 5831, 3292, 2159, 67, 350, 3546, 5717, 63, 20, 65, 327, 2385...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1560, 67, 13285, 7260, 67, 869, 67, 12479, 261, 2425, 16, 5831, 16, 6175, 4672, 775, 30, 756, 33, 3205, 12, 2425, 16, 63, 5831, 3292, 2159, 67, 350, 3546, 5717, 63, 20, 65, 327, 2385...
self.assertEquals(response.status_code, 200)
self.assertEquals(response.status_code, 302)
def testCloseOpenUnpausedEntry(self): #-------------------------------------------------- # 4. ENTRY THAT IS OPEN AND NOT PAUSED id = 4
0a1d6b76b1d7dbcd79da40247c144b7a9be43ef4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12134/0a1d6b76b1d7dbcd79da40247c144b7a9be43ef4/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 4605, 3678, 984, 8774, 3668, 1622, 12, 2890, 4672, 468, 9634, 413, 468, 1059, 18, 25516, 7662, 789, 4437, 11919, 4116, 4269, 15662, 20093, 612, 273, 1059, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 4605, 3678, 984, 8774, 3668, 1622, 12, 2890, 4672, 468, 9634, 413, 468, 1059, 18, 25516, 7662, 789, 4437, 11919, 4116, 4269, 15662, 20093, 612, 273, 1059, 2, -100, -100, -100, -100, ...