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
Ibar.attrib('isSB',1)
Ibar.attrib('"isSB"',1)
def triangular_decomposition(self, algorithm=None): """ Decompose zero-dimensional ideal self into triangular sets.
7ff21255e57efe2e69f373ce46288ddc40c4ccd8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/7ff21255e57efe2e69f373ce46288ddc40c4ccd8/multi_polynomial_ideal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6882, 13077, 67, 323, 24388, 12, 2890, 16, 4886, 33, 7036, 4672, 3536, 26824, 4150, 3634, 17, 31236, 23349, 365, 1368, 6882, 13077, 1678, 18, 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, 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, 6882, 13077, 67, 323, 24388, 12, 2890, 16, 4886, 33, 7036, 4672, 3536, 26824, 4150, 3634, 17, 31236, 23349, 365, 1368, 6882, 13077, 1678, 18, 2, -100, -100, -100, -100, -100, -100, -100, ...
os.system('%s "%s"'%(DOLPHIN,path))
os.system('%s "%s" &'%(DOLPHIN,path))
def browse_folder(self): """Browse folder""" if self.app.children: child = self.app.childActive if hasattr(child,'fileName'): path = info.dirname(child.fileName) if not os.path.exists(path): path = os.getcwd() else: path = os.getcwd() if os.path.exists(THUNAR): os.system('%s "%s"'%(THUNAR,path)) ...
3297a811fde121a34b04e766bb0d64586dae5601 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2464/3297a811fde121a34b04e766bb0d64586dae5601/Parent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21670, 67, 5609, 12, 2890, 4672, 3536, 27304, 3009, 8395, 309, 365, 18, 2910, 18, 5906, 30, 1151, 6647, 273, 365, 18, 2910, 18, 3624, 3896, 309, 3859, 12, 3624, 11189, 17812, 11, 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, 21670, 67, 5609, 12, 2890, 4672, 3536, 27304, 3009, 8395, 309, 365, 18, 2910, 18, 5906, 30, 1151, 6647, 273, 365, 18, 2910, 18, 3624, 3896, 309, 3859, 12, 3624, 11189, 17812, 11, 4672, ...
self.update_image = os.path.join( self.get_uuid,
self.get_uuid = os.path.join( self.hooks_dir,
def setup(self, config_file): """ Setup config object according to config_file content. """
62c6549bd2aadbc30366a582418dd00b92349938 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5988/62c6549bd2aadbc30366a582418dd00b92349938/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 16, 642, 67, 768, 4672, 3536, 10939, 642, 733, 4888, 358, 642, 67, 768, 913, 18, 3536, 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, 3875, 12, 2890, 16, 642, 67, 768, 4672, 3536, 10939, 642, 733, 4888, 358, 642, 67, 768, 913, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print 'ratecv' state = (-8000, ((256, 512),)) if audioop.ratecv(data[0], 1, 1, 8000, 16000, state) != \ ('\001\000\000\001\001\002', state): return 0
print 'ratecv' state = None d1, state = audioop.ratecv(data[0], 1, 1, 8000, 16000, state) d2, state = audioop.ratecv(data[0], 1, 1, 8000, 16000, state) if d1 + d2 != '\000\000\001\001\002\001\000\000\001\001\002': return 0
def testratecv(data): if verbose: print 'ratecv' state = (-8000, ((256, 512),)) if audioop.ratecv(data[0], 1, 1, 8000, 16000, state) != \ ('\001\000\000\001\001\002', state): return 0 return 1
8c511db5a463b1ee6190e846b4b4c33970acee2b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/8c511db5a463b1ee6190e846b4b4c33970acee2b/test_audioop.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 281, 313, 340, 19774, 12, 892, 4672, 309, 3988, 30, 1172, 296, 5141, 19774, 11, 919, 273, 599, 302, 21, 16, 919, 273, 7447, 556, 18, 5141, 19774, 12, 892, 63, 20, 6487, 404, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 268, 281, 313, 340, 19774, 12, 892, 4672, 309, 3988, 30, 1172, 296, 5141, 19774, 11, 919, 273, 599, 302, 21, 16, 919, 273, 7447, 556, 18, 5141, 19774, 12, 892, 63, 20, 6487, 404, 16,...
else
else:
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 832) else quickfix.IntField.__init__(self, 832, 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, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 1578, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 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, 1, 1, 1, 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, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 1578, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 27...
moderators = models.ManyToManyField(User, blank=True, default=True, verbose_name=_('Moderators'))
moderators = models.ManyToManyField(User, blank=True, null=True, verbose_name=_('Moderators'))
def posts(self): return Post.objects.filter(topic__forum__category=self).select_related()
a6eb66d367f7ef7eaa92e58bd601b9c9f5cab153 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12938/a6eb66d367f7ef7eaa92e58bd601b9c9f5cab153/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10775, 12, 2890, 4672, 327, 5616, 18, 6911, 18, 2188, 12, 10476, 972, 11725, 972, 4743, 33, 2890, 2934, 4025, 67, 9243, 1435, 2, 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, 10775, 12, 2890, 4672, 327, 5616, 18, 6911, 18, 2188, 12, 10476, 972, 11725, 972, 4743, 33, 2890, 2934, 4025, 67, 9243, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
h.putrequest('POST', req.get_selector()) if 'Content-type' not in req.headers:
h.putrequest('POST', req.get_selector(), **skipheaders) if 'content-type' not in headers:
def _start_transaction(self, h, req): try: if req.has_data(): data = req.get_data() h.putrequest('POST', req.get_selector()) if 'Content-type' not in req.headers: h.putheader('Content-type', 'application/x-www-form-urlencoded') if 'Content-length' not in req.headers: h.putheader('Content-length', '%d' % len(data)) else...
1e0dc291ee96c01ad68635bef43519602a1faf4d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/1e0dc291ee96c01ad68635bef43519602a1faf4d/keepalive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1937, 67, 7958, 12, 2890, 16, 366, 16, 1111, 4672, 775, 30, 309, 1111, 18, 5332, 67, 892, 13332, 501, 273, 1111, 18, 588, 67, 892, 1435, 366, 18, 458, 2293, 2668, 3798, 2187, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1937, 67, 7958, 12, 2890, 16, 366, 16, 1111, 4672, 775, 30, 309, 1111, 18, 5332, 67, 892, 13332, 501, 273, 1111, 18, 588, 67, 892, 1435, 366, 18, 458, 2293, 2668, 3798, 2187, 11...
print "DVDCreateSummary"
def createSummary(self): print "DVDCreateSummary" return DVDSummary
9672c9e353abdc56784d21567fdb32c03a9aa0b7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/9672c9e353abdc56784d21567fdb32c03a9aa0b7/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 4733, 12, 2890, 4672, 327, 463, 21544, 4733, 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, 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, 752, 4733, 12, 2890, 4672, 327, 463, 21544, 4733, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
slots_w = None
slots_w = []
def __del__(self): try: self.space.userdel(self) except OperationError, e: e.write_unraisable(self.space, 'method __del__ of ', self) e.clear(self.space) # break up reference cycles if parent_destructor is not None: parent_destructor(self)
9f1c2b5e411c7c892285739267184406d589458c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/9f1c2b5e411c7c892285739267184406d589458c/typedef.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 12, 2890, 4672, 775, 30, 365, 18, 2981, 18, 1355, 3771, 12, 2890, 13, 1335, 4189, 668, 16, 425, 30, 425, 18, 2626, 67, 318, 354, 291, 429, 12, 2890, 18, 2981, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3771, 972, 12, 2890, 4672, 775, 30, 365, 18, 2981, 18, 1355, 3771, 12, 2890, 13, 1335, 4189, 668, 16, 425, 30, 425, 18, 2626, 67, 318, 354, 291, 429, 12, 2890, 18, 2981, 16, ...
if linenum == 0: return -1, "", True
def get_line_info(self, linenum): """Get the line indent value, text, and any block start keyword
98f9ff7223406f0c344f530e77fc866a67894c35 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/98f9ff7223406f0c344f530e77fc866a67894c35/CodeContext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1369, 67, 1376, 12, 2890, 16, 4739, 7924, 4672, 3536, 967, 326, 980, 3504, 460, 16, 977, 16, 471, 1281, 1203, 787, 4932, 2, 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, 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, 336, 67, 1369, 67, 1376, 12, 2890, 16, 4739, 7924, 4672, 3536, 967, 326, 980, 3504, 460, 16, 977, 16, 471, 1281, 1203, 787, 4932, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.defaults(mon_eff=False)
self.set_defaults(mon_eff=False)
def __init__(self, usage=None, option_list=None, options_class=None, version=None, conflict_handler='error', description=None, **kwargs): """ Constructor for C{SansOptions}
2c14b0002fecc5ee319023d8dec9c05dafcd0b14 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/763/2c14b0002fecc5ee319023d8dec9c05dafcd0b14/hlr_sas_options.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4084, 33, 7036, 16, 1456, 67, 1098, 33, 7036, 16, 702, 67, 1106, 33, 7036, 16, 1177, 33, 7036, 16, 7546, 67, 4176, 2218, 1636, 2187, 2477, 33, 7036, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4084, 33, 7036, 16, 1456, 67, 1098, 33, 7036, 16, 702, 67, 1106, 33, 7036, 16, 1177, 33, 7036, 16, 7546, 67, 4176, 2218, 1636, 2187, 2477, 33, 7036, 16...
self.workingArraySize = 5000*self.numberGlobalEquations
self.workingArraySize = 100*self.numberGlobalEquations
self.pointerToLgdef = lithomop3d.allocateInt( self.numberTimeStepGroups)
164302881cdb1f627221a3976e8ba17a057a59d8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8640/164302881cdb1f627221a3976e8ba17a057a59d8/Lithomop3d_setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 10437, 774, 48, 75, 536, 273, 328, 483, 362, 556, 23, 72, 18, 16247, 1702, 12, 365, 18, 2696, 950, 4160, 3621, 13, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 10437, 774, 48, 75, 536, 273, 328, 483, 362, 556, 23, 72, 18, 16247, 1702, 12, 365, 18, 2696, 950, 4160, 3621, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
args[1] = os.path.join(sys.exec_prefix, "lib", "pdb.py")
args[1] = os.path.join(sys.prefix, "lib", "pdb.py")
def opt_debug(opt, arg): global print_tree global print_dtree global print_time if arg == "pdb": args = [ sys.executable, "pdb.py" ] + \ filter(lambda x: x != "--debug=pdb", sys.argv) if sys.platform == 'win32': args[1] = os.path.join(sys.exec_prefix, "lib", "pdb.py") sys.exit(os.spawnve(os.P_WAIT, args[0], args, os.en...
13776315b91b68897c4e074e23a307ef6e516698 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12817/13776315b91b68897c4e074e23a307ef6e516698/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2153, 67, 4148, 12, 3838, 16, 1501, 4672, 2552, 1172, 67, 3413, 2552, 1172, 67, 72, 3413, 2552, 1172, 67, 957, 309, 1501, 422, 315, 17414, 6877, 833, 273, 306, 2589, 18, 17751, 16, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2153, 67, 4148, 12, 3838, 16, 1501, 4672, 2552, 1172, 67, 3413, 2552, 1172, 67, 72, 3413, 2552, 1172, 67, 957, 309, 1501, 422, 315, 17414, 6877, 833, 273, 306, 2589, 18, 17751, 16, 315...
if dupCount == 3:
if dupCount == 5:
def scrapeCourt(courtID, result, verbosity, daemonmode): if verbosity >= 1: result += "NOW SCRAPING COURT: " + str(courtID) + "\n" if verbosity >= 2: print "NOW SCRAPING COURT: " + str(courtID) if (courtID == 1): """ PDFs are available from the first circuit if you go to their RSS feed. So go to their RSS feed we shal...
5f8ab0dce527e0f00d170a17505b959be1785525 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6762/5f8ab0dce527e0f00d170a17505b959be1785525/scrape_and_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 25360, 29328, 88, 12, 71, 477, 88, 734, 16, 563, 16, 11561, 16, 8131, 3188, 4672, 309, 11561, 1545, 404, 30, 563, 1011, 315, 27091, 348, 5093, 2203, 1360, 7910, 1099, 56, 30, 315,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 888, 25360, 29328, 88, 12, 71, 477, 88, 734, 16, 563, 16, 11561, 16, 8131, 3188, 4672, 309, 11561, 1545, 404, 30, 563, 1011, 315, 27091, 348, 5093, 2203, 1360, 7910, 1099, 56, 30, 315,...
if not self.host: return
log(status) return NetworkTransaction().run(lambda: self._post_status_to_server(queue_name, status, patch, results_file))
def update_status(self, queue_name, status, patch=None, results_file=None): # During unit testing, host is None if not self.host: return
f3e267b4dcbf3edb5ac4abe8328f5b954acd1494 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/f3e267b4dcbf3edb5ac4abe8328f5b954acd1494/statusserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2327, 12, 2890, 16, 2389, 67, 529, 16, 1267, 16, 4729, 33, 7036, 16, 1686, 67, 768, 33, 7036, 4672, 468, 463, 4017, 2836, 7769, 16, 1479, 353, 599, 309, 486, 365, 18, 2564,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2327, 12, 2890, 16, 2389, 67, 529, 16, 1267, 16, 4729, 33, 7036, 16, 1686, 67, 768, 33, 7036, 4672, 468, 463, 4017, 2836, 7769, 16, 1479, 353, 599, 309, 486, 365, 18, 2564,...
self.trace("Creating %r" % self)
if self.gc_debug: self.trace("Creating %r" % self)
def __init__(self, handler = None, errback = None): if handler is not None: self.set_handler(handler) if errback is not None: self.set_errback(errback) self.when = None self.trace("Creating %r" % self)
3c73588e50b92a77af22348f11c2019540d620f5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/119/3c73588e50b92a77af22348f11c2019540d620f5/async.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1838, 273, 599, 16, 29642, 273, 599, 4672, 309, 1838, 353, 486, 599, 30, 365, 18, 542, 67, 4176, 12, 4176, 13, 309, 29642, 353, 486, 599, 30, 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, 1001, 2738, 972, 12, 2890, 16, 1838, 273, 599, 16, 29642, 273, 599, 4672, 309, 1838, 353, 486, 599, 30, 365, 18, 542, 67, 4176, 12, 4176, 13, 309, 29642, 353, 486, 599, 30, 365, 18, ...
events = []
events = []
def tearDown(self): del self.engine
550f86f8e1997ee990877076421feaf1936da8eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5451/550f86f8e1997ee990877076421feaf1936da8eb/PyV8.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 2091, 4164, 12, 2890, 4672, 1464, 365, 18, 8944, 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, 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, 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, 268, 2091, 4164, 12, 2890, 4672, 1464, 365, 18, 8944, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
list = self.fcn_list[:]
stat_list = self.fcn_list[:]
def get_print_list(self, sel_list): width = self.max_name_len if self.fcn_list: list = self.fcn_list[:] msg = " Ordered by: " + self.sort_type + '\n' else: list = self.stats.keys() msg = " Random listing order was used\n"
d9839e637b7c812d57b335b956f1d674502783c9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/d9839e637b7c812d57b335b956f1d674502783c9/pstats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1188, 67, 1098, 12, 2890, 16, 357, 67, 1098, 4672, 1835, 273, 365, 18, 1896, 67, 529, 67, 1897, 309, 365, 18, 7142, 82, 67, 1098, 30, 610, 67, 1098, 273, 365, 18, 7142, 82...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1188, 67, 1098, 12, 2890, 16, 357, 67, 1098, 4672, 1835, 273, 365, 18, 1896, 67, 529, 67, 1897, 309, 365, 18, 7142, 82, 67, 1098, 30, 610, 67, 1098, 273, 365, 18, 7142, 82...
left = ROI[roi_index]['Left'] right = ROI[roi_index]['Right'] top = ROI[roi_index]['Top'] bottom = ROI[roi_index]['Bottom'] front = ROI[roi_index]['Front'] back = ROI[roi_index]['Back']
left = expanded_ROI['Left'] right = expanded_ROI['Right'] top = expanded_ROI['Top'] bottom = expanded_ROI['Bottom'] front = expanded_ROI['Front'] back = expanded_ROI['Back']
def region_grow(label_image, raw_image, ROI, roi_index, roi_inflate, stop_thresh=0.5, N_connectivity=3): """ region_grow(label_image, raw_image, ROI, roi_index, roi_inflate, stop_thresh) starting from a seed (masks or regions in the label_image) grow the regions based on (1) connectivity (2D or 3D) and (2) raw voxel v...
45295c7a202f419ec5a20ed06086e443dedcc927 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/45295c7a202f419ec5a20ed06086e443dedcc927/_segmenter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3020, 67, 75, 492, 12, 1925, 67, 2730, 16, 1831, 67, 2730, 16, 6525, 45, 16, 25017, 67, 1615, 16, 25017, 67, 267, 2242, 340, 16, 2132, 67, 19237, 33, 20, 18, 25, 16, 423, 67, 3612,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3020, 67, 75, 492, 12, 1925, 67, 2730, 16, 1831, 67, 2730, 16, 6525, 45, 16, 25017, 67, 1615, 16, 25017, 67, 267, 2242, 340, 16, 2132, 67, 19237, 33, 20, 18, 25, 16, 423, 67, 3612,...
pygame.sprite.spritecollide(sprite, group, dokill, collided = None): return Sprite_list
pygame.sprite.spritecollide(sprite, group, dokill, collided=None): return Sprite_list
def spritecollide(sprite, group, dokill, collided = None): """find Sprites in a Group that intersect another Sprite pygame.sprite.spritecollide(sprite, group, dokill, collided = None): return Sprite_list Return a list containing all Sprites in a Group that intersect with another Sprite. Intersection is determined by c...
d9760f3e4782abb02dd98080337626eefdad67ee /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1298/d9760f3e4782abb02dd98080337626eefdad67ee/sprite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1694, 583, 18997, 8130, 12, 1752, 796, 16, 1041, 16, 302, 601, 737, 16, 645, 549, 785, 273, 599, 4672, 3536, 4720, 5878, 24047, 316, 279, 3756, 716, 9136, 4042, 5878, 796, 225, 2395, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1694, 583, 18997, 8130, 12, 1752, 796, 16, 1041, 16, 302, 601, 737, 16, 645, 549, 785, 273, 599, 4672, 3536, 4720, 5878, 24047, 316, 279, 3756, 716, 9136, 4042, 5878, 796, 225, 2395, 1...
def _test(): class BoundedQueue(_Verbose): def __init__(self, limit): _Verbose.__init__(self) self.mon = RLock() self.rc = Condition(self.mon) self.wc = Condition(self.mon) self.limit = limit self.queue = deque() def put(self, item): self.mon.acquire() while len(self.queue) >= self.limit: self._note("put(%s): qu...
def _after_fork(): # This function is called by Python/ceval.c:PyEval_ReInitThreads which # is called from PyOS_AfterFork. Here we cleanup threading module state # that should not exist after a fork. # Reset _active_limbo_lock, in case we forked while the lock was held # by another (non-forked) thread. http://bugs.p...
148724d39b082d9ea19297262d97984127594f14 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/148724d39b082d9ea19297262d97984127594f14/threading.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5205, 67, 23335, 13332, 468, 1220, 445, 353, 2566, 635, 6600, 19, 311, 1125, 18, 71, 30, 9413, 13904, 67, 426, 2570, 13233, 1492, 468, 353, 2566, 628, 4707, 4618, 67, 4436, 22662, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5205, 67, 23335, 13332, 468, 1220, 445, 353, 2566, 635, 6600, 19, 311, 1125, 18, 71, 30, 9413, 13904, 67, 426, 2570, 13233, 1492, 468, 353, 2566, 628, 4707, 4618, 67, 4436, 22662, ...
comment.append('[http://www.google.com/search?sourceid=navclient&q=cache:%s Google cache]' % urllib2.quote(short_url(add_item)))
comment.append('[http://www.google.com/search?sourceid=navclient&q=cache:%s Google cache]' % urllib.quote(short_url(add_item)))
def add_in_urllist(url, add_item, engine, cache_url = None): if (engine == 'google' and config.copyright_check_in_source_google) or \ (engine == 'yahoo' and config.copyright_check_in_source_yahoo) or \ (engine == 'msn' and config.copyright_check_in_source_msn): check_in_source = True else: check_in_source = False if ...
98b49ec34c6d4067c0248a230c0b407821cf72a1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/98b49ec34c6d4067c0248a230c0b407821cf72a1/copyright.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 267, 67, 718, 1098, 12, 718, 16, 527, 67, 1726, 16, 4073, 16, 1247, 67, 718, 273, 599, 4672, 225, 309, 261, 8944, 422, 296, 9536, 11, 471, 642, 18, 29187, 67, 1893, 67, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 67, 267, 67, 718, 1098, 12, 718, 16, 527, 67, 1726, 16, 4073, 16, 1247, 67, 718, 273, 599, 4672, 225, 309, 261, 8944, 422, 296, 9536, 11, 471, 642, 18, 29187, 67, 1893, 67, 26...
more_attr += col_name + ' ' + attr_dict['sql']
more_attr += col_name + ' ' + col_dict['sql']
def add_column(self, table, col_name, attr_dict, default='NULL'): """ Takes a while, thanks to SQLite... """ # Check input: if not self.__skeleton__.has_key(table): raise ValueError("Database has no table %s."%table) if self.__skeleton__[table].has_key(col_name): raise ValueError("Table %s already has column %s."%(tab...
5ddf79d83938a9c0191ec3af2f60e264a74ecef9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/5ddf79d83938a9c0191ec3af2f60e264a74ecef9/database.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 2827, 12, 2890, 16, 1014, 16, 645, 67, 529, 16, 1604, 67, 1576, 16, 805, 2218, 8560, 11, 4672, 3536, 23004, 279, 1323, 16, 286, 19965, 358, 16192, 2777, 225, 3536, 468, 2073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 67, 2827, 12, 2890, 16, 1014, 16, 645, 67, 529, 16, 1604, 67, 1576, 16, 805, 2218, 8560, 11, 4672, 3536, 23004, 279, 1323, 16, 286, 19965, 358, 16192, 2777, 225, 3536, 468, 2073, ...
[1, ex[0], ey[0], 0, 0, 0], [0, 0, 0, 1, ex[0], ey[0]], [1, ex[1], ey[1], 0, 0, 0], [0, 0, 0, 1, ex[1], ey[1]], [1, ex[2], ey[2], 0, 0, 0], [0, 0, 0, 1, ex[2], ey[2]]
[ 1, ex[0], ey[0], 0, 0, 0 ], [ 0, 0, 0, 1, ex[0], ey[0]], [ 1, ex[1], ey[1], 0, 0, 0 ], [ 0, 0, 0, 1, ex[1], ey[1]], [ 1, ex[2], ey[2], 0, 0, 0 ], [ 0, 0, 0, 1, ex[2], ey[2]]
def plantf(ex,ey,ep,es): """ Compute internal element force vector in a triangular element in plane stress or plane strain. Parameters: ex = [x1,x2,x3] node coordinates ey = [y1,y2,y3] ep = [ptype,t] ptype: analysis type t: thickness es = [[sigx,sigy,[sigz],tauxy] element stress ma...
802fb797c1c505715968b6bf327cad5ed7e0e712 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1235/802fb797c1c505715968b6bf327cad5ed7e0e712/pycalfem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 886, 970, 74, 12, 338, 16, 402, 16, 881, 16, 281, 4672, 3536, 8155, 2713, 930, 2944, 3806, 316, 279, 6882, 13077, 930, 316, 11017, 384, 663, 578, 11017, 16853, 18, 225, 7012, 30, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 886, 970, 74, 12, 338, 16, 402, 16, 881, 16, 281, 4672, 3536, 8155, 2713, 930, 2944, 3806, 316, 279, 6882, 13077, 930, 316, 11017, 384, 663, 578, 11017, 16853, 18, 225, 7012, 30, 225, ...
yrestarr.append(self.yresult)
yresarr.append(self.yresult)
def saveresultsinhdf5(self, filename, filemode): """Save simulation results in a HDF5 format file with filename. filename - full path and name of file (should end in hf5 for consistency. filemode - ["w"|"a"]: "w" specifies write to a new file, overwriting existing one "a" specifies append to current file or create if d...
fbfb3bd10f1e28b79d13aaa1ffa69f964c6b3160 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7283/fbfb3bd10f1e28b79d13aaa1ffa69f964c6b3160/cosmomodels.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7864, 502, 281, 406, 21861, 26428, 25, 12, 2890, 16, 1544, 16, 585, 3188, 4672, 3536, 4755, 14754, 1686, 316, 279, 21673, 25, 740, 585, 598, 1544, 18, 1544, 300, 1983, 589, 471, 508, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7864, 502, 281, 406, 21861, 26428, 25, 12, 2890, 16, 1544, 16, 585, 3188, 4672, 3536, 4755, 14754, 1686, 316, 279, 21673, 25, 740, 585, 598, 1544, 18, 1544, 300, 1983, 589, 471, 508, 4...
if not self.is_active(): return False self._screen.get_crtc_by_xid(self.get_crtc()).disable()
if not self.is_active(): return self._mode = None self._crtc._outputs.remove(self) self._crtc = None self._changes = self._changes | CHANGES_CRTC | CHANGES_MODE
def disable(self): """Disables the output""" if not self.is_active(): return False #FIXME: Check for other outputs that are connected on the same crtc self._screen.get_crtc_by_xid(self.get_crtc()).disable()
0e41f2a133d91b605652655ee11819e181c12a3b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11047/0e41f2a133d91b605652655ee11819e181c12a3b/xrandr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4056, 12, 2890, 4672, 3536, 1669, 1538, 326, 876, 8395, 309, 486, 365, 18, 291, 67, 3535, 13332, 327, 1083, 468, 25810, 30, 2073, 364, 1308, 6729, 716, 854, 5840, 603, 326, 1967, 30677, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4056, 12, 2890, 4672, 3536, 1669, 1538, 326, 876, 8395, 309, 486, 365, 18, 291, 67, 3535, 13332, 327, 1083, 468, 25810, 30, 2073, 364, 1308, 6729, 716, 854, 5840, 603, 326, 1967, 30677, ...
if fromitem(item, LOWERREQS): for i in range(LAYER_RIGHTHAND, LAYER_MOUNT): litem = char.itemonlayer(i) if litem: litem.resendtooltip()
def onEquip(char, item, layer): changed = 0 # Resend all equipment with requirements if fromitem(item, LOWERREQS): for i in range(LAYER_RIGHTHAND, LAYER_MOUNT): litem = char.itemonlayer(i) if litem: litem.resendtooltip() # Bonus Strength if item.hastag('boni_str'): char.strength = char.strength + int(item.gettag('bon...
768966737612f42a199c2f6cffe24c72d0fb439e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/768966737612f42a199c2f6cffe24c72d0fb439e/equipment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 13142, 625, 12, 3001, 16, 761, 16, 3018, 4672, 3550, 273, 374, 225, 468, 1124, 409, 777, 1298, 11568, 598, 8433, 7, 605, 22889, 934, 13038, 309, 761, 18, 76, 689, 346, 2668, 18688...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 603, 13142, 625, 12, 3001, 16, 761, 16, 3018, 4672, 3550, 273, 374, 225, 468, 1124, 409, 777, 1298, 11568, 598, 8433, 7, 605, 22889, 934, 13038, 309, 761, 18, 76, 689, 346, 2668, 18688...
raise NotImplementedException()
raise NotImplementedError()
def getParser(self): raise NotImplementedException()
03ad1fcb5b9c995bdcae5e56834a1418f0c71c32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/03ad1fcb5b9c995bdcae5e56834a1418f0c71c32/converter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20804, 12, 2890, 4672, 1002, 10051, 503, 1435, 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, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20804, 12, 2890, 4672, 1002, 10051, 503, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
bp = bdb.Breakpoint.bpbynumber[bpnum]
try: bp = bdb.Breakpoint.bpbynumber[bpnum] except IndexError: print >>self.stdout, 'Breakpoint index %r is not valid' % args[0] return
def do_condition(self, arg): # arg is breakpoint number and condition args = arg.split(' ', 1) try: bpnum = int(args[0].strip()) except ValueError: # something went wrong print >>self.stdout, \ 'Breakpoint index %r is not a number' % args[0] return try: cond = args[1] except: cond = None bp = bdb.Breakpoint.bpbynumber[...
acf441ff19c02e760baf57d83b27e8dfaeee0c56 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/acf441ff19c02e760baf57d83b27e8dfaeee0c56/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4175, 12, 2890, 16, 1501, 4672, 468, 1501, 353, 18820, 1300, 471, 2269, 833, 273, 1501, 18, 4939, 2668, 2265, 404, 13, 775, 30, 9107, 2107, 273, 509, 12, 1968, 63, 20, 8009, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 67, 4175, 12, 2890, 16, 1501, 4672, 468, 1501, 353, 18820, 1300, 471, 2269, 833, 273, 1501, 18, 4939, 2668, 2265, 404, 13, 775, 30, 9107, 2107, 273, 509, 12, 1968, 63, 20, 8009, ...
class pAdicGeneralExtensionRingLazy(pAdicGeneralExtensionGeneric, pAdicLazyRingGeneric): def __init__(self, upoly, epoly, poly, prec, halt, print_mode, names): pAdicGeneralExtensionGeneric.__init__(self, upoly, epoly, poly, prec, print_mode, names, pAdicGeneralExtensionLazyElement) pAdicLazyRingGeneric.__init__(self, u...
def __init__(self, upoly, epoly, poly, prec, halt, print_mode, names): pAdicGeneralExtensionGeneric.__init__(self, upoly, epoly, poly, prec, print_mode, names, pAdicGeneralExtensionCappedRelativeElement)
b9ffa8b1f92ad68de3210909edfe6b8fd5f5e7af /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/b9ffa8b1f92ad68de3210909edfe6b8fd5f5e7af/padic_extension_leaves.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 731, 355, 93, 16, 425, 16353, 16, 7573, 16, 13382, 16, 18389, 16, 1172, 67, 3188, 16, 1257, 4672, 293, 1871, 335, 12580, 3625, 7014, 16186, 2738, 972, 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, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 731, 355, 93, 16, 425, 16353, 16, 7573, 16, 13382, 16, 18389, 16, 1172, 67, 3188, 16, 1257, 4672, 293, 1871, 335, 12580, 3625, 7014, 16186, 2738, 972, 12...
marcher.march( marchBound, marchResolution )
marcher.march( marchBound, marchResolution, -0.000001 )
def testUnion( self ) : """ Test implicit surface CSG union """ sphere1 = SphereImplicitSurfaceFunctionV3ff( V3f(0,0,0), 1 ) sphere2 = SphereImplicitSurfaceFunctionV3ff( V3f(0,1,0), 1 ) csgFn = CSGImplicitSurfaceFunctionV3ff( sphere1, sphere2, CSGImplicitSurfaceFunctionV3ff.Mode.Union ) builder = MeshPrimitiveBuilderf...
8913efd88a1927c6feb385fcacb4a7ef5c95264e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9042/8913efd88a1927c6feb385fcacb4a7ef5c95264e/CSGImplicitSurfaceFunction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 14325, 12, 365, 262, 294, 3536, 7766, 10592, 9034, 6761, 43, 7812, 3536, 20041, 21, 273, 348, 9346, 15787, 11508, 2083, 58, 23, 1403, 12, 776, 23, 74, 12, 20, 16, 20, 16, 20, 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, 1842, 14325, 12, 365, 262, 294, 3536, 7766, 10592, 9034, 6761, 43, 7812, 3536, 20041, 21, 273, 348, 9346, 15787, 11508, 2083, 58, 23, 1403, 12, 776, 23, 74, 12, 20, 16, 20, 16, 20, 3...
subfolder = self._box.add_folder('subfolder')
if not hasattr(os, "stat") or not hasattr(os, "umask"): return orig_umask = os.umask(0) try: subfolder = self._box.add_folder('subfolder') finally: os.umask(orig_umask)
def test_file_perms(self): # From bug #3228, we want to verify that the file created inside a Maildir # subfolder isn't marked as executable. subfolder = self._box.add_folder('subfolder') path = os.path.join(subfolder._path, 'maildirfolder') st = os.stat(path) perms = st.st_mode self.assertFalse((perms & 0111)) # Execu...
b92cf32511f6406399e4ad31a75017e9dc97f41e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/b92cf32511f6406399e4ad31a75017e9dc97f41e/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 768, 67, 15969, 12, 2890, 4672, 468, 6338, 7934, 468, 1578, 6030, 16, 732, 2545, 358, 3929, 716, 326, 585, 2522, 4832, 279, 490, 69, 545, 481, 468, 31001, 5177, 1404, 9350, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 768, 67, 15969, 12, 2890, 4672, 468, 6338, 7934, 468, 1578, 6030, 16, 732, 2545, 358, 3929, 716, 326, 585, 2522, 4832, 279, 490, 69, 545, 481, 468, 31001, 5177, 1404, 9350, 4...
modcomponents = container.name().split('.')
modcomponents = container_name.split('.')
def findUID(name, container, docmap=None): """ Attempt to find the UID for the object that can be accessed with the name C{name} from the module C{module}. @param name: The name used to identify the object. @type name: C{string} @param container: The UID of the class or module containing the object. @type container: L...
f0b775424bcce0909bd1f7a706c6cfdc3470be31 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/f0b775424bcce0909bd1f7a706c6cfdc3470be31/uid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 3060, 12, 529, 16, 1478, 16, 997, 1458, 33, 7036, 4672, 3536, 12864, 358, 1104, 326, 10034, 364, 326, 733, 716, 848, 506, 15539, 598, 326, 508, 385, 95, 529, 97, 628, 326, 1605, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3060, 12, 529, 16, 1478, 16, 997, 1458, 33, 7036, 4672, 3536, 12864, 358, 1104, 326, 10034, 364, 326, 733, 716, 848, 506, 15539, 598, 326, 508, 385, 95, 529, 97, 628, 326, 1605, ...
argument = pvalue.strip('"').replace('\\"', '"')
argument = pvalue.strip('"').replace('\\"', '"').replace('\\\\', '\\')
def revert_commandparams(document): regex = re.compile(r'(\S+)\s+(.+)') i = 0 while 1: i = find_token(document.body, "\\begin_inset LatexCommand", i) if i == -1: break name = document.body[i].split()[2] j = find_end_of_inset(document.body, i + 1) preview_line = "" option1 = "" option2 = "" argument = "" for k in range(...
7feaac16d224b7adb406eb79810b2b84e4816ca0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7514/7feaac16d224b7adb406eb79810b2b84e4816ca0/lyx_1_5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15226, 67, 3076, 2010, 12, 5457, 4672, 3936, 273, 283, 18, 11100, 12, 86, 11, 4713, 55, 14456, 87, 15, 21133, 2506, 13, 277, 273, 374, 1323, 404, 30, 277, 273, 1104, 67, 2316, 12, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15226, 67, 3076, 2010, 12, 5457, 4672, 3936, 273, 283, 18, 11100, 12, 86, 11, 4713, 55, 14456, 87, 15, 21133, 2506, 13, 277, 273, 374, 1323, 404, 30, 277, 273, 1104, 67, 2316, 12, 54...
return self.enclosed_ro.match(data)
return self.enclosed_ro.search(data)
def match_complete (self, pos, tagbuf): """ We know that the tag (and tag attributes) match. Now match the enclosing block. Return True on a match. """ if not self.enclosed: # no enclosed expression => match return True # put buf items together for matching items = tagbuf[pos:] data = wc.filter.html.tagbuf2data(items, ...
7dd938cf2887c827895292966733d8e0500470da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/7dd938cf2887c827895292966733d8e0500470da/HtmlrewriteRule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 845, 67, 6226, 261, 2890, 16, 949, 16, 1047, 4385, 4672, 3536, 1660, 5055, 716, 326, 1047, 261, 464, 1047, 1677, 13, 845, 18, 4494, 845, 326, 16307, 1203, 18, 2000, 1053, 603, 279, 845...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 845, 67, 6226, 261, 2890, 16, 949, 16, 1047, 4385, 4672, 3536, 1660, 5055, 716, 326, 1047, 261, 464, 1047, 1677, 13, 845, 18, 4494, 845, 326, 16307, 1203, 18, 2000, 1053, 603, 279, 845...
value.append(any.exportToXml()) value = ''.join(value) attributes[(name, format)].append(value.decode('utf8'))
content.append(any.exportToXml()) content = ''.join(content) attributes[(name, format)].append(content.decode('utf8'))
def sso_after_response(request, login, relay_state = None): s = get_service_provider_settings() if not s: return error_page(request, _('Service provider not configured')) # If there is no inResponseTo: IDP initiated # else, check that the response id is the same irt = None try: irt = login.response.assertion[0].subjec...
7cd7e7964660fa014725c985c74ccf06b2834dcf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11208/7cd7e7964660fa014725c985c74ccf06b2834dcf/saml2_endpoints.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27250, 67, 5205, 67, 2740, 12, 2293, 16, 3925, 16, 18874, 67, 2019, 273, 599, 4672, 272, 273, 336, 67, 3278, 67, 6778, 67, 4272, 1435, 309, 486, 272, 30, 327, 555, 67, 2433, 12, 2293...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27250, 67, 5205, 67, 2740, 12, 2293, 16, 3925, 16, 18874, 67, 2019, 273, 599, 4672, 272, 273, 336, 67, 3278, 67, 6778, 67, 4272, 1435, 309, 486, 272, 30, 327, 555, 67, 2433, 12, 2293...
universal_newlines=True)
universal_newlines=True, silent_ok=True)
def GetBaseFile(self, filename): status = self.GetStatus(filename) base_content = None new_content = None
eb832f5bde044b8ab2c68c9bb98940bdbe9b728b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/476/eb832f5bde044b8ab2c68c9bb98940bdbe9b728b/upload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2171, 812, 12, 2890, 16, 1544, 4672, 1267, 273, 365, 18, 967, 1482, 12, 3459, 13, 1026, 67, 1745, 273, 599, 394, 67, 1745, 273, 599, 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, 968, 2171, 812, 12, 2890, 16, 1544, 4672, 1267, 273, 365, 18, 967, 1482, 12, 3459, 13, 1026, 67, 1745, 273, 599, 394, 67, 1745, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, ...
th = contol / 2.0
th = 0.0
def _getDirection(self, approach): if hasattr(self, 'direction'): return self.direction.copy() p = self.p contol = p.contol maxRes, fname, ind = self.mr_alt(1) x = self.x if self.isFeas(altLinInEq=True): #or (useCurrentBestFeasiblePoint and hasattr(p, 'currentBestFeasiblePoint') and self.f() - p.currentBestFeasiblePoin...
7c402b86c7f3b43aff3ac17f09053cdbf8ac261d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6196/7c402b86c7f3b43aff3ac17f09053cdbf8ac261d/Point.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 8212, 12, 2890, 16, 17504, 4672, 309, 3859, 12, 2890, 16, 296, 9855, 11, 4672, 327, 365, 18, 9855, 18, 3530, 1435, 293, 273, 365, 18, 84, 466, 355, 273, 293, 18, 1213, 355,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8212, 12, 2890, 16, 17504, 4672, 309, 3859, 12, 2890, 16, 296, 9855, 11, 4672, 327, 365, 18, 9855, 18, 3530, 1435, 293, 273, 365, 18, 84, 466, 355, 273, 293, 18, 1213, 355,...
self.silc.command_call('TOPIC %s %s' % (strip_leading_hash(msg.args[0]), msg.args[1]))
if len(msg.args) > 1: self.silc.command_call('TOPIC %s %s' % (strip_leading_hash(msg.args[0]), msg.args[1])) else: self.silc.command_call('TOPIC %s' % strip_leading_hash(msg.args[0]))
def do_TOPIC(self, msg): self.silc.command_call('TOPIC %s %s' % (strip_leading_hash(msg.args[0]), msg.args[1]))
1bc8d60672688540dbe014cec953f3b1bd2e9462 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2179/1bc8d60672688540dbe014cec953f3b1bd2e9462/Silc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4296, 20385, 12, 2890, 16, 1234, 4672, 365, 18, 25119, 71, 18, 3076, 67, 1991, 2668, 4296, 20385, 738, 87, 738, 87, 11, 738, 261, 6406, 67, 27200, 67, 2816, 12, 3576, 18, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4296, 20385, 12, 2890, 16, 1234, 4672, 365, 18, 25119, 71, 18, 3076, 67, 1991, 2668, 4296, 20385, 738, 87, 738, 87, 11, 738, 261, 6406, 67, 27200, 67, 2816, 12, 3576, 18, 19...
new_doc.childNodes[0].appendChild(config) header = new_doc.createElement("header") for f in fields: field = new_doc.createElement("field") field_txt = new_doc.createTextNode('%s' % (f['name'],)) field.appendChild(field_txt) header.appendChild(field) new_doc.childNodes[0].appendChild(header) lines = new_doc.createEle...
new_doc.append(config) header = etree.Element("header") for f in fields: field = etree.Element("field") field.text = f['name'] header.append(field) new_doc.append(header) lines = etree.Element("lines")
def _append_node(name, text): n = new_doc.createElement(name) t = new_doc.createTextNode(text) n.appendChild(t) config.appendChild(n)
ce28b92c9e314579334271a58fcf4c5c65873e36 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/ce28b92c9e314579334271a58fcf4c5c65873e36/custom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 2159, 12, 529, 16, 977, 4672, 290, 273, 394, 67, 2434, 18, 2640, 1046, 12, 529, 13, 268, 273, 394, 67, 2434, 18, 2640, 17299, 12, 955, 13, 290, 18, 6923, 1763, 12, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 2159, 12, 529, 16, 977, 4672, 290, 273, 394, 67, 2434, 18, 2640, 1046, 12, 529, 13, 268, 273, 394, 67, 2434, 18, 2640, 17299, 12, 955, 13, 290, 18, 6923, 1763, 12, 8...
print "Total Game:" total_game.dump(" ")
def dump(self, header): game_count = float(self.count)
4788ddf5016880c1fe8c5fbca5e01c7157624fa5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/600/4788ddf5016880c1fe8c5fbca5e01c7157624fa5/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 2890, 16, 1446, 4672, 7920, 67, 1883, 273, 1431, 12, 2890, 18, 1883, 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, 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, 4657, 12, 2890, 16, 1446, 4672, 7920, 67, 1883, 273, 1431, 12, 2890, 18, 1883, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.prop.window, _("Unable to edit song"),
self.prop, _("Unable to edit song"),
def save_song(model, path, iter): song = model[path][0] row = model[path] changed = False for i, h in enumerate(pattern.headers): if row[i + 2]: if not add or h not in song: song[h] = row[i + 2].decode("utf-8") changed = True else: vals = row[i + 2].decode("utf-8") for val in vals.split("\n"): if val not in song[h]: so...
44deb3636adb3eb180d1cc44ce811a1cb782bb80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/44deb3636adb3eb180d1cc44ce811a1cb782bb80/widgets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 816, 75, 12, 2284, 16, 589, 16, 1400, 4672, 17180, 273, 938, 63, 803, 6362, 20, 65, 1027, 273, 938, 63, 803, 65, 3550, 273, 1083, 364, 277, 16, 366, 316, 4241, 12, 4951, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1923, 67, 816, 75, 12, 2284, 16, 589, 16, 1400, 4672, 17180, 273, 938, 63, 803, 6362, 20, 65, 1027, 273, 938, 63, 803, 65, 3550, 273, 1083, 364, 277, 16, 366, 316, 4241, 12, 4951, ...
f = codecs.open(os.path.join(self.libraryDir,self.mediaId + ".pickled"),mode='w',encoding="utf-8") cPickle.dump(self.__posts, f)
f = open(os.path.join(self.libraryDir,self.mediaId + ".pickled"),mode='wb') cPickle.dump(self.__posts, f, True)
def run(self): # Start the region timer so the media dies at the right time. self.p.enqueue('timer',(int(self.duration) * 1000,self.timerElapsed)) # Pointer to the currently displayed post: self.__pointer = -1 # Open previous cache file (if exists) and begin playing out posts # Lock the semaphore as we write to __pos...
83f2b93054a66c026b568a9031e6f8fd17f9d143 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5464/83f2b93054a66c026b568a9031e6f8fd17f9d143/MicroblogMedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 3603, 326, 3020, 5441, 1427, 326, 3539, 27890, 622, 326, 2145, 813, 18, 365, 18, 84, 18, 21798, 2668, 12542, 2187, 12, 474, 12, 2890, 18, 8760, 13, 380, 4336...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 3603, 326, 3020, 5441, 1427, 326, 3539, 27890, 622, 326, 2145, 813, 18, 365, 18, 84, 18, 21798, 2668, 12542, 2187, 12, 474, 12, 2890, 18, 8760, 13, 380, 4336...
readlist = fileinfo[myfilehandle]['fobj'].readlines(*args)
try: readlist = fileinfo[myfilehandle]['fobj'].readlines(*args) except KeyError: raise ValueError("Invalid file object (probably closed).")
def readlines(self,*args): # prevent TOCTOU race with client changing my filehandle myfilehandle = self.filehandle restrictions.assertisallowed('file.readlines',*args)
4fb5dddefa372ea7ca176eb89dee92b27da7c593 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7995/4fb5dddefa372ea7ca176eb89dee92b27da7c593/emulfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17546, 12, 2890, 16, 14, 1968, 4672, 468, 5309, 8493, 1268, 26556, 17996, 598, 1004, 12770, 3399, 585, 4110, 3399, 768, 4110, 273, 365, 18, 768, 4110, 17499, 18, 11231, 291, 8151, 2668, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17546, 12, 2890, 16, 14, 1968, 4672, 468, 5309, 8493, 1268, 26556, 17996, 598, 1004, 12770, 3399, 585, 4110, 3399, 768, 4110, 273, 365, 18, 768, 4110, 17499, 18, 11231, 291, 8151, 2668, ...
if dy == 0 or dx == 0: return False
if dy == 0 and dx == 0: continue
def HitTest(self, x, y): if not self._lineControlPoints: return False
58c132bbfcbbed7ca67ed6c2c278306b885bee48 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/58c132bbfcbbed7ca67ed6c2c278306b885bee48/_lines.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 670, 305, 4709, 12, 2890, 16, 619, 16, 677, 4672, 309, 486, 365, 6315, 1369, 3367, 5636, 30, 327, 1083, 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, 670, 305, 4709, 12, 2890, 16, 619, 16, 677, 4672, 309, 486, 365, 6315, 1369, 3367, 5636, 30, 327, 1083, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.lirc.connect('/dev/lircd')
while 1: try: self.lirc.connect('/dev/lircd') break except: print "Couldn't open /dev/lircd, trying again in 10 seconds..." time.sleep(10)
def __init__(self): self.lirc = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
a0d9f09120e314303c55d1cea6b02d272864db1e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/a0d9f09120e314303c55d1cea6b02d272864db1e/remote.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 80, 481, 71, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 10377, 60, 16, 2987, 18, 3584, 3507, 67, 13693, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 80, 481, 71, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 10377, 60, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 2, -100, -100, -100, -100, -10...
c = connection.execute ("select distinct OWNER from ALL_TAB_COLUMNS where TABLE_NAME = :table_name", {'table_name':name}) rows = c.fetchall() if not rows : raise exceptions.NoSuchTableError(table.name) else: if table.owner is not None: if table.owner.upper() in [r[0] for r in rows]: owner = table.owner.upper() else: ra...
actual_name, owner, dblink = self._resolve_table_owner(connection, name, table) c = connection.execute ("select COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE, NULLABLE, DATA_DEFAULT from ALL_TAB_COLUMNS%(dblink)s where TABLE_NAME = :table_name and OWNER = :owner" % {'dblink':dblink}, {'table_name'...
def reflecttable(self, connection, table): preparer = self.identifier_preparer if not preparer.should_quote(table): name = table.name.upper() else: name = table.name c = connection.execute ("select distinct OWNER from ALL_TAB_COLUMNS where TABLE_NAME = :table_name", {'table_name':name}) rows = c.fetchall() if not rows ...
3b3d94c9ab566aba411cacbe0a3cd08d6d76b735 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1074/3b3d94c9ab566aba411cacbe0a3cd08d6d76b735/oracle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3037, 2121, 12, 2890, 16, 1459, 16, 1014, 4672, 675, 21804, 273, 365, 18, 5644, 67, 1484, 21804, 309, 486, 675, 21804, 18, 13139, 67, 6889, 12, 2121, 4672, 508, 273, 1014, 18, 529, 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, 3037, 2121, 12, 2890, 16, 1459, 16, 1014, 4672, 675, 21804, 273, 365, 18, 5644, 67, 1484, 21804, 309, 486, 675, 21804, 18, 13139, 67, 6889, 12, 2121, 4672, 508, 273, 1014, 18, 529, 18,...
def on_resize_window(self): pass
def on_resize_window(self): # FIXME: Implement this pass
c647948a7fe81768afb7a383769e16ee7aac44bc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6502/c647948a7fe81768afb7a383769e16ee7aac44bc/terminal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 15169, 67, 5668, 12, 2890, 4672, 468, 9852, 30, 10886, 333, 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, ...
[ 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, 603, 67, 15169, 67, 5668, 12, 2890, 4672, 468, 9852, 30, 10886, 333, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for line in self.instance.fhandle:
for line in self.fhandle:
def parse(self): """ Run the state machine, parse the file line by line and call process() with the current matched symbol. """ i, lastlen = 1, 0 for line in self.instance.fhandle: line = _strstrip(line) if line == '': i = i+1 continue if line[:3] == '#~ ': line = line[3:] self.entry_obsolete = 1 else: self.entry_obsol...
418b31415acbfe149b6979cf1e06619eed712454 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9209/418b31415acbfe149b6979cf1e06619eed712454/polib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 4672, 3536, 1939, 326, 919, 5228, 16, 1109, 326, 585, 980, 635, 980, 471, 745, 1207, 1435, 598, 326, 783, 4847, 3273, 18, 3536, 277, 16, 1142, 1897, 273, 404, 16, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4672, 3536, 1939, 326, 919, 5228, 16, 1109, 326, 585, 980, 635, 980, 471, 745, 1207, 1435, 598, 326, 783, 4847, 3273, 18, 3536, 277, 16, 1142, 1897, 273, 404, 16, 374, ...
def do_body(self):
def do_header(self): stdout.write('/* Generated from ') stdout.write(get_descendant_text(get_by_path(self.spec, 'title'))) version = get_by_path(self.spec, "version")
e562d7cdac8cd00b1ec7c9a7392ec1fc7d3edbed /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7593/e562d7cdac8cd00b1ec7c9a7392ec1fc7d3edbed/qt4-constants-gen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3374, 12, 2890, 4672, 3909, 18, 2626, 2668, 20308, 11025, 628, 8624, 3909, 18, 2626, 12, 588, 67, 26236, 970, 67, 955, 12, 588, 67, 1637, 67, 803, 12, 2890, 18, 2793, 16, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 67, 3374, 12, 2890, 4672, 3909, 18, 2626, 2668, 20308, 11025, 628, 8624, 3909, 18, 2626, 12, 588, 67, 26236, 970, 67, 955, 12, 588, 67, 1637, 67, 803, 12, 2890, 18, 2793, 16, 29...
Possible values are : 'left', 'right'. Default is 'left'. Return the first or last index where the key could be inserted.
Possible values are : 'left', 'right'. Default is 'left'. Return the first or last index where the key could be inserted.
def searchsorted(a, v, side='left'): """Returns indices where keys in v should be inserted to maintain order. *Description* Find the indices into a sorted array such that if the corresponding keys in v were inserted before the indices the order of a would be preserved. If side='left', then the first such index is re...
fe2f8b811f8f87475f51396eca9a848d2746ab2b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14925/fe2f8b811f8f87475f51396eca9a848d2746ab2b/fromnumeric.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 10350, 12, 69, 16, 331, 16, 4889, 2218, 4482, 11, 4672, 3536, 1356, 4295, 1625, 1311, 316, 331, 1410, 506, 9564, 358, 17505, 1353, 18, 225, 380, 3291, 14, 225, 4163, 326, 4295, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1623, 10350, 12, 69, 16, 331, 16, 4889, 2218, 4482, 11, 4672, 3536, 1356, 4295, 1625, 1311, 316, 331, 1410, 506, 9564, 358, 17505, 1353, 18, 225, 380, 3291, 14, 225, 4163, 326, 4295, 1...
m.setCoordinate(elem.name+'_74', coord)
model.setCoordinate(elename+'_74', coord)
def subdivideHex(model, elem, refinenodes): """subdivide a Hex8 element |elem| around the nodes |lnodes| remove |elem| from the model |model| and insert the subelements """ assert(elem.shape.name == 'Hex8') # swap the element corners depending on the refine node / edge swapcorners = [ [0, 1, 2, 3, 4, 5, 6, 7], # u 0...
a06f60abf58eb66adcf5b72de6f94dfa2c242c77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2567/a06f60abf58eb66adcf5b72de6f94dfa2c242c77/Adaptive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25741, 831, 7037, 12, 2284, 16, 3659, 16, 25994, 275, 1145, 4672, 3536, 1717, 2892, 831, 279, 15734, 28, 930, 571, 10037, 96, 6740, 326, 2199, 571, 2370, 1145, 96, 1206, 571, 10037, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25741, 831, 7037, 12, 2284, 16, 3659, 16, 25994, 275, 1145, 4672, 3536, 1717, 2892, 831, 279, 15734, 28, 930, 571, 10037, 96, 6740, 326, 2199, 571, 2370, 1145, 96, 1206, 571, 10037, 96, ...
label = self.body[size] text = ''.join(self.body[size+1:])
text = ''.join(self.body[size:])
def depart_citation(self, node): size = self.context.pop() label = self.body[size] text = ''.join(self.body[size+1:]) del self.body[size:] self.bibitems.append([label, text])
b65c48280a2e0b4d11111137d4447a7b98c63f9e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7032/b65c48280a2e0b4d11111137d4447a7b98c63f9e/latexwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 71, 8773, 12, 2890, 16, 756, 4672, 963, 273, 365, 18, 2472, 18, 5120, 1435, 977, 273, 875, 18, 5701, 12, 2890, 18, 3432, 63, 1467, 30, 5717, 1464, 365, 18, 3432, 63, 1467,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 71, 8773, 12, 2890, 16, 756, 4672, 963, 273, 365, 18, 2472, 18, 5120, 1435, 977, 273, 875, 18, 5701, 12, 2890, 18, 3432, 63, 1467, 30, 5717, 1464, 365, 18, 3432, 63, 1467,...
def edit(uri, http_user, hostname):
def edit(uri, http_user, hostname, configuration=None, machines=None, **kwargs):
def edit(uri, http_user, hostname): """Edit an machine record, based on hostname.""" return (w.HTTP_TYPE_TEXT, "not implemented yet.") title = _("Edit %s's record") % hostname if protected_user(hostname): return w.forgery_error(title) data = w.page_body_start(uri, http_user, ctxtnav, title, False) try: machine = ...
5c6e0536d2363f635c0b43a50e8af7ca9d102236 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/5c6e0536d2363f635c0b43a50e8af7ca9d102236/machines.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3874, 12, 1650, 16, 1062, 67, 1355, 16, 5199, 16, 1664, 33, 7036, 16, 15942, 33, 7036, 16, 2826, 4333, 4672, 3536, 4666, 392, 5228, 1409, 16, 2511, 603, 5199, 12123, 225, 327, 261, 91,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3874, 12, 1650, 16, 1062, 67, 1355, 16, 5199, 16, 1664, 33, 7036, 16, 15942, 33, 7036, 16, 2826, 4333, 4672, 3536, 4666, 392, 5228, 1409, 16, 2511, 603, 5199, 12123, 225, 327, 261, 91,...
def fl_get_slider_increment(ob, l, r): """ fl_get_slider_increment(ob, l, r) """ _fl_get_slider_increment(ob, l, r)
def fl_get_slider_increment(pObject, l, r): """ fl_get_slider_increment(pObject, l, r) """ _fl_get_slider_increment(pObject, l, r)
def fl_get_slider_increment(ob, l, r): """ fl_get_slider_increment(ob, l, r) """ _fl_get_slider_increment(ob, l, r)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 28372, 67, 15016, 12, 84, 921, 16, 328, 16, 436, 4672, 3536, 1183, 67, 588, 67, 28372, 67, 15016, 12, 84, 921, 16, 328, 16, 436, 13, 3536, 225, 389, 2242, 67, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 28372, 67, 15016, 12, 84, 921, 16, 328, 16, 436, 4672, 3536, 1183, 67, 588, 67, 28372, 67, 15016, 12, 84, 921, 16, 328, 16, 436, 13, 3536, 225, 389, 2242, 67, 58...
s.addIndex('EMA-20', EMA, s, 20) s.addIndex('EMA-40', EMA, s, 40) v = s.addIndex('KAMA-10', KAMA, s, 10) v.addIndex('EMA-5', EMA, v, 5)
if EMA and KAMA: s.addIndex('EMA-20', EMA, s, 20) s.addIndex('EMA-40', EMA, s, 40) v = s.addIndex('KAMA-10', KAMA, s, 10) v.addIndex('EMA-5', EMA, v, 5)
def series(self, tickerId, field): s = Series() s.addIndex('EMA-20', EMA, s, 20) s.addIndex('EMA-40', EMA, s, 40) v = s.addIndex('KAMA-10', KAMA, s, 10) v.addIndex('EMA-5', EMA, v, 5) return s
77586db5172791426fe8f5c7ab4b1aaae6746641 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3979/77586db5172791426fe8f5c7ab4b1aaae6746641/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4166, 12, 2890, 16, 14063, 548, 16, 652, 4672, 272, 273, 9225, 1435, 309, 512, 5535, 471, 1475, 2192, 37, 30, 272, 18, 1289, 1016, 2668, 3375, 37, 17, 3462, 2187, 512, 5535, 16, 272, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4166, 12, 2890, 16, 14063, 548, 16, 652, 4672, 272, 273, 9225, 1435, 309, 512, 5535, 471, 1475, 2192, 37, 30, 272, 18, 1289, 1016, 2668, 3375, 37, 17, 3462, 2187, 512, 5535, 16, 272, ...
user = user_pool.browse(cr, uid, uid, uid)
user = user_pool.browse(cr, uid, uid, context)
def _get_company(self, cr, uid, ids, context={}): user_pool = self.pool.get('res.users') company_pool = self.pool.get('res.company') user = user_pool.browse(cr, uid, uid, uid) company_id = user.company_id and user.company_id.id if not company_id: company_id = company_pool.search(cr, uid, [])[0]
4fd67b69c6b0fc3ce35920df8e8fdc664e1fbc7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/4fd67b69c6b0fc3ce35920df8e8fdc664e1fbc7b/account_cash_statement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 16840, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 729, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 455, 18, 5577, 6134, 9395, 67, 6011, 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, 389, 588, 67, 16840, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 729, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 455, 18, 5577, 6134, 9395, 67, 6011, 273, 365, 18...
s += write(")")
r += cls.write(")")
def closing(self, node): s = u'' if node.parent.type == "loop": s += write(")")
01a99d0db0499777506f7fbf9ecf7a7e70c7a9e2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/01a99d0db0499777506f7fbf9ecf7a7e70c7a9e2/Packer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7647, 12, 2890, 16, 756, 4672, 272, 273, 582, 6309, 309, 756, 18, 2938, 18, 723, 422, 315, 6498, 6877, 272, 1011, 1045, 2932, 2225, 13, 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, 7647, 12, 2890, 16, 756, 4672, 272, 273, 582, 6309, 309, 756, 18, 2938, 18, 723, 422, 315, 6498, 6877, 272, 1011, 1045, 2932, 2225, 13, 2, -100, -100, -100, -100, -100, -100, -100, -10...
"""Return value for form inpurt."""
"""Return value for form input."""
def getValue(request, argument): """Return value for form inpurt.""" values = request.args.get(argument.name, None) if values: try: return argument.coerce(values[0]) except formmethod.InputError: return values[0] return argument.default
4fcf3974af001e6becd57d1555de5170b6788478 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/4fcf3974af001e6becd57d1555de5170b6788478/form.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2366, 12, 2293, 16, 1237, 4672, 3536, 990, 460, 364, 646, 810, 12123, 924, 273, 590, 18, 1968, 18, 588, 12, 3446, 18, 529, 16, 599, 13, 309, 924, 30, 775, 30, 327, 1237, 18, 2894, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2366, 12, 2293, 16, 1237, 4672, 3536, 990, 460, 364, 646, 810, 12123, 924, 273, 590, 18, 1968, 18, 588, 12, 3446, 18, 529, 16, 599, 13, 309, 924, 30, 775, 30, 327, 1237, 18, 2894, ...
self.session.delete(crecs[0]) self.session.delete(c) self.session.flush()
self.objectstore.delete(crecs[0]) self.objectstore.delete(c) self.objectstore.flush()
def test_duplicate_password_reset(self): """Try to reset a password twice.
6464a88622de6213e0c72b0c4204ad3f2f8d3651 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/6464a88622de6213e0c72b0c4204ad3f2f8d3651/test_account.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 17342, 67, 3664, 67, 6208, 12, 2890, 4672, 3536, 7833, 358, 2715, 279, 2201, 13605, 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, ...
[ 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 17342, 67, 3664, 67, 6208, 12, 2890, 4672, 3536, 7833, 358, 2715, 279, 2201, 13605, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.lock.acquire()
def readline(self): #check data for a full line (terminated by \n or EOF) #if the line is there, extract it and return #if not a complete line, set a request for input from the client # with a hint containing the current data in the line # then wait on a mutex ## TODO: Could optionally raise a keyboard interrupt whil...
8bda109ca69a3384eb0e570c4fc302015e431e46 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2579/8bda109ca69a3384eb0e570c4fc302015e431e46/interp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12023, 12, 2890, 4672, 468, 1893, 501, 364, 279, 1983, 980, 261, 29133, 635, 521, 82, 578, 6431, 13, 468, 430, 326, 980, 353, 1915, 16, 2608, 518, 471, 327, 468, 430, 486, 279, 3912, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12023, 12, 2890, 4672, 468, 1893, 501, 364, 279, 1983, 980, 261, 29133, 635, 521, 82, 578, 6431, 13, 468, 430, 326, 980, 353, 1915, 16, 2608, 518, 471, 327, 468, 430, 486, 279, 3912, ...
if action.startswith("no"):
if action.startswith("un"):
def filter_message(msg, mgr, all_actions=True): config = mgr.config.filter prob = mgr.score(msg) prob_perc = prob * 100 if prob_perc >= config.spam_threshold: disposition = "Yes" attr_prefix = "spam" elif prob_perc >= config.unsure_threshold: disposition = "Unsure" attr_prefix = "unsure" else: disposition = "No" attr_p...
1f9cf1101e0b2ee8dbd377e8413887769d5bdc80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/1f9cf1101e0b2ee8dbd377e8413887769d5bdc80/filter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1034, 67, 2150, 12, 3576, 16, 13333, 16, 777, 67, 4905, 33, 5510, 4672, 642, 273, 13333, 18, 1425, 18, 2188, 3137, 273, 13333, 18, 6355, 12, 3576, 13, 3137, 67, 457, 71, 273, 3137, 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, 1034, 67, 2150, 12, 3576, 16, 13333, 16, 777, 67, 4905, 33, 5510, 4672, 642, 273, 13333, 18, 1425, 18, 2188, 3137, 273, 13333, 18, 6355, 12, 3576, 13, 3137, 67, 457, 71, 273, 3137, 3...
self.supports_cast = (self.dbapi is None or vers(self.dbapi.sqlite_version) >= vers("3.2.3"))
def vers(num): return tuple([int(x) for x in num.split('.')])
448b3a22bedd02f9605b542940de26aa796ae564 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1074/448b3a22bedd02f9605b542940de26aa796ae564/sqlite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14690, 12, 2107, 4672, 327, 3193, 3816, 474, 12, 92, 13, 364, 619, 316, 818, 18, 4939, 2668, 1093, 13, 5717, 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, 14690, 12, 2107, 4672, 327, 3193, 3816, 474, 12, 92, 13, 364, 619, 316, 818, 18, 4939, 2668, 1093, 13, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not context:
if context is None:
def search(self, cr, user, args, offset=0, limit=None, order=None, context=None, count=False): """ Search for record/s with or without domain
3ec15857cea8a0a5417e2549350ab7f13b2efc04 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/3ec15857cea8a0a5417e2549350ab7f13b2efc04/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 2890, 16, 4422, 16, 729, 16, 833, 16, 1384, 33, 20, 16, 1800, 33, 7036, 16, 1353, 33, 7036, 16, 819, 33, 7036, 16, 1056, 33, 8381, 4672, 3536, 5167, 364, 1409, 19, 87, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1623, 12, 2890, 16, 4422, 16, 729, 16, 833, 16, 1384, 33, 20, 16, 1800, 33, 7036, 16, 1353, 33, 7036, 16, 819, 33, 7036, 16, 1056, 33, 8381, 4672, 3536, 5167, 364, 1409, 19, 87, 59...
flush_header_t = ('header',language["route_flush"])
flush_header_t = ('header', language["route_flush"])
def __init__(self,body,pos,ui,dbus=None): global daemon, wireless, wired
4fa245b79a41a22da17ae3febbf053c5dd751a5f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12280/4fa245b79a41a22da17ae3febbf053c5dd751a5f/prefs_curses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3432, 16, 917, 16, 4881, 16, 1966, 407, 33, 7036, 4672, 2552, 8131, 16, 6636, 2656, 16, 341, 2921, 2, 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, 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, 3432, 16, 917, 16, 4881, 16, 1966, 407, 33, 7036, 4672, 2552, 8131, 16, 6636, 2656, 16, 341, 2921, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
new = planet()
new = Planet()
def setup(): "Prepare to play, set up cosmos." w = coord() # Decide how many of everything if choose(): return # frozen game # Prepare the Enterprise game.alldone = game.gamewon = game.shldchg = game.shldup = False game.ship = 'E' game.state.crew = FULLCREW game.energy = game.inenrg = 5000.0 game.shield = game.inshld ...
e571d502c19abfb5a3320300c347793da7b43d05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3176/e571d502c19abfb5a3320300c347793da7b43d05/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13332, 315, 7543, 358, 6599, 16, 444, 731, 4987, 26719, 1199, 341, 273, 2745, 1435, 468, 225, 3416, 831, 3661, 4906, 434, 7756, 309, 9876, 13332, 327, 468, 12810, 7920, 468, 7730, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13332, 315, 7543, 358, 6599, 16, 444, 731, 4987, 26719, 1199, 341, 273, 2745, 1435, 468, 225, 3416, 831, 3661, 4906, 434, 7756, 309, 9876, 13332, 327, 468, 12810, 7920, 468, 7730, ...
sql = "INSERT INTO %s (%s) VALUES (%s)" %(self.name, ",".join(ks),",".join(vals))
s1 = ",".join(ks) s2 = ",".join(vals) sql = "INSERT INTO %s (%s) VALUES (%s)" %(self.name,s1,s2)
def insert(self,*args,**kw): """Insert a record in the database Parameters can be positional or keyword arguments. If positional they must be in the same order as in the create() method If some of the fields are missing the value is set to None Returns the record identifier """ if args: kw = dict([(f,arg) for f,arg in ...
1e2c6f6403a0572c5afe29309a56e11888cd03bf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6310/1e2c6f6403a0572c5afe29309a56e11888cd03bf/SQLite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 12, 2890, 16, 14, 1968, 16, 636, 9987, 4672, 3536, 4600, 279, 1409, 316, 326, 2063, 7012, 848, 506, 16780, 578, 4932, 1775, 18, 971, 16780, 2898, 1297, 506, 316, 326, 1967, 1353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2243, 12, 2890, 16, 14, 1968, 16, 636, 9987, 4672, 3536, 4600, 279, 1409, 316, 326, 2063, 7012, 848, 506, 16780, 578, 4932, 1775, 18, 971, 16780, 2898, 1297, 506, 316, 326, 1967, 1353, ...
tool.Inventory(bundle)
tool.Inventory([bundle])
def Install(self): '''Install all entries''' self.DispatchInstallCalls(self.whitelist) if self.modified: # Handle Bundle interdeps mods = self.modified mbundles = [struct for struct in self.config if struct.tag == 'Bundle' and \ [mod for mod in mods if mod in struct]] if mbundles: self.logger.info("The Following Bundle...
e916dbf04f641631dabc5b48d3269748c099a4b7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11867/e916dbf04f641631dabc5b48d3269748c099a4b7/Frame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10284, 12, 2890, 4672, 9163, 6410, 777, 3222, 26418, 365, 18, 5325, 6410, 10125, 12, 2890, 18, 20409, 13, 309, 365, 18, 7342, 30, 468, 5004, 8539, 1554, 14877, 15546, 273, 365, 18, 7342,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10284, 12, 2890, 4672, 9163, 6410, 777, 3222, 26418, 365, 18, 5325, 6410, 10125, 12, 2890, 18, 20409, 13, 309, 365, 18, 7342, 30, 468, 5004, 8539, 1554, 14877, 15546, 273, 365, 18, 7342,...
for i in xrange(40): all += Object('toto%5d' % i, 'toto.c') all+= Command( 'broken', 'toto.c', explode)
all.extend(Command( 'broken', 'toto.c', explode))
def explode(env, target, source): os.killpg(0, signal.SIGINT)
b70b67a9c21cad81241307236bedee1f0256fcd8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12817/b70b67a9c21cad81241307236bedee1f0256fcd8/KeyboardInterrupt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3172, 12, 3074, 16, 1018, 16, 1084, 4672, 1140, 18, 16418, 8365, 12, 20, 16, 4277, 18, 18513, 3217, 13, 225, 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, 3172, 12, 3074, 16, 1018, 16, 1084, 4672, 1140, 18, 16418, 8365, 12, 20, 16, 4277, 18, 18513, 3217, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
SimpleActionState('detect_handle', DoorAction, goal_slots = ['door'], result_slots = ['door']),
SimpleActionState('detect_handle', DoorAction, goal_slots = ['door'],
def detect_door_result_cb(ud, status, result): if status == GoalStatus.SUCCEEDED: if result.door.latch_state == Door.UNLATCHED: return 'unlatched' else: return 'closed' return 'aborted'
22bf1c631140e70f42912797a2f1dfea01fa1768 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9841/22bf1c631140e70f42912797a2f1dfea01fa1768/executive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 2896, 280, 67, 2088, 67, 7358, 12, 1100, 16, 1267, 16, 563, 4672, 309, 1267, 422, 4220, 287, 1482, 18, 6639, 39, 26031, 30, 309, 563, 18, 2896, 280, 18, 80, 505, 67, 2019, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5966, 67, 2896, 280, 67, 2088, 67, 7358, 12, 1100, 16, 1267, 16, 563, 4672, 309, 1267, 422, 4220, 287, 1482, 18, 6639, 39, 26031, 30, 309, 563, 18, 2896, 280, 18, 80, 505, 67, 2019, ...
self._AttemptRebase(upstream_branch, files, verbose=options.verbose,
self._AttemptRebase(upstream_branch, files, options,
def update(self, options, args, file_list): """Runs git to update or transparently checkout the working copy.
e603c688da503d6a6db9690684aa49a1b2a54706 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/e603c688da503d6a6db9690684aa49a1b2a54706/gclient_scm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 702, 16, 833, 16, 585, 67, 1098, 4672, 3536, 9361, 5071, 358, 1089, 578, 17270, 715, 13926, 326, 5960, 1610, 18, 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, 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, 1089, 12, 2890, 16, 702, 16, 833, 16, 585, 67, 1098, 4672, 3536, 9361, 5071, 358, 1089, 578, 17270, 715, 13926, 326, 5960, 1610, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
% ('0.3.3', __version__)
% ('0.3.9', __version__)
def render(self, req, mimetype, content, filename=None, rev=None): try: from docutils import nodes from docutils.core import publish_string from docutils.parsers import rst from docutils import __version__ except ImportError: raise TracError, 'Docutils not found' if StrictVersion(__version__) < StrictVersion('0.3.3'): ...
001bc5b2e57f5bd8d7a85bcdfbfe3d8e58ea8bf4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/001bc5b2e57f5bd8d7a85bcdfbfe3d8e58ea8bf4/rst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1111, 16, 12595, 16, 913, 16, 1544, 33, 7036, 16, 5588, 33, 7036, 4672, 775, 30, 628, 997, 5471, 1930, 2199, 628, 997, 5471, 18, 3644, 1930, 3808, 67, 1080, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1743, 12, 2890, 16, 1111, 16, 12595, 16, 913, 16, 1544, 33, 7036, 16, 5588, 33, 7036, 4672, 775, 30, 628, 997, 5471, 1930, 2199, 628, 997, 5471, 18, 3644, 1930, 3808, 67, 1080, 628, ...
SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_syntax[30]>, line 1)
SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_syntax[31]>, line 1)
>>> def f(it, *varargs):
7602160c4ba3a0e106e33e34ec1ceef4ae274418 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7602160c4ba3a0e106e33e34ec1ceef4ae274418/test_syntax.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 284, 12, 305, 16, 380, 1401, 1968, 4672, 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,...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 284, 12, 305, 16, 380, 1401, 1968, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
slistbox ScrolledListBox tick Button } cross Button } present if created with the fancy option"""
slistbox ScrolledListBox tick Button cross Button : present if created with the fancy option"""
def invoke(self, name): if self.subwidget_list.has_key(name): self.tk.call(self._w, 'invoke', name)
01c920b9b56baabd2e1dd945affd1c17c1669b20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/01c920b9b56baabd2e1dd945affd1c17c1669b20/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4356, 12, 2890, 16, 508, 4672, 309, 365, 18, 1717, 6587, 67, 1098, 18, 5332, 67, 856, 12, 529, 4672, 365, 18, 16099, 18, 1991, 12, 2890, 6315, 91, 16, 296, 14407, 2187, 508, 13, 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, 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, 4356, 12, 2890, 16, 508, 4672, 309, 365, 18, 1717, 6587, 67, 1098, 18, 5332, 67, 856, 12, 529, 4672, 365, 18, 16099, 18, 1991, 12, 2890, 6315, 91, 16, 296, 14407, 2187, 508, 13, 2, ...
varname = DottedName(name, var_doc.name)
def _assign_canonical_names(self, val_doc, name, score=0): """ Assign a canonical name to C{val_doc} (if it doesn't have one already), and (recursively) to each variable in C{val_doc}. In particular, C{val_doc} will be assigned the canonical name C{name} iff either: - C{val_doc}'s canonical name is C{UNKNOWN}; or - C{v...
379b704fe69b6fec075d81a9962a3ce010f19e8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/379b704fe69b6fec075d81a9962a3ce010f19e8e/docindexer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6145, 67, 18288, 67, 1973, 12, 2890, 16, 1244, 67, 2434, 16, 508, 16, 4462, 33, 20, 4672, 3536, 12093, 279, 7378, 508, 358, 385, 95, 1125, 67, 2434, 97, 261, 430, 518, 3302, 140...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6145, 67, 18288, 67, 1973, 12, 2890, 16, 1244, 67, 2434, 16, 508, 16, 4462, 33, 20, 4672, 3536, 12093, 279, 7378, 508, 358, 385, 95, 1125, 67, 2434, 97, 261, 430, 518, 3302, 140...
if (i % 2): table += '<tr style="background-color: rgb(153, 255, 255);">'
if grb.has_data: coldef = '153, 255, 255'
def add_linked_value(table, value, ref): if value>0: if ref>0: table = add(table, '<a href="http://gcn.gsfc.nasa.gov/gcn3/%d.gcn3">%.2f</a>' % (ref, value)) else: table = add(table, '%.2f' % value) else: table = add(table, '&mdash') return table
49433c72fbd74772bdd0097fb2679094b1f8a56f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/49433c72fbd74772bdd0097fb2679094b1f8a56f/pylal_exttrig_llutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 17738, 67, 1132, 12, 2121, 16, 460, 16, 1278, 4672, 309, 460, 34, 20, 30, 309, 1278, 34, 20, 30, 1014, 273, 527, 12, 2121, 16, 2368, 69, 3897, 1546, 2505, 2207, 75, 10305, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 67, 17738, 67, 1132, 12, 2121, 16, 460, 16, 1278, 4672, 309, 460, 34, 20, 30, 309, 1278, 34, 20, 30, 1014, 273, 527, 12, 2121, 16, 2368, 69, 3897, 1546, 2505, 2207, 75, 10305, ...
SqlCommand = """select max(ID) from %s""" % self.Table
SqlCommand = """select max(ID) from %s""" % self.Table
def GetId(self): SqlCommand = """select max(ID) from %s""" % self.Table Record = self.Cur.execute(SqlCommand).fetchall() Id = Record[0][0] if Id == None: Id = self.IdBase return Id
3592477b478c77d2b83738ccc27f41d76c723448 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/914/3592477b478c77d2b83738ccc27f41d76c723448/MetaDataTable.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31857, 12, 2890, 4672, 8855, 2189, 273, 3536, 4025, 943, 12, 734, 13, 628, 738, 87, 8395, 738, 365, 18, 1388, 5059, 273, 365, 18, 2408, 18, 8837, 12, 5101, 2189, 2934, 5754, 454, 1435,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31857, 12, 2890, 4672, 8855, 2189, 273, 3536, 4025, 943, 12, 734, 13, 628, 738, 87, 8395, 738, 365, 18, 1388, 5059, 273, 365, 18, 2408, 18, 8837, 12, 5101, 2189, 2934, 5754, 454, 1435,...
SeleniumServer.__inst = SeleniumServer.__impl(config)
SeleniumServer.__inst = SeleniumServer.__impl(config, simulate, logger)
def __init__(self, config={}): # Check whether we already have an instance if SeleniumServer.__inst is None: SeleniumServer.__inst = SeleniumServer.__impl(config)
67e32a34117a00a342fb153c2d5b24bda915d7b4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/67e32a34117a00a342fb153c2d5b24bda915d7b4/seleniumserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 12938, 4672, 468, 2073, 2856, 732, 1818, 1240, 392, 791, 309, 4352, 17327, 2081, 16186, 8591, 353, 599, 30, 4352, 17327, 2081, 16186, 8591, 273, 4352, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 2890, 16, 642, 12938, 4672, 468, 2073, 2856, 732, 1818, 1240, 392, 791, 309, 4352, 17327, 2081, 16186, 8591, 353, 599, 30, 4352, 17327, 2081, 16186, 8591, 273, 4352, ...
(ph.freeze(), instanceId,
(ph.freeze(), instanceId,
def migrate(self): from conary import trove cu = self.cu logMe(3, "Fixing NULL path hashes...") cu.execute("SELECT instanceId FROM TroveInfo " "WHERE data IS NULL and infotype = ?", trove._TROVEINFO_TAG_PATH_HASHES) cu2 = self.db.cursor() for instanceId, in cu: cu2.execute("SELECT path FROM TroveFiles WHERE instanceId...
08b788b735e532a2e9fade2921e956446ed9ccea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/08b788b735e532a2e9fade2921e956446ed9ccea/schema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 4672, 628, 225, 356, 814, 1930, 23432, 537, 15985, 273, 365, 18, 6319, 613, 4667, 12, 23, 16, 315, 8585, 310, 3206, 589, 9869, 7070, 13, 15985, 18, 8837, 2932, 4803, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13187, 12, 2890, 4672, 628, 225, 356, 814, 1930, 23432, 537, 15985, 273, 365, 18, 6319, 613, 4667, 12, 23, 16, 315, 8585, 310, 3206, 589, 9869, 7070, 13, 15985, 18, 8837, 2932, 4803, 1...
val = neg + mode + val
val = mode + val
def from_string(cls, env, string, **kw): filters = string.split('&') kw_strs = ['order', 'group', 'page', 'max'] kw_arys = ['rows'] kw_bools = ['desc', 'groupdesc', 'verbose'] synonyms = TicketSystem(env).get_field_synonyms() constraints = {} cols = [] for filter_ in filters: filter_ = filter_.split('=') if len(filter_...
be54a367c165cd6e5e36d04dd2522e0a86862c55 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9317/be54a367c165cd6e5e36d04dd2522e0a86862c55/query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 628, 67, 1080, 12, 6429, 16, 1550, 16, 533, 16, 2826, 9987, 4672, 3415, 273, 533, 18, 4939, 2668, 10, 6134, 5323, 67, 24432, 273, 10228, 1019, 2187, 296, 1655, 2187, 296, 2433, 2187, 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, 628, 67, 1080, 12, 6429, 16, 1550, 16, 533, 16, 2826, 9987, 4672, 3415, 273, 533, 18, 4939, 2668, 10, 6134, 5323, 67, 24432, 273, 10228, 1019, 2187, 296, 1655, 2187, 296, 2433, 2187, 2...
"""Format a Decimal class according to the given specifier.
"""Format a Decimal instance according to the given specifier.
def __format__(self, specifier, context=None): """Format a Decimal class according to the given specifier.
f4da77765f8581e31620e9f49c68028e57b0ae85 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/f4da77765f8581e31620e9f49c68028e57b0ae85/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2139, 972, 12, 2890, 16, 24562, 16, 819, 33, 7036, 4672, 3536, 1630, 279, 11322, 667, 4888, 358, 326, 864, 24562, 18, 2, 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, 1001, 2139, 972, 12, 2890, 16, 24562, 16, 819, 33, 7036, 4672, 3536, 1630, 279, 11322, 667, 4888, 358, 326, 864, 24562, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
If the command needs input, it can be defined with the `stdin` argument. It is not possible to give input to the command later.
If the command needs input, it can be defined with the `stdin` argument. It is not possible to give input to the command later.
def start_process(self, command, stdin='', alias=None): """Starts the given command as a background process. Starts the process in the background and sets this process as the current process. The following calls of the keywords `Read Process Output` and `Stop Process` affect this process, unless the keyword `Switch Pr...
6f8bd1e5c5b0db8d92d174d89dc27677542321fb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/6f8bd1e5c5b0db8d92d174d89dc27677542321fb/OperatingSystem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2567, 12, 2890, 16, 1296, 16, 8801, 2218, 2187, 2308, 33, 7036, 4672, 3536, 11203, 326, 864, 1296, 487, 279, 5412, 1207, 18, 225, 30620, 326, 1207, 316, 326, 5412, 471, 1678, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 787, 67, 2567, 12, 2890, 16, 1296, 16, 8801, 2218, 2187, 2308, 33, 7036, 4672, 3536, 11203, 326, 864, 1296, 487, 279, 5412, 1207, 18, 225, 30620, 326, 1207, 316, 326, 5412, 471, 1678, ...
NSApp = rt.NSApplication.sharedApplication()
def main(): pool = rt.NSAutoreleasePool() # Load Application Framework: rt.NSBundle.bundleWithPath_( '/System/Library/Frameworks/AppKit.framework').load() NSApp = rt.NSApplication.sharedApplication() win = rt.NSWindow.alloc() frame = ((200.0, 300.0), (250.0, 100.0)) win.initWithContentRect_styleMask_backing_defer_ ...
bfc21dbdbfe71c52cb450ccf5573e49738f63807 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/97/bfc21dbdbfe71c52cb450ccf5573e49738f63807/HelloWorld.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 2845, 273, 8253, 18, 3156, 7150, 479, 2508, 2864, 1435, 225, 468, 4444, 4257, 13472, 30, 8253, 18, 3156, 3405, 18, 9991, 1190, 743, 67, 12, 1173, 3163, 19, 9313, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2774, 13332, 225, 2845, 273, 8253, 18, 3156, 7150, 479, 2508, 2864, 1435, 225, 468, 4444, 4257, 13472, 30, 8253, 18, 3156, 3405, 18, 9991, 1190, 743, 67, 12, 1173, 3163, 19, 9313, 19, ...
if len(output) > MAX_OUTPUT:
if len(output) > MAX_OUTPUT or output.count('\n') > MAX_OUTPUT_LINES:
def set_output_text(self, output, html, sage=None): if output.count('<?__SAGE__TEXT>') > 1: html = '<h3><font color="red">WARNING: multiple @interacts in one cell disabled (not yet implemented).</font></h3>' output = ''
1f91af200ecd331f4bd5314a6dfe9593a9d0244d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/1f91af200ecd331f4bd5314a6dfe9593a9d0244d/cell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2844, 67, 955, 12, 2890, 16, 876, 16, 1729, 16, 272, 410, 33, 7036, 4672, 309, 876, 18, 1883, 2668, 12880, 972, 55, 2833, 972, 5151, 1870, 13, 405, 404, 30, 1729, 273, 2368,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 67, 2844, 67, 955, 12, 2890, 16, 876, 16, 1729, 16, 272, 410, 33, 7036, 4672, 309, 876, 18, 1883, 2668, 12880, 972, 55, 2833, 972, 5151, 1870, 13, 405, 404, 30, 1729, 273, 2368,...
return dragatoms, baggage, dragchunks
assert len(fastatoms) == len(dragatoms) + sum([len(chunk.atoms) for chunk in dragchunks]) return dragatoms, slowatoms.values(), dragchunks
def doit(at): mol = at.molecule atoms = atomsets.setdefault(id(mol), {}) # dragged atoms which are in this mol, so far, as atom.key -> atom atoms[at.key] = at # atoms serves later to count them, to let us make fragments, and to identify the source mol
a4a3d79e9974a332eb95fe63b46876035a4c80ae /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/a4a3d79e9974a332eb95fe63b46876035a4c80ae/selectMode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 305, 12, 270, 4672, 12629, 273, 622, 18, 81, 10545, 9006, 273, 3179, 4424, 18, 542, 1886, 12, 350, 12, 21260, 3631, 2618, 13, 468, 8823, 2423, 9006, 1492, 854, 316, 333, 12629, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 305, 12, 270, 4672, 12629, 273, 622, 18, 81, 10545, 9006, 273, 3179, 4424, 18, 542, 1886, 12, 350, 12, 21260, 3631, 2618, 13, 468, 8823, 2423, 9006, 1492, 854, 316, 333, 12629, 16...
self.doLaterList.add(task)
index = self.doLaterList.add(task)
def __spawnDoLater(self, task): assert(TaskManager.notify.debug('spawning doLater: %s' % (task))) # Add this task to the nameDict nameList = self.nameDict.setdefault(task.name, []) nameList.append(task) # be sure to ask the globalClock for the current frame time # rather than use a cached value; globalClock's frame tim...
9e78047e75d44864814284b16739c72c82e0d98d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/9e78047e75d44864814284b16739c72c82e0d98d/Task.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1752, 9533, 3244, 20607, 12, 2890, 16, 1562, 4672, 1815, 12, 2174, 1318, 18, 12336, 18, 4148, 2668, 1752, 2219, 2093, 741, 20607, 30, 738, 87, 11, 738, 261, 4146, 20349, 468, 1436,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1752, 9533, 3244, 20607, 12, 2890, 16, 1562, 4672, 1815, 12, 2174, 1318, 18, 12336, 18, 4148, 2668, 1752, 2219, 2093, 741, 20607, 30, 738, 87, 11, 738, 261, 4146, 20349, 468, 1436,...
'res_model': self.ressource[0], 'res_id': self.ressource[1],
'res_model': self.resource[0], 'res_id': self.resource[1],
def _sig_link(self, widget): filename = common.file_selection(_('Select file'), parent=self.win) if not filename: return try: if filename: fname = os.path.basename(filename) args = ('object', 'execute', 'ir.attachment', 'create', { 'name': fname, 'res_model': self.ressource[0], 'res_id': self.ressource[1], 'link': file...
bac16d4eaf047074802febdef71309d975cf8061 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/bac16d4eaf047074802febdef71309d975cf8061/attachment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7340, 67, 1232, 12, 2890, 16, 3604, 4672, 1544, 273, 2975, 18, 768, 67, 10705, 24899, 2668, 3391, 585, 19899, 982, 33, 2890, 18, 8082, 13, 309, 486, 1544, 30, 327, 775, 30, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7340, 67, 1232, 12, 2890, 16, 3604, 4672, 1544, 273, 2975, 18, 768, 67, 10705, 24899, 2668, 3391, 585, 19899, 982, 33, 2890, 18, 8082, 13, 309, 486, 1544, 30, 327, 775, 30, 309, ...
self.queueStringCommand(command).addErrback(self.fail)
self.queueStringCommand(command, public=0).addErrback(self.fail)
def queueLogin(self): """Initialise the connection.
10f1a9e0ff16a1ec1371e9a9174eb2e0fcc81c0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/10f1a9e0ff16a1ec1371e9a9174eb2e0fcc81c0b/ftp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2389, 5358, 12, 2890, 4672, 3536, 4435, 784, 326, 1459, 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, 0, 0, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2389, 5358, 12, 2890, 4672, 3536, 4435, 784, 326, 1459, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
var_list = [v for v in var_list if v.is_imported is True]
var_list = [v for v in var_list if v.is_inherited is True]
def select_variables(self, group=None, value_type=None, inherited=None, public=None, imported=None): """ Return a specified subset of this class's L{sorted_variables} list. If C{value_type} is given, then only return variables whose values have the specified type. If C{group} is given, then only return variables that...
a31498ac27063c18b41430e7c078ea8b94bb718e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/a31498ac27063c18b41430e7c078ea8b94bb718e/apidoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 67, 7528, 12, 2890, 16, 1041, 33, 7036, 16, 460, 67, 723, 33, 7036, 16, 12078, 33, 7036, 16, 1071, 33, 7036, 16, 9101, 33, 7036, 4672, 3536, 2000, 279, 1269, 7931, 434, 333, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2027, 67, 7528, 12, 2890, 16, 1041, 33, 7036, 16, 460, 67, 723, 33, 7036, 16, 12078, 33, 7036, 16, 1071, 33, 7036, 16, 9101, 33, 7036, 4672, 3536, 2000, 279, 1269, 7931, 434, 333, 66...
'\rRegion (%+03.0f/%+03.0f S/N %+04.0f/%+04.0f W/E): %d empty cells.\n' % (tuple(box) + (n_empty_cells,)))
'\rRegion (%+03.0f/%+03.0f S/N %+04.0f/%+04.0f W/E): %d empty cell%s.\n' % (tuple(box) + (n_empty_cells,plural_suffix)))
def iter_subbox_grid(station_records, max_months, first_year, radius): """Convert the input *station_records*, into a gridded anomaly dataset which is returned as an iterator. *max_months* is the maximum number of months in any station record. *first_year* is the first year in the dataset. *radius* is the combining ...
203866b6b82b8ed20bc7ad44b7213be5111f7dd2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6890/203866b6b82b8ed20bc7ad44b7213be5111f7dd2/step3.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 1717, 2147, 67, 5222, 12, 17894, 67, 7094, 16, 943, 67, 27584, 16, 1122, 67, 6874, 16, 5725, 4672, 3536, 2723, 326, 810, 380, 17894, 67, 7094, 14, 16, 1368, 279, 3068, 785, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 67, 1717, 2147, 67, 5222, 12, 17894, 67, 7094, 16, 943, 67, 27584, 16, 1122, 67, 6874, 16, 5725, 4672, 3536, 2723, 326, 810, 380, 17894, 67, 7094, 14, 16, 1368, 279, 3068, 785, ...
this = apply(_quickfix.new_StrikeMultiplier, args)
this = _quickfix.new_StrikeMultiplier(*args)
def __init__(self, *args): this = apply(_quickfix.new_StrikeMultiplier, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1585, 2547, 23365, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 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, 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, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1585, 2547, 23365, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
mn.pluralequation ='(n != 1)'
mn.pluralequation = '(n != 1)'
def create_default_languages(): from pootle_app.core import Language af = Language(code="af") af.fullname = u"Afrikaans" af.specialchars = u"ëïêôûáéíóúý" af.nplurals = '2' af.pluralequation = "(n != 1)" af.save()
705dd9e8bba1245496893550d0b060f0049a0893 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/705dd9e8bba1245496893550d0b060f0049a0893/initdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1886, 67, 14045, 13332, 628, 293, 1632, 298, 67, 2910, 18, 3644, 1930, 9889, 225, 10073, 273, 9889, 12, 710, 1546, 1727, 7923, 10073, 18, 21885, 273, 582, 6, 12664, 566, 7282, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 1886, 67, 14045, 13332, 628, 293, 1632, 298, 67, 2910, 18, 3644, 1930, 9889, 225, 10073, 273, 9889, 12, 710, 1546, 1727, 7923, 10073, 18, 21885, 273, 582, 6, 12664, 566, 7282, ...
s = s + '<a href="/channel/?ref=' + ref + '">' + name + '</a>'
s = s + '<a href="/channel?ref=' + ref + '">' + name + '</a>'
def render(self, req): s = '<br/>'
03455b02a8d76c3dcd90a8fa9bb3fe4f47b04f11 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12172/03455b02a8d76c3dcd90a8fa9bb3fe4f47b04f11/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1111, 4672, 272, 273, 2368, 2848, 18280, 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, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1111, 4672, 272, 273, 2368, 2848, 18280, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if isinstance(filename, str): filename = filename.encode(filesystemencoding)
assert isinstance(filename, str)
def askopenfile(self): dir, base = self.defaultfilename("open") if not self.opendialog: self.opendialog = tkFileDialog.Open(master=self.text, filetypes=self.filetypes) filename = self.opendialog.show(initialdir=dir, initialfile=base) if isinstance(filename, str): filename = filename.encode(filesystemencoding) return fi...
64663ca9ca89d89a4f520f3d755de4fbbb0ec79c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/64663ca9ca89d89a4f520f3d755de4fbbb0ec79c/IOBinding.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6827, 3190, 768, 12, 2890, 4672, 1577, 16, 1026, 273, 365, 18, 1886, 3459, 2932, 3190, 7923, 309, 486, 365, 18, 556, 409, 3529, 30, 365, 18, 556, 409, 3529, 273, 13030, 812, 6353, 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, 6827, 3190, 768, 12, 2890, 4672, 1577, 16, 1026, 273, 365, 18, 1886, 3459, 2932, 3190, 7923, 309, 486, 365, 18, 556, 409, 3529, 30, 365, 18, 556, 409, 3529, 273, 13030, 812, 6353, 18, ...
sage: maxima.gcd._sage_doc_()
sage: maxima.gcd._sage_doc_()
def _sage_doc_(self): """ EXAMPLES: sage: maxima.gcd._sage_doc_() #not tested -- Function: gcd (<p_1>, <p_2>, <x_1>, ...) ... """ M = self._parent return M.help(self._name)
327892a197ad345f40545c760b7d91fabbe80a24 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/327892a197ad345f40545c760b7d91fabbe80a24/maxima.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 87, 410, 67, 2434, 67, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 943, 13888, 18, 75, 4315, 6315, 87, 410, 67, 2434, 67, 1435, 468, 902, 18432, 1493, 4284, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 87, 410, 67, 2434, 67, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 943, 13888, 18, 75, 4315, 6315, 87, 410, 67, 2434, 67, 1435, 468, 902, 18432, 1493, 4284, 30, 1...
"""
"""Controls the view access to parts of the repository.
def __str__(self): return self.action
0091f73d9ddb2e28de9da1a025ba0c0cfaf2b458 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/0091f73d9ddb2e28de9da1a025ba0c0cfaf2b458/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 1128, 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, ...
[ 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, 1128, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if (OMIT.count("HELIX")==0): WARNINGS.append("HELIX is currently nonoperational") WARNINGS.append("I have automatically added this command-line option: --no-helix") OMIT.append("HELIX") if (os.path.isdir(os.path.join(THIRDPARTY, "win-libs-vc7", "miles"))==0): if (OMIT.count("MILES")==0): WARNINGS.append("You do ...
PANDAVERSION_H="""
def LocateVisualStudio(): # Try to use the Visual Toolkit 2003 if (os.environ.has_key("VCTOOLKITINSTALLDIR")): vcdir = os.environ["VCTOOLKITINSTALLDIR"] platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3", "Install Dir") if (platsdk == 0): exit("Found VC Tool...
8f86705296f973090fc3f2bedce1bf0e6e54e9f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/8f86705296f973090fc3f2bedce1bf0e6e54e9f6/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2851, 340, 25780, 510, 4484, 13332, 225, 468, 6161, 358, 999, 326, 26832, 13288, 8691, 4044, 23, 309, 261, 538, 18, 28684, 18, 5332, 67, 856, 2932, 58, 1268, 51, 1741, 47, 1285, 28865, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2851, 340, 25780, 510, 4484, 13332, 225, 468, 6161, 358, 999, 326, 26832, 13288, 8691, 4044, 23, 309, 261, 538, 18, 28684, 18, 5332, 67, 856, 2932, 58, 1268, 51, 1741, 47, 1285, 28865, ...
args_gv = [v3, v4, rgenop.genconst(1)]
args_gv = [v3, v4, rgenop.genconst(True)]
#def dummyfn(counter, a, b):
b92bda44ed691d512251458db498d89907ee3cbc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/b92bda44ed691d512251458db498d89907ee3cbc/rgenop_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 9609, 4293, 12, 7476, 16, 279, 16, 324, 4672, 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, 468, 536, 9609, 4293, 12, 7476, 16, 279, 16, 324, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
@identity.require(identity.in_group('cvsextras', 'cvsadmin'))
@identity.require(identity.in_any_group('cvsextras', 'cvsadmin'))
def toggle_owner(self, containerId): # Check that the pkgid is orphaned pkg = model.PackageListing.get_by(id=containerId) if not pkg: return dict(status=False, message='No such package %s' % containerId) ### FIXME: We want to allow "admin" users to set orphan status as well. if pkg.owner == identity.current.user.user_...
5c83052d47da4dbdd7d70545008dd7d6ee9475e9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9953/5c83052d47da4dbdd7d70545008dd7d6ee9475e9/controllers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 8443, 12, 2890, 16, 27142, 4672, 225, 468, 2073, 716, 326, 3475, 350, 353, 31124, 3475, 273, 938, 18, 2261, 19081, 18, 588, 67, 1637, 12, 350, 33, 3782, 548, 13, 309, 486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10486, 67, 8443, 12, 2890, 16, 27142, 4672, 225, 468, 2073, 716, 326, 3475, 350, 353, 31124, 3475, 273, 938, 18, 2261, 19081, 18, 588, 67, 1637, 12, 350, 33, 3782, 548, 13, 309, 486, ...
sender, text = Utils.SnarfMessage(msg)
sender = msg.GetSender() filename = 'heldmsg-%s-%d.txt' % (self.internal_name(), id) omask = os.umask(002) try: fp = open(os.path.join(mm_cfg.DATA_DIR, filename), 'w') fp.write(str(msg)) fp.close() finally: os.umask(omask)
def HoldMessage(self, msg, reason): # assure that the database is open for writing self.__opendb() # get the next unique id id = self.__request_id() assert not self.__db.has_key(id) # flatten the message and suck out the sender address sender, text = Utils.SnarfMessage(msg) # save the information to the request databas...
af1fd3ec170fe88a3989e311b6a1288555faaeb3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/af1fd3ec170fe88a3989e311b6a1288555faaeb3/ListAdmin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 670, 1673, 1079, 12, 2890, 16, 1234, 16, 3971, 4672, 468, 1551, 594, 716, 326, 2063, 353, 1696, 364, 7410, 365, 16186, 556, 409, 70, 1435, 468, 336, 326, 1024, 3089, 612, 612, 273, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 670, 1673, 1079, 12, 2890, 16, 1234, 16, 3971, 4672, 468, 1551, 594, 716, 326, 2063, 353, 1696, 364, 7410, 365, 16186, 556, 409, 70, 1435, 468, 336, 326, 1024, 3089, 612, 612, 273, 365...