rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
output += "Ssuppression:\n"
output += "Suppression:\n"
def __str__(self): ''' Pretty print the type and backtrace(s) of this specific error, including suppression (which is just a mangled backtrace).''' output = self._kind + "\n" if (self._commandline): output += self._commandline + "\n"
d0eea339e6caed6c01c0229d2c11c4842f1d52eb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/d0eea339e6caed6c01c0229d2c11c4842f1d52eb/memcheck_analyze.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 9163, 22328, 1172, 326, 618, 471, 13902, 12, 87, 13, 434, 333, 2923, 555, 16, 6508, 1169, 1337, 261, 12784, 353, 2537, 279, 29674, 1259, 13902, 14851, 630...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 701, 972, 12, 2890, 4672, 9163, 22328, 1172, 326, 618, 471, 13902, 12, 87, 13, 434, 333, 2923, 555, 16, 6508, 1169, 1337, 261, 12784, 353, 2537, 279, 29674, 1259, 13902, 14851, 630...
list_title = self.getValueFor('title')
list_title = str(self.getValueFor('title'))
def create_mailableSubject(self, subject, include_listid=1): """ A helper method for tidying up the mailing list subject for remailing. """ # there is an assumption that if we're including a listid we should # strip any existing listid reference if include_listid: list_title = self.getValueFor('title') else: list_titl...
401b02466cc359907bc756ec9bc62eeb65bd362f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6274/401b02466cc359907bc756ec9bc62eeb65bd362f/XWFMailingList.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 81, 1751, 6638, 12, 2890, 16, 3221, 16, 2341, 67, 1098, 350, 33, 21, 4672, 3536, 432, 4222, 707, 364, 11594, 14946, 731, 326, 4791, 310, 666, 3221, 364, 849, 671, 310, 18, 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, 752, 67, 81, 1751, 6638, 12, 2890, 16, 3221, 16, 2341, 67, 1098, 350, 33, 21, 4672, 3536, 432, 4222, 707, 364, 11594, 14946, 731, 326, 4791, 310, 666, 3221, 364, 849, 671, 310, 18, 2...
if editing:
if editing and not do_print:
def html(self, ncols=0, do_print=False, do_math_parse=True, editing=False): """ Returns an HTML version of self as a string.
a3b2e55b2fd58511ceec0420bf9324b3fc734cdf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11792/a3b2e55b2fd58511ceec0420bf9324b3fc734cdf/cell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 12, 2890, 16, 21330, 33, 20, 16, 741, 67, 1188, 33, 8381, 16, 741, 67, 15949, 67, 2670, 33, 5510, 16, 15755, 33, 8381, 4672, 3536, 2860, 392, 3982, 1177, 434, 365, 487, 279, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 12, 2890, 16, 21330, 33, 20, 16, 741, 67, 1188, 33, 8381, 16, 741, 67, 15949, 67, 2670, 33, 5510, 16, 15755, 33, 8381, 4672, 3536, 2860, 392, 3982, 1177, 434, 365, 487, 279, 53...
approvedStatus = model.StatusTranslation.query.filter_by(
approvedStatus = model.StatusTranslation.filter_by(
def __json__(self): return {'owner' : self.owner, 'summary' : self.summary, 'cclist' : self.cclist, 'qacontact' : self.qacontact }
05ed49aa594373307cec49de741cdabff5009bec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9953/05ed49aa594373307cec49de741cdabff5009bec/acls.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1977, 972, 12, 2890, 4672, 327, 13666, 8443, 11, 294, 365, 18, 8443, 16, 296, 7687, 11, 294, 365, 18, 7687, 16, 296, 71, 830, 376, 11, 294, 365, 18, 71, 830, 376, 16, 296, 75...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1977, 972, 12, 2890, 4672, 327, 13666, 8443, 11, 294, 365, 18, 8443, 16, 296, 7687, 11, 294, 365, 18, 7687, 16, 296, 71, 830, 376, 11, 294, 365, 18, 71, 830, 376, 16, 296, 75...
self.fields['ship_country'] = forms.ChoiceField(choices=countries)
self.fields['ship_country'] = forms.ChoiceField(choices=countries, required=False)
def __init__(self, countries, areas, contact, *args, **kwargs): self.shippable = True if kwargs.has_key('shippable'): self.shippable = kwargs['shippable'] del(kwargs['shippable']) super(ContactInfoForm, self).__init__(*args, **kwargs) if areas is not None and countries is None: self.fields['state'] = forms.ChoiceField(...
16f414901e3addc9699915f1ba64c093271a258e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/171/16f414901e3addc9699915f1ba64c093271a258e/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 17603, 16, 15586, 16, 5388, 16, 380, 1968, 16, 2826, 4333, 4672, 365, 18, 3261, 19586, 273, 1053, 309, 1205, 18, 5332, 67, 856, 2668, 3261, 19586, 11, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17603, 16, 15586, 16, 5388, 16, 380, 1968, 16, 2826, 4333, 4672, 365, 18, 3261, 19586, 273, 1053, 309, 1205, 18, 5332, 67, 856, 2668, 3261, 19586, 11, 46...
raise MKCounterWrapped(countername)
raise MKCounterWrapped(countername, 'Counter initialization')
def get_counter(countername, this_time, this_val): global g_counters # First time we see this counter? Do not return # any data! if not countername in g_counters: g_counters[countername] = (this_time, this_val) # Do not suppress this check on check_mk -nv if opt_dont_submit: return 1.0, 0.0 raise MKCounterWrapped(coun...
b56d0ac6c8477ca1a5636755de25b9bb24d34a25 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5589/b56d0ac6c8477ca1a5636755de25b9bb24d34a25/check_mk_base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7476, 12, 7476, 529, 16, 333, 67, 957, 16, 333, 67, 1125, 4672, 2552, 314, 67, 23426, 225, 468, 5783, 813, 732, 2621, 333, 3895, 35, 2256, 486, 327, 468, 1281, 501, 5, 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, 336, 67, 7476, 12, 7476, 529, 16, 333, 67, 957, 16, 333, 67, 1125, 4672, 2552, 314, 67, 23426, 225, 468, 5783, 813, 732, 2621, 333, 3895, 35, 2256, 486, 327, 468, 1281, 501, 5, 309, ...
self.userNicknameCache.clear()
self.userNicknameCache.add(cacheKey, nickname)
def add_nickname(self, nickname): uq = UserQuery(self, self.zsqlalchemy) uq.add_nickname(nickname) m = 'add_nickname: Added nickname "%s" to %s (%s)' %\ (nickname, self.getProperty('fn', ''), self.getId()) log.info(m) self.userNicknameCache.clear()
70331476aa882559fb87159b4a6dbe3e5544a90c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6270/70331476aa882559fb87159b4a6dbe3e5544a90c/CustomUser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 17091, 529, 12, 2890, 16, 19570, 4672, 582, 85, 273, 2177, 1138, 12, 2890, 16, 365, 18, 94, 4669, 24182, 13, 582, 85, 18, 1289, 67, 17091, 529, 12, 17091, 529, 13, 312, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 17091, 529, 12, 2890, 16, 19570, 4672, 582, 85, 273, 2177, 1138, 12, 2890, 16, 365, 18, 94, 4669, 24182, 13, 582, 85, 18, 1289, 67, 17091, 529, 12, 17091, 529, 13, 312, 273,...
(self.device_name, self.device_name)
(self.device_name, str((config.JOY_DEV - 1)))
def __init__(self): plugin.DaemonPlugin.__init__(self)
0ca06c591b36b48cdc5fbd8ec1a2edae8a239545 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/0ca06c591b36b48cdc5fbd8ec1a2edae8a239545/joy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 1909, 18, 12858, 3773, 16186, 2738, 972, 12, 2890, 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,...
[ 1, 1, 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, 1001, 2738, 972, 12, 2890, 4672, 1909, 18, 12858, 3773, 16186, 2738, 972, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
raise ValueError("Cant find module for %r" % self._obj)
raise ValueError("Can't find module for %r" % self._obj)
def module(self): if not hasattr(self, '_module'): obj = self._obj typ = type(obj)
39553d71a9526086eba3011e50a8751439d26877 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/39553d71a9526086eba3011e50a8751439d26877/uid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1605, 12, 2890, 4672, 309, 486, 3859, 12, 2890, 16, 2070, 2978, 11, 4672, 1081, 273, 365, 6315, 2603, 3815, 273, 618, 12, 2603, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 1605, 12, 2890, 4672, 309, 486, 3859, 12, 2890, 16, 2070, 2978, 11, 4672, 1081, 273, 365, 6315, 2603, 3815, 273, 618, 12, 2603, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
outstr += '"%s"\n' % str(item).replace('"','""')
outstr += u'"%s"\n' % unicode(item).replace('"','""')
def run(self, path_to_output, opts, db): from calibre.utils.logging import Log
03c5a395f3f74199dbaa7968f18150e9d9aaf50b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/03c5a395f3f74199dbaa7968f18150e9d9aaf50b/catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 589, 67, 869, 67, 2844, 16, 1500, 16, 1319, 4672, 628, 26139, 266, 18, 5471, 18, 11167, 1930, 1827, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 589, 67, 869, 67, 2844, 16, 1500, 16, 1319, 4672, 628, 26139, 266, 18, 5471, 18, 11167, 1930, 1827, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
from zope.tal.xmlparser import XMLParser import logging def parseString(self, s): if isinstance(s, unicode): s = s.encode('utf-8') self.parser.Parse(s, 1) XMLParser.parseString = parseString logging.info('Monkeypatching zope.tal.xmlparser.XMLParser.parseString()')
def initialize(context): # Import lazily, and defer initialization to the module import ZopePageTemplate ZopePageTemplate.initialize(context)
c6810f41b57fc5b3e62bea3fa0f3b809c01a8a5c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9658/c6810f41b57fc5b3e62bea3fa0f3b809c01a8a5c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 2472, 4672, 468, 6164, 25047, 16, 471, 2220, 10313, 358, 326, 1605, 1930, 2285, 1306, 1964, 2283, 2285, 1306, 1964, 2283, 18, 11160, 12, 2472, 13, 282, 2, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 4046, 12, 2472, 4672, 468, 6164, 25047, 16, 471, 2220, 10313, 358, 326, 1605, 1930, 2285, 1306, 1964, 2283, 2285, 1306, 1964, 2283, 18, 11160, 12, 2472, 13, 282, 2, -100, -100, -100, -10...
return (r'^%s(?:(?P<ident>\d+)/?)?$', 'django_restapi.resource.dispatch' % base_url, {'resource' : self})
return (r'^%s(?:(?P<ident>\d+)/?)?$' % base_url, 'django_restapi.resource.dispatch', {'resource' : self})
def get_url_pattern(self, base_url): return (r'^%s(?:(?P<ident>\d+)/?)?$', 'django_restapi.resource.dispatch' % base_url, {'resource' : self})
9e904e1c9427393aeef222ffeede9c1fbc6867bc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12520/9e904e1c9427393aeef222ffeede9c1fbc6867bc/resource.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 718, 67, 4951, 12, 2890, 16, 1026, 67, 718, 4672, 327, 261, 86, 19856, 9, 87, 6503, 3680, 52, 32, 6392, 5333, 72, 6975, 19, 8535, 35, 9227, 738, 1026, 67, 718, 16, 296, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 718, 67, 4951, 12, 2890, 16, 1026, 67, 718, 4672, 327, 261, 86, 19856, 9, 87, 6503, 3680, 52, 32, 6392, 5333, 72, 6975, 19, 8535, 35, 9227, 738, 1026, 67, 718, 16, 296, 24...
if 'flags' in globals (): if flags.host: return flags.host elif flags.sandbox: return SANDBOX_PATH return FLUIDDB_PATH
if 'options' in globals(): host = options.hostname if options.verbose: print "Chosen %s as host" % host return host else: return FLUIDDB_PATH
def choose_host (): if 'flags' in globals (): if flags.host: return flags.host elif flags.sandbox: return SANDBOX_PATH return FLUIDDB_PATH
a258ae866ad40d7092b84a6b1737df504976b56c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12637/a258ae866ad40d7092b84a6b1737df504976b56c/fdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9876, 67, 2564, 1832, 30, 309, 296, 2116, 11, 316, 10941, 13332, 1479, 273, 702, 18, 10358, 309, 702, 18, 11369, 30, 1172, 315, 782, 8918, 738, 87, 487, 1479, 6, 738, 1479, 327, 1479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9876, 67, 2564, 1832, 30, 309, 296, 2116, 11, 316, 10941, 13332, 1479, 273, 702, 18, 10358, 309, 702, 18, 11369, 30, 1172, 315, 782, 8918, 738, 87, 487, 1479, 6, 738, 1479, 327, 1479, ...
output.write(">\n"); try: for field in self.idx.structs[name].info: desc = field[2] if desc == None: desc = '' else: desc = escape(desc) output.write(" <field name='%s' type='%s' info='%s'/>\n" % (field[1] , field[0], desc)) except: print "Failed to serialize struct %s" % (name) output.write(" </struct>\n") els...
output.write(">\n"); try: for field in self.idx.structs[name].info: desc = field[2] self.indexString(name, desc) if desc == None: desc = '' else: desc = escape(desc) output.write(" <field name='%s' type='%s' info='%s'/>\n" % (field[1] , field[0], desc)) except: print "Failed to serialize struct %s" % (name) output...
def serialize_typedef(self, output, name): id = self.idx.typedefs[name]
c7d1398e49a7858195b4b8e0b9832ded1fb9f169 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3857/c7d1398e49a7858195b4b8e0b9832ded1fb9f169/apibuild.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4472, 67, 723, 536, 12, 2890, 16, 876, 16, 508, 4672, 612, 273, 365, 18, 3465, 18, 723, 12537, 63, 529, 65, 2, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4472, 67, 723, 536, 12, 2890, 16, 876, 16, 508, 4672, 612, 273, 365, 18, 3465, 18, 723, 12537, 63, 529, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if self.current_room().name != 'Info':
else: info = self.current_room().add_info(_("Error: unknown command (%s)") % (command)) self.window.text_win.add_line(self.current_room(), (datetime.now(), info)) self.window.text_win.refresh(self.current_room().name) elif self.current_room().name != 'Info':
def execute(self): line = self.window.input.get_text() self.window.input.clear_text() self.window.input.refresh() curses.doupdate() if line == "": return if line.startswith('/'): command = line.strip()[:].split()[0][1:] args = line.strip()[:].split()[1:] if command in self.commands.keys(): func = self.commands[command]...
410c68c50d429e12fe3ade4100bfdb71d333ab9e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9814/410c68c50d429e12fe3ade4100bfdb71d333ab9e/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 4672, 980, 273, 365, 18, 5668, 18, 2630, 18, 588, 67, 955, 1435, 365, 18, 5668, 18, 2630, 18, 8507, 67, 955, 1435, 365, 18, 5668, 18, 2630, 18, 9144, 1435, 30436, 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, 1836, 12, 2890, 4672, 980, 273, 365, 18, 5668, 18, 2630, 18, 588, 67, 955, 1435, 365, 18, 5668, 18, 2630, 18, 8507, 67, 955, 1435, 365, 18, 5668, 18, 2630, 18, 9144, 1435, 30436, 18,...
if not res[i + 1] == self.expected_output[method]: print method print res[i + 1] print self.expected_output[method] one = res[i + 1].split("\n") two = self.expected_output[method].split("\n") for k in range(len(res[i + 1])): if one[k] != two[k]: print k print one[k] print two[k] import pdb pdb.set_trace()
got = res[i + 1] expected = self.expected_output[method] if got != expected: print method, 'differs:' print '---------- GOT: ----------' print got print '---------- EXPECTED: ----------' print expected print '----------' for line1, line2 in zip(got.splitlines(), expected.splitlines()): if line1 != line2: print 'Differe...
def do_profiling(cls): results = [] prof = cls(timer, 0.001) start_timer = timer() prof.runctx("testfunc()", {'testfunc':testfunc}, locals()) results.append(timer() - start_timer) for methodname in methodnames: import pstats from StringIO import StringIO s = StringIO() stats = pstats.Stats(prof, stream=s) stats.strip_d...
0ea335192f33348bdaf24aade67817fe550b544c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6934/0ea335192f33348bdaf24aade67817fe550b544c/test_cprofile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 16121, 4973, 12, 6429, 4672, 1686, 273, 5378, 9214, 273, 2028, 12, 12542, 16, 374, 18, 11664, 13, 787, 67, 12542, 273, 5441, 1435, 9214, 18, 2681, 5900, 2932, 3813, 644, 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, 741, 67, 16121, 4973, 12, 6429, 4672, 1686, 273, 5378, 9214, 273, 2028, 12, 12542, 16, 374, 18, 11664, 13, 787, 67, 12542, 273, 5441, 1435, 9214, 18, 2681, 5900, 2932, 3813, 644, 1435, ...
self.optimize_loop(ops, 'Constant(myptr)', expected)
self.optimize_loop(ops, 'Not', expected)
def test_remove_guard_value_if_constant(self): ops = """ [p1] guard_value(p1, ConstPtr(myptr)) [] jump(ConstPtr(myptr)) """ expected = """ [] jump() """ self.optimize_loop(ops, 'Constant(myptr)', expected)
86d3ac7fcd8c34942685a0bee0fe0514a1a06a5a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/86d3ac7fcd8c34942685a0bee0fe0514a1a06a5a/test_optimizeopt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4479, 67, 24594, 67, 1132, 67, 430, 67, 14384, 12, 2890, 4672, 6727, 273, 3536, 306, 84, 21, 65, 11026, 67, 1132, 12, 84, 21, 16, 9333, 5263, 12, 81, 879, 313, 3719, 5378, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4479, 67, 24594, 67, 1132, 67, 430, 67, 14384, 12, 2890, 4672, 6727, 273, 3536, 306, 84, 21, 65, 11026, 67, 1132, 12, 84, 21, 16, 9333, 5263, 12, 81, 879, 313, 3719, 5378, ...
metadata = getMetadata(xml) allImages.append(xml, metadata)
metadata = {} allImages.append((xml, metadata))
def __call__(self, q, statusCallback=None): "Given a query, search all repositories and return the net list of (xml, metadata) duples"
153d414d71383d321214f8fb681ccaef4feb2231 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2455/153d414d71383d321214f8fb681ccaef4feb2231/clipartnav.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 1043, 16, 1267, 2428, 33, 7036, 4672, 315, 6083, 279, 843, 16, 1623, 777, 14531, 471, 327, 326, 2901, 666, 434, 261, 2902, 16, 1982, 13, 302, 7715, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 1991, 972, 12, 2890, 16, 1043, 16, 1267, 2428, 33, 7036, 4672, 315, 6083, 279, 843, 16, 1623, 777, 14531, 471, 327, 326, 2901, 666, 434, 261, 2902, 16, 1982, 13, 302, 7715, 6, ...
para = paragraph_stream(stream, 'p', {}, parameters.getSampleStyleSheet())
para = paragraph_stream(stream, 'p', {}, parameters)
def test_formatting(self): parameters = Param() data = '<p>TXT <i>TEXT<u>TEXT</u></i></p>' stream = XMLParser(data) stream.next() para = paragraph_stream(stream, 'p', {}, parameters.getSampleStyleSheet()) self.assertEqual(para.text, '<para>TXT <i>TEXT<u>TEXT</u></i></para>')
e3c78fc65729ed0a33412c3127995be39d356e50 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/e3c78fc65729ed0a33412c3127995be39d356e50/test_rml2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2139, 1787, 12, 2890, 4672, 1472, 273, 3014, 1435, 501, 273, 2368, 84, 34, 29399, 411, 77, 34, 5151, 32, 89, 34, 5151, 1757, 89, 4695, 77, 4695, 84, 1870, 1407, 273, 3167, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2139, 1787, 12, 2890, 4672, 1472, 273, 3014, 1435, 501, 273, 2368, 84, 34, 29399, 411, 77, 34, 5151, 32, 89, 34, 5151, 1757, 89, 4695, 77, 4695, 84, 1870, 1407, 273, 3167, ...
self._pages = None
self._index = None self._last_index_update = 0
def __init__(self): self._pages = None
20038e9ad23fd6bf15d7cff6c788c825d8278ea5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/20038e9ad23fd6bf15d7cff6c788c825d8278ea5/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 7267, 273, 599, 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, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 7267, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
files and invoke a HarvestingImpl object to upload the files to the server from within the harvesting job runtime environment
files and copy them to some DQM server
def default_open(self, req): return self.do_open(HTTPSCertAuth, req)
8aa0379b7ff693cb5ae777625af3f75853af35f9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8887/8aa0379b7ff693cb5ae777625af3f75853af35f9/RuntimeOfflineDQM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 3190, 12, 2890, 16, 1111, 4672, 327, 365, 18, 2896, 67, 3190, 12, 3693, 2312, 1051, 1730, 16, 1111, 13, 2, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 3190, 12, 2890, 16, 1111, 4672, 327, 365, 18, 2896, 67, 3190, 12, 3693, 2312, 1051, 1730, 16, 1111, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if w.acom1.transmitting or w.acom1.receiving:
if w.acom1.transmitting or w.acom1.receiving or options.outbad.get():
def update(): global root_geom,isec0,im,pim,ndbm0,nsec0,a,ftx0,nin0,nout0, \ receiving,transmitting,newdat,nscroll,newspec,scale0,offset0, \ modpixmap0,tw,s0,c0,fmid,fmid0,loopall,ntr0,txmsg,iband0, \ bandmap,bm tsec=time.time() utc=time.gmtime(tsec) nsec=int(tsec) nsec0=nsec ns120=nsec % 120 try: f0.set(float(sf0.get...
c9c01d1c4e59d66990d656daff94b0c4ff5927e3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2394/c9c01d1c4e59d66990d656daff94b0c4ff5927e3/wspr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 13332, 2552, 1365, 67, 10049, 16, 291, 557, 20, 16, 381, 16, 84, 381, 16, 82, 1966, 81, 20, 16, 82, 3321, 20, 16, 69, 16, 74, 978, 20, 16, 82, 267, 20, 16, 82, 659, 20, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 13332, 2552, 1365, 67, 10049, 16, 291, 557, 20, 16, 381, 16, 84, 381, 16, 82, 1966, 81, 20, 16, 82, 3321, 20, 16, 69, 16, 74, 978, 20, 16, 82, 267, 20, 16, 82, 659, 20, 1...
else: print 'Using default deployables:'
print 'Finding labels unused by:' else: print 'Finding labels unused by the default deployables:'
def _query_unused(self, builder, args): targets = [] print 'query unused %s'%args if args: for thing in args: if thing == '_all': raise utils.Failure("It does not make sense to ask for" " 'muddle query unused _all'") targets.append(depend.Label.from_string(thing)) else: print 'Using default deployables:' targets = buil...
7cae59a956217eb6aa76a859ba3b00f286939656 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4427/7cae59a956217eb6aa76a859ba3b00f286939656/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2271, 67, 14375, 12, 2890, 16, 2089, 16, 833, 4672, 5774, 273, 5378, 1172, 296, 2271, 10197, 738, 87, 11, 9, 1968, 309, 833, 30, 364, 7757, 316, 833, 30, 309, 7757, 422, 2070, 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, 389, 2271, 67, 14375, 12, 2890, 16, 2089, 16, 833, 4672, 5774, 273, 5378, 1172, 296, 2271, 10197, 738, 87, 11, 9, 1968, 309, 833, 30, 364, 7757, 316, 833, 30, 309, 7757, 422, 2070, 4...
result = model_to_dict(obj)
result = {} for field in obj._meta.fields: result[field.name] = field.value_from_object(obj)
def get_field_dict(self): """ Returns a dictionary mapping field names to field values in this version of the model. This method will follow parent links, if present. """ if not hasattr(self, "_field_dict_cache"): object_version = self.object_version obj = object_version.object result = model_to_dict(obj) result.updat...
a220e87ab1faf74804bfd61b00b4516dcb970fd8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11809/a220e87ab1faf74804bfd61b00b4516dcb970fd8/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1518, 67, 1576, 12, 2890, 4672, 3536, 2860, 279, 3880, 2874, 652, 1257, 358, 652, 924, 316, 333, 1177, 434, 326, 938, 18, 225, 1220, 707, 903, 2805, 982, 4716, 16, 309, 3430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1518, 67, 1576, 12, 2890, 4672, 3536, 2860, 279, 3880, 2874, 652, 1257, 358, 652, 924, 316, 333, 1177, 434, 326, 938, 18, 225, 1220, 707, 903, 2805, 982, 4716, 16, 309, 3430, ...
def __sendAlterInterest(self, contextId, parentId, zoneId):
def _sendAlterInterest(self, contextId, parentId, zoneId):
def __sendAlterInterest(self, contextId, parentId, zoneId): """ Part of the new otp-server code.
bc588c2108b72c5c6e044ae072d8af724a00700c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/bc588c2108b72c5c6e044ae072d8af724a00700c/ClientRepository.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4661, 18144, 29281, 12, 2890, 16, 819, 548, 16, 11582, 16, 29939, 4672, 3536, 6393, 434, 326, 394, 28625, 17, 3567, 981, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4661, 18144, 29281, 12, 2890, 16, 819, 548, 16, 11582, 16, 29939, 4672, 3536, 6393, 434, 326, 394, 28625, 17, 3567, 981, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
platformTuple = tuple(platform.split('_'))
platformTuple = tuple( platform.split( '_' ) )
def siteName(): global __siteName if not __siteName: __siteName = gConfig.getValue('/LocalSite/Site', _siteName ) return __siteName
adb0a4e62c99d649094ee564f119dee8b1ccd9e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/adb0a4e62c99d649094ee564f119dee8b1ccd9e5/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27712, 13332, 2552, 1001, 4256, 461, 309, 486, 1001, 4256, 461, 30, 1001, 4256, 461, 273, 314, 809, 18, 24805, 2668, 19, 2042, 4956, 19, 4956, 2187, 389, 4256, 461, 262, 327, 1001, 4256,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27712, 13332, 2552, 1001, 4256, 461, 309, 486, 1001, 4256, 461, 30, 1001, 4256, 461, 273, 314, 809, 18, 24805, 2668, 19, 2042, 4956, 19, 4956, 2187, 389, 4256, 461, 262, 327, 1001, 4256,...
self.logger.debug( 'The place does not exist!' )
logger.debug( 'The place does not exist!' )
def _check_uinput_dev(place): """ Check whether an supplied place is suitable as uinput device. That means, that we need read and write permissions on it. @param place: a path to a potential uinput device @type place: String """ # TODO: add check, that we are faced with a device file self.logger.debug( 'E...
9c546fbd29296f8254242acbef710b9a796b7840 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2456/9c546fbd29296f8254242acbef710b9a796b7840/UinputDispatcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 67, 89, 2630, 67, 5206, 12, 964, 4672, 3536, 2073, 2856, 392, 4580, 3166, 353, 10631, 487, 582, 2630, 2346, 18, 12466, 4696, 16, 716, 732, 1608, 855, 471, 1045, 4371, 603, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 67, 89, 2630, 67, 5206, 12, 964, 4672, 3536, 2073, 2856, 392, 4580, 3166, 353, 10631, 487, 582, 2630, 2346, 18, 12466, 4696, 16, 716, 732, 1608, 855, 471, 1045, 4371, 603, 5...
steamid = es.getplayersteamid(event_var['es_steamid'])
steamid = event_var['es_steamid']
def player_activate(event_var): steamid = es.getplayersteamid(event_var['es_steamid']) # We don't want this to happen for BOTs if 'BOT' in steamid: return # Reconnecting? if dict_savedLevels.has_key(steamid): # Reset level gungamePlayer['level'] = dict_savedLevels[steamid] # Delete the saved level del dict_savedLeve...
19f2d0b025a19c48a951ce68b5eb73d7b87a7dd3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4575/19f2d0b025a19c48a951ce68b5eb73d7b87a7dd3/gg_retry_punish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7291, 67, 10014, 12, 2575, 67, 1401, 4672, 384, 3820, 350, 273, 871, 67, 1401, 3292, 281, 67, 334, 3820, 350, 3546, 225, 468, 1660, 2727, 1404, 2545, 333, 358, 5865, 364, 605, 1974, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7291, 67, 10014, 12, 2575, 67, 1401, 4672, 384, 3820, 350, 273, 871, 67, 1401, 3292, 281, 67, 334, 3820, 350, 3546, 225, 468, 1660, 2727, 1404, 2545, 333, 358, 5865, 364, 605, 1974, 87...
localConfigDict = getCEConfigDict(self.ceName) self.ceParameters.update(localConfigDict)
localConfigDict = getCEConfigDict( self.ceName ) self.ceParameters.update( localConfigDict )
def initializeParameters(self): """ Initialize the CE parameters after they are collected from various sources """ # Collect global defaults first result = self.__getCEParameters('/Resources/Computing/CEDefaults') #can be overwritten by other sections if not result['OK']: self.log.warn(result['Message']) result = self...
3d103a1ec7530dcfac38e6ccc642be862e663b73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/3d103a1ec7530dcfac38e6ccc642be862e663b73/ComputingElement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 2402, 12, 2890, 4672, 3536, 9190, 326, 29538, 1472, 1839, 2898, 854, 12230, 628, 11191, 5550, 3536, 225, 468, 9302, 2552, 3467, 1122, 563, 273, 365, 16186, 588, 1441, 2402, 2668, 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, 4046, 2402, 12, 2890, 4672, 3536, 9190, 326, 29538, 1472, 1839, 2898, 854, 12230, 628, 11191, 5550, 3536, 225, 468, 9302, 2552, 3467, 1122, 563, 273, 365, 16186, 588, 1441, 2402, 2668, 19,...
a[i] += 1
a[i-1] += 1
def to_exp(self, k=0): """ Return a list of the multiplicities of the parts of a partition.
7af2c37cd8f544dca04922bdb7f739b544d91b69 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/7af2c37cd8f544dca04922bdb7f739b544d91b69/partition.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 2749, 12, 2890, 16, 417, 33, 20, 4672, 3536, 2000, 279, 666, 434, 326, 3309, 1780, 1961, 434, 326, 2140, 434, 279, 3590, 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, 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, 358, 67, 2749, 12, 2890, 16, 417, 33, 20, 4672, 3536, 2000, 279, 666, 434, 326, 3309, 1780, 1961, 434, 326, 2140, 434, 279, 3590, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
yield {"type" : i, "node" : nodeid}
yield {"type" : i, "node" : nodeid, "url": ""}
def archivelist(self, nodeid): for i in self.archives: if self.repo.ui.configbool("web", "allow" + i, False): yield {"type" : i, "node" : nodeid}
db1b0a9ac8f93474cc0595c1cac071eb38ce4f7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/db1b0a9ac8f93474cc0595c1cac071eb38ce4f7f/hgweb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6637, 427, 5449, 12, 2890, 16, 756, 350, 4672, 364, 277, 316, 365, 18, 991, 3606, 30, 309, 365, 18, 7422, 18, 4881, 18, 1425, 6430, 2932, 4875, 3113, 315, 5965, 6, 397, 277, 16, 1083...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6637, 427, 5449, 12, 2890, 16, 756, 350, 4672, 364, 277, 316, 365, 18, 991, 3606, 30, 309, 365, 18, 7422, 18, 4881, 18, 1425, 6430, 2932, 4875, 3113, 315, 5965, 6, 397, 277, 16, 1083...
If the hostname ends with a colon (`:') followed by a number, and there is no port specified, that suffix will be stripped off and the number interpreted as the port number to use.
If the hostname ends with a colon (`:') followed by a number, and there is no port specified, that suffix will be stripped off and the number interpreted as the port number to use.
def connect(self, host='localhost', port = 0): """Connect to a host on a given port.
7dcd60bdea0f93f95ae3124b3d31f1ddef699785 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/7dcd60bdea0f93f95ae3124b3d31f1ddef699785/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 12, 2890, 16, 1479, 2218, 13014, 2187, 1756, 273, 374, 4672, 3536, 5215, 358, 279, 1479, 603, 279, 864, 1756, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3077, 12, 2890, 16, 1479, 2218, 13014, 2187, 1756, 273, 374, 4672, 3536, 5215, 358, 279, 1479, 603, 279, 864, 1756, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if ymin < 0.5: self._ax1.set_ylim(0.5,ymax)
if ymin == 0.0: self._ax1.set_ylim(0.5,ymax)
def show_colorscale(self,vmin='default',vmid='default',vmax='default',stretch='linear',exponent=2,cmap='default'): ''' Show a colorscale image of the FITS file Optional Keyword Arguments: *vmin*: [ float ] Minimum pixel value to show (default is to use the 0.25% percentile) *vmax*: [ float ] Maximum pixel value to s...
716a9f4b19a48fe4980e11bfafa70ab162c9e001 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13232/716a9f4b19a48fe4980e11bfafa70ab162c9e001/aplpy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 9724, 1869, 12, 2890, 16, 90, 1154, 2218, 1886, 2187, 3489, 350, 2218, 1886, 2187, 90, 1896, 2218, 1886, 2187, 334, 20783, 2218, 12379, 2187, 24045, 33, 22, 16, 22738, 2218, 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, 2405, 67, 9724, 1869, 12, 2890, 16, 90, 1154, 2218, 1886, 2187, 3489, 350, 2218, 1886, 2187, 90, 1896, 2218, 1886, 2187, 334, 20783, 2218, 12379, 2187, 24045, 33, 22, 16, 22738, 2218, 18...
lc, encoding = locale.getdefaultlocale()
try: lc, encoding = locale.getdefaultlocale() except ValueError, e: print str(e) print "Default locale unavailable, falling back to en_US"
def get_gettext(): """ Set up gettext for translations. """ # Borrowed from an excellent post on how to do this at # http://www.learningpython.com/2006/12/03/translating-your-pythonpygtk-application/ local_path = wpath.translations langs = [] lc, encoding = locale.getdefaultlocale() if (lc): langs = [lc] osLanguage = o...
1714444cf72ad5a42f991dfd6122f95d4431381c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12280/1714444cf72ad5a42f991dfd6122f95d4431381c/misc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 29967, 13332, 3536, 1000, 731, 24972, 364, 7863, 18, 3536, 468, 605, 15318, 329, 628, 392, 3533, 1165, 319, 1603, 603, 3661, 358, 741, 333, 622, 468, 1062, 2207, 5591, 18, 21455...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29967, 13332, 3536, 1000, 731, 24972, 364, 7863, 18, 3536, 468, 605, 15318, 329, 628, 392, 3533, 1165, 319, 1603, 603, 3661, 358, 741, 333, 622, 468, 1062, 2207, 5591, 18, 21455...
Return the rational points on this curve computed via enumeration. INPUT: - ``algorithm`` (string, default: 'enum') -- the algorithm to use. Currently this is ignored. - ``sort`` (boolean, default ``True``) -- whether the output points should be sorted. If False, the order of the output is non-deterministic.
Return a generator object for the rational points on this curve. INPUT: - ``self`` -- a projective curve
def rational_points(self, algorithm="enum", sort=True): r""" Return the rational points on this curve computed via enumeration.
60fa2d7563b965c543d95334de8974fbe21499e1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/60fa2d7563b965c543d95334de8974fbe21499e1/projective_curve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 8371, 67, 4139, 12, 2890, 16, 4886, 1546, 7924, 3113, 1524, 33, 5510, 4672, 436, 8395, 2000, 326, 436, 8371, 3143, 603, 333, 8882, 8470, 3970, 16836, 18, 225, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 436, 8371, 67, 4139, 12, 2890, 16, 4886, 1546, 7924, 3113, 1524, 33, 5510, 4672, 436, 8395, 2000, 326, 436, 8371, 3143, 603, 333, 8882, 8470, 3970, 16836, 18, 225, 2, -100, -100, -100, ...
if msg[0] != 0:
if msg.args[0] != 0:
def testBadModeArgument(self): # verify that we get a sensible error message for bad mode argument bad_mode = "qwerty" try: f = open(TESTFN, bad_mode) except ValueError, msg: if msg[0] != 0: s = str(msg) if TESTFN in s or bad_mode not in s: self.fail("bad error message for invalid mode: %s" % s) # if msg[0] == 0, we're...
bb39cef12539fb7c170afbc16acab06504895b6e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/bb39cef12539fb7c170afbc16acab06504895b6e/test_file.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6434, 2309, 1379, 12, 2890, 4672, 468, 3929, 716, 732, 336, 279, 15390, 1523, 555, 883, 364, 5570, 1965, 1237, 5570, 67, 3188, 273, 315, 85, 91, 20429, 6, 775, 30, 284, 273, 1696...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6434, 2309, 1379, 12, 2890, 4672, 468, 3929, 716, 732, 336, 279, 15390, 1523, 555, 883, 364, 5570, 1965, 1237, 5570, 67, 3188, 273, 315, 85, 91, 20429, 6, 775, 30, 284, 273, 1696...
('comp_dta',5),('invoice_number',11),('comp_bank_iban',24),('date_value',6),
('comp_dta',5),('invoice_number',11),('comp_bank_number',24),('date_value',6),
def init_local_context(self): print "gt826" self.fields=[ ('seg_num1',2), #header ('date_value_hdr',6),('partner_bank_clearing',12),('zero5',5),('creation_date',6), ('comp_bank_clearing',7), ('uid',5), ('sequence',5), ('genre_trans',3), ('type_paiement',1),('flag',1), #seg1 ('comp_dta',5),('invoice_number',11),('comp_b...
3be3e1a9009cb92be2dabe1d450fec382a7a6edf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/3be3e1a9009cb92be2dabe1d450fec382a7a6edf/dta_wizard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 3729, 67, 2472, 12, 2890, 4672, 1172, 315, 4521, 28, 5558, 6, 365, 18, 2821, 22850, 7707, 5680, 67, 2107, 21, 2187, 22, 3631, 468, 3374, 7707, 712, 67, 1132, 67, 16587, 2187,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 3729, 67, 2472, 12, 2890, 4672, 1172, 315, 4521, 28, 5558, 6, 365, 18, 2821, 22850, 7707, 5680, 67, 2107, 21, 2187, 22, 3631, 468, 3374, 7707, 712, 67, 1132, 67, 16587, 2187,...
stderr = os.fdopen(fd, 'w') stderr.write("Upon execvpe %s %s in environment %s\n:" %
stderr = os.fdopen(1, 'w') stderr.write("Upon execvpe %s %s in environment %s:\n" %
def __init__(self, reactor, command, args, environment, path, proto, uid=None, gid=None): """Spawn an operating-system process.
2639f8385b9e632f627f180bfd82b110b86059e8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/2639f8385b9e632f627f180bfd82b110b86059e8/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 19178, 16, 1296, 16, 833, 16, 3330, 16, 589, 16, 3760, 16, 4555, 33, 7036, 16, 11399, 33, 7036, 4672, 3536, 3389, 9533, 392, 16929, 17, 4299, 1207, 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, 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, 19178, 16, 1296, 16, 833, 16, 3330, 16, 589, 16, 3760, 16, 4555, 33, 7036, 16, 11399, 33, 7036, 4672, 3536, 3389, 9533, 392, 16929, 17, 4299, 1207, 18, ...
line = self.readline(delay)
line = self.readline(timeout)
def get_output(self, delay=0.05): '''Read output from gnuplot, waiting at most <delay> seconds.'''
259b0e2d22d7af57897e28e9b1496a75999fa29f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6471/259b0e2d22d7af57897e28e9b1496a75999fa29f/gnuplotpipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2844, 12, 2890, 16, 4624, 33, 20, 18, 6260, 4672, 9163, 1994, 876, 628, 314, 13053, 4032, 16, 7336, 622, 4486, 411, 10790, 34, 3974, 1093, 6309, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2844, 12, 2890, 16, 4624, 33, 20, 18, 6260, 4672, 9163, 1994, 876, 628, 314, 13053, 4032, 16, 7336, 622, 4486, 411, 10790, 34, 3974, 1093, 6309, 2, -100, -100, -100, -100, -10...
s = '' for idx in range(max_length):
s = u'' for idx in xrange(max_length):
def get_string_u_at_rva(self, rva, max_length = 2**16): """Get an Unicode string located at the given address.""" try: # If the RVA is invalid all would blow up. Some EXEs seem to be # specially nasty and have an invalid RVA. data = self.get_data(rva, 2) except PEFormatError, e: return None
89f19a90b425f0951e2a3860a3f90834315ae393 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4177/89f19a90b425f0951e2a3860a3f90834315ae393/pefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1080, 67, 89, 67, 270, 67, 4962, 69, 12, 2890, 16, 5633, 69, 16, 943, 67, 2469, 273, 576, 636, 2313, 4672, 3536, 967, 392, 9633, 533, 13801, 622, 326, 864, 1758, 12123, 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, 336, 67, 1080, 67, 89, 67, 270, 67, 4962, 69, 12, 2890, 16, 5633, 69, 16, 943, 67, 2469, 273, 576, 636, 2313, 4672, 3536, 967, 392, 9633, 533, 13801, 622, 326, 864, 1758, 12123, 225,...
def _get_views(self, cr, uid, ids, field_name=None, arg=None, context={}):
def _get_views(self, cr, uid, ids, field_name=None, arg=None, context=None):
def _get_views(self, cr, uid, ids, field_name=None, arg=None, context={}): res = {} model_data_obj = self.pool.get('ir.model.data') view_obj = self.pool.get('ir.ui.view') report_obj = self.pool.get('ir.actions.report.xml') menu_obj = self.pool.get('ir.ui.menu') mlist = self.browse(cr, uid, ids, context=context) mnames ...
d4c36de1e04f70d7a0ae8479f77b8a6d38aed4c1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/d4c36de1e04f70d7a0ae8479f77b8a6d38aed4c1/module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 7061, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 529, 33, 7036, 16, 1501, 33, 7036, 16, 819, 33, 7036, 4672, 400, 273, 2618, 938, 67, 892, 67, 2603, 273, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7061, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 529, 33, 7036, 16, 1501, 33, 7036, 16, 819, 33, 7036, 4672, 400, 273, 2618, 938, 67, 892, 67, 2603, 273, 36...
elif req.path == 'robots.txt':
elif req.path == '/robots.txt':
def __call__(self, environ, start_response): """ Dispatch requests. """ set_connection(self.db_con) req = Request(environ) url = req.path.strip('/') or 'index'
2f93101a42041431baa36688522061ee04f09e00 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7032/2f93101a42041431baa36688522061ee04f09e00/application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 5473, 16, 787, 67, 2740, 4672, 3536, 11552, 3285, 18, 3536, 444, 67, 4071, 12, 2890, 18, 1966, 67, 591, 13, 1111, 273, 1567, 12, 28684, 13, 880, 273, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 5473, 16, 787, 67, 2740, 4672, 3536, 11552, 3285, 18, 3536, 444, 67, 4071, 12, 2890, 18, 1966, 67, 591, 13, 1111, 273, 1567, 12, 28684, 13, 880, 273, 1...
except win32api.error:
except _RegError:
def get_msvc_paths (path, version='6.0', platform='x86'): """Get a list of devstudio directories (include, lib or path). Return a list of strings; will be empty list if unable to access the registry or appropriate registry keys not found.""" try: import win32api import win32con except ImportError: return [] L = [] i...
0d1936ed13e06d714469418a720463c789a4d235 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/0d1936ed13e06d714469418a720463c789a4d235/msvccompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 959, 4227, 67, 4481, 261, 803, 16, 1177, 2218, 26, 18, 20, 2187, 4072, 2218, 92, 5292, 11, 4672, 3536, 967, 279, 666, 434, 4461, 334, 4484, 6402, 261, 6702, 16, 2561, 578, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 959, 4227, 67, 4481, 261, 803, 16, 1177, 2218, 26, 18, 20, 2187, 4072, 2218, 92, 5292, 11, 4672, 3536, 967, 279, 666, 434, 4461, 334, 4484, 6402, 261, 6702, 16, 2561, 578, 5...
if telescopename not in knowntelescopes: msg("thermal noise only works properly for ALMA/ACA or EVLA",origin="noise",priority="warn")
def simdata( project=None, modifymodel=None, skymodel=None, inbright=None, indirection=None, incell=None, incenter=None, inwidth=None, # innchan=None, setpointings=None, ptgfile=None, integration=None, direction=None, mapsize=None, maptype=None, pointingspacing=None, caldirection=None, calflux=None, predict=None, refda...
1510580ba08e0263ed627cc6ad8317047555cfc5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2098/1510580ba08e0263ed627cc6ad8317047555cfc5/task_simdata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3142, 892, 12, 1984, 33, 7036, 16, 5612, 2284, 33, 7036, 16, 15513, 2284, 33, 7036, 16, 316, 31070, 33, 7036, 16, 1547, 2769, 33, 7036, 16, 316, 3855, 33, 7036, 16, 316, 5693, 33, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3142, 892, 12, 1984, 33, 7036, 16, 5612, 2284, 33, 7036, 16, 15513, 2284, 33, 7036, 16, 316, 31070, 33, 7036, 16, 1547, 2769, 33, 7036, 16, 316, 3855, 33, 7036, 16, 316, 5693, 33, 70...
sage: P1 = plot([solnx,solny],0,1) sage: P2 = parametric_plot((solnx,solny),0,1)
sage: P1 = plot([solnx,solny],(0,1)) sage: P2 = parametric_plot((solnx,solny),(0,1))
def desolve_system_strings(des,vars,ics=None): """ Solves any size system of 1st order odes using maxima. Initials conditions are optional. INPUT: de -- a list of strings representing the ODEs in maxima notation (eg, de = "diff(f(x),x,2)=diff(f(x),x)+sin(x)") vars -- a list of strings representing the variables (...
212637a09c026a523e2e3348c22014694ee8027e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/212637a09c026a523e2e3348c22014694ee8027e/desolvers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2832, 5390, 67, 4299, 67, 10219, 12, 5489, 16, 4699, 16, 2102, 33, 7036, 4672, 3536, 348, 355, 3324, 1281, 963, 2619, 434, 404, 334, 1353, 320, 5489, 1450, 943, 13888, 18, 10188, 87, 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, 2832, 5390, 67, 4299, 67, 10219, 12, 5489, 16, 4699, 16, 2102, 33, 7036, 4672, 3536, 348, 355, 3324, 1281, 963, 2619, 434, 404, 334, 1353, 320, 5489, 1450, 943, 13888, 18, 10188, 87, 4...
""" simple objects """ class library(module): def __init__( self, name, depends = [], category = 'engine', localoptions = coptions(), globaloptions = coptions(), localarchoptions = {}, globalarchoptions = {}, platforms = allplatforms, archs = allarchs, sources=[], ): self.install_path = 'lib' module.__init__(self, name...
def makeproject(self, bld): for p in bld.env['PROJECTS']: if not self.projects.has_key(p): task = bld.new_task_gen() task.features = [p] task.depends = [d.projects[p] for d in self.depends] task.target = self.name+'.'+p task.name = self.name task.env = bld.env task.sourcetree = self.sourcetree task.type = se...
ec9f8798694887a6c8975db7bbd776db1587362d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7302/ec9f8798694887a6c8975db7bbd776db1587362d/module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 4406, 12, 2890, 16, 324, 1236, 4672, 364, 293, 316, 324, 1236, 18, 3074, 3292, 17147, 55, 3546, 30, 309, 486, 365, 18, 13582, 18, 5332, 67, 856, 12, 84, 4672, 1562, 273, 324, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 4406, 12, 2890, 16, 324, 1236, 4672, 364, 293, 316, 324, 1236, 18, 3074, 3292, 17147, 55, 3546, 30, 309, 486, 365, 18, 13582, 18, 5332, 67, 856, 12, 84, 4672, 1562, 273, 324, 1...
return self.implement_guard(guard_token, 'NE')
self.implement_guard(guard_token, 'NE')
def genop_guard_guard_nonnull_class(self, ign_1, guard_op, guard_token, locs, ign_2): self.mc.ensure_bytes_available(256) self.mc.CMP(locs[0], imm1) # Patched below self.mc.J_il8(rx86.Conditions['B'], 0) jb_location = self.mc.get_relative_pos() self._cmp_guard_class(locs) # patch the JB above offset = self.mc.get_relat...
180c4a94a92fb4db4243be00b648118ff5f29d48 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/180c4a94a92fb4db4243be00b648118ff5f29d48/assembler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 556, 67, 24594, 67, 24594, 67, 5836, 2011, 67, 1106, 12, 2890, 16, 9750, 67, 21, 16, 11026, 67, 556, 16, 11026, 67, 2316, 16, 26357, 16, 9750, 67, 22, 4672, 365, 18, 13952, 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, 3157, 556, 67, 24594, 67, 24594, 67, 5836, 2011, 67, 1106, 12, 2890, 16, 9750, 67, 21, 16, 11026, 67, 556, 16, 11026, 67, 2316, 16, 26357, 16, 9750, 67, 22, 4672, 365, 18, 13952, 18,...
return self.eval('%s;'%var, newlines=False)
return self.eval('Print(%s);'%var, newlines=False)
def get(self, var, use_file=False): """ Get the string representation of the variable var. """ if use_file: tmp = self._local_tmpfile() if os.path.exists(tmp): os.unlink(tmp) self.eval('PrintTo("%s", %s);'%(tmp,var), strip=False) r = open(tmp).read() r = r.strip().replace("\\\n","") os.unlink(tmp) return r else: return...
2a25a9f12e8941aac4d9c36f4c082e34d1acd1a9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/2a25a9f12e8941aac4d9c36f4c082e34d1acd1a9/gap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 16, 569, 16, 999, 67, 768, 33, 8381, 4672, 3536, 968, 326, 533, 4335, 434, 326, 2190, 569, 18, 3536, 309, 999, 67, 768, 30, 1853, 273, 365, 6315, 3729, 67, 5645, 768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 569, 16, 999, 67, 768, 33, 8381, 4672, 3536, 968, 326, 533, 4335, 434, 326, 2190, 569, 18, 3536, 309, 999, 67, 768, 30, 1853, 273, 365, 6315, 3729, 67, 5645, 768, ...
doc_url = self.REQUEST['URLPATH1']
doc_url = "/".join(self.aq_parent.getPhysicalPath())
def render(self, element, lang=None, image_support=False, extra_options={}): """Return the HTML necessary to run the TinyMCE. Parameters: `element` `id` of HTML element that editor will is attached to. `lang` **Not used** `image_support` **No longer used** In order to disable images. Use extra_options, see below. `extr...
3256669e670c9c31671aab54b98463cd93531627 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3287/3256669e670c9c31671aab54b98463cd93531627/EditorTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 930, 16, 3303, 33, 7036, 16, 1316, 67, 13261, 33, 8381, 16, 2870, 67, 2116, 12938, 4672, 3536, 990, 326, 3982, 4573, 358, 1086, 326, 399, 11652, 49, 1441, 18, 7012,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 930, 16, 3303, 33, 7036, 16, 1316, 67, 13261, 33, 8381, 16, 2870, 67, 2116, 12938, 4672, 3536, 990, 326, 3982, 4573, 358, 1086, 326, 399, 11652, 49, 1441, 18, 7012,...
user, host = host.rsplit('@', 1)
user = host[:host.rfind('@')] host = host[host.rfind('@')+1:]
def _parseURI(uri): schema, rest = uri.split(':', 1) assert rest.startswith('/'), "URIs must start with scheme:/ -- you did not include a / (in %r)" % rest if rest.startswith('/') and not rest.startswith('//'): host = None rest = rest[1:] elif rest.startswith('///'): host = None rest = rest[3:] else: rest = rest[2:] if...
eb3244a0f3d72f53bcb58f231b16842a3d081f86 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8798/eb3244a0f3d72f53bcb58f231b16842a3d081f86/dbconnection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 3098, 12, 1650, 4672, 1963, 16, 3127, 273, 2003, 18, 4939, 2668, 30, 2187, 404, 13, 1815, 3127, 18, 17514, 1918, 2668, 2473, 3631, 315, 1099, 2520, 1297, 787, 598, 4355, 27824...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2670, 3098, 12, 1650, 4672, 1963, 16, 3127, 273, 2003, 18, 4939, 2668, 30, 2187, 404, 13, 1815, 3127, 18, 17514, 1918, 2668, 2473, 3631, 315, 1099, 2520, 1297, 787, 598, 4355, 27824...
def __init__(self, controls = {}, params = {}):
def __init__(self, controls = {}, params = {}, prog = sys.argv[0]):
def __init__(self, controls = {}, params = {}): self.event = get_event() self.params = {} self.controls = controls self.dir = OMERODIR self.isdebug = DEBUG # This usage will go away and default will be False self.topics = {"debug":"""
36ca7331bf833f7348cf5f3b503618c5585e7c72 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12409/36ca7331bf833f7348cf5f3b503618c5585e7c72/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 11022, 273, 10615, 859, 273, 10615, 11243, 273, 2589, 18, 19485, 63, 20, 65, 4672, 365, 18, 2575, 273, 336, 67, 2575, 1435, 365, 18, 2010, 273, 2618, 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, 1001, 2738, 972, 12, 2890, 16, 11022, 273, 10615, 859, 273, 10615, 11243, 273, 2589, 18, 19485, 63, 20, 65, 4672, 365, 18, 2575, 273, 336, 67, 2575, 1435, 365, 18, 2010, 273, 2618, 365...
Sgf.Type(startTime)
startTimeBlock.widget.SetValue(startTime)
def SetStartTime(self, startTime, dict=None): if (self.isEvent and not self.allDay): #self.updateExpectedFieldDict(dict) # update the expected field dict if dict: self.logger.Start("Set the start time to : %s" %startTime) Sgf.SummaryViewSelect(self.item) startTimeBlock = Sgf.StartTime() # Emulate the mouse click in the...
f77476e7c18859b888dd4c880dc2b7e62be26e5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/f77476e7c18859b888dd4c880dc2b7e62be26e5f/QATestAppLib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 13649, 12, 2890, 16, 8657, 16, 2065, 33, 7036, 4672, 309, 261, 2890, 18, 291, 1133, 471, 486, 365, 18, 454, 4245, 4672, 468, 2890, 18, 2725, 6861, 974, 5014, 12, 1576, 13, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1000, 13649, 12, 2890, 16, 8657, 16, 2065, 33, 7036, 4672, 309, 261, 2890, 18, 291, 1133, 471, 486, 365, 18, 454, 4245, 4672, 468, 2890, 18, 2725, 6861, 974, 5014, 12, 1576, 13, 468, ...
return self.implement_guard(guard_token, 'NZ')
self.implement_guard(guard_token, 'NZ')
def genop_guard_guard_no_exception(self, ign_1, guard_op, guard_token, locs, ign_2): self.mc.CMP(heap(self.cpu.pos_exception()), imm0) return self.implement_guard(guard_token, 'NZ')
180c4a94a92fb4db4243be00b648118ff5f29d48 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/180c4a94a92fb4db4243be00b648118ff5f29d48/assembler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 556, 67, 24594, 67, 24594, 67, 2135, 67, 4064, 12, 2890, 16, 9750, 67, 21, 16, 11026, 67, 556, 16, 11026, 67, 2316, 16, 26357, 16, 9750, 67, 22, 4672, 365, 18, 13952, 18, 39, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3157, 556, 67, 24594, 67, 24594, 67, 2135, 67, 4064, 12, 2890, 16, 9750, 67, 21, 16, 11026, 67, 556, 16, 11026, 67, 2316, 16, 26357, 16, 9750, 67, 22, 4672, 365, 18, 13952, 18, 39, ...
if not isinstance(file, mak.sources.hsource):
if file.process and not isinstance(file, mak.sources.hsource):
def writeSources(self, sources): w = self.file.write for name,d in sources.directories.iteritems(): self.writeSources(d) for file in sources.files: if not isinstance(file, mak.sources.hsource): w("\t\t\t%s,\n" % file.buildid)
c73f2456ec51b2b4797d870c08f234ed68da574a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/c73f2456ec51b2b4797d870c08f234ed68da574a/xcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 8628, 12, 2890, 16, 5550, 4672, 341, 273, 365, 18, 768, 18, 2626, 364, 508, 16, 72, 316, 5550, 18, 15121, 18, 2165, 3319, 13332, 365, 18, 2626, 8628, 12, 72, 13, 364, 585, 316,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 8628, 12, 2890, 16, 5550, 4672, 341, 273, 365, 18, 768, 18, 2626, 364, 508, 16, 72, 316, 5550, 18, 15121, 18, 2165, 3319, 13332, 365, 18, 2626, 8628, 12, 72, 13, 364, 585, 316,...
if on == 1 and sn != 2: return self._fix_nan(context) if sn == 1 and on != 2: return other._fix_nan(context)
if on == 1 and sn == 0: return self._fix(context) if sn == 1 and on == 0: return other._fix(context)
def min_mag(self, other, context=None): """Compares the values numerically with their sign ignored.""" other = _convert_other(other, raiseit=True)
e6e00a7a9f91c40dc04fd913e6ab50eb2137e169 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/e6e00a7a9f91c40dc04fd913e6ab50eb2137e169/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1131, 67, 4527, 12, 2890, 16, 1308, 16, 819, 33, 7036, 4672, 3536, 19199, 326, 924, 6389, 1230, 598, 3675, 1573, 5455, 12123, 1308, 273, 389, 6283, 67, 3011, 12, 3011, 16, 1002, 305, 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, 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, 1131, 67, 4527, 12, 2890, 16, 1308, 16, 819, 33, 7036, 4672, 3536, 19199, 326, 924, 6389, 1230, 598, 3675, 1573, 5455, 12123, 1308, 273, 389, 6283, 67, 3011, 12, 3011, 16, 1002, 305, 3...
ascii_text = text.encode('ascii', 'replace')
ascii_text = text
def get_target_block(fragment, targets): '''Return the correct block for the <a name> element''' bs = targets[fragment] if not isinstance(bs, BlockSpace): return bs ans, found, page = None, False, bs.parent for item in page.contents: if found: if isinstance(item, (TextBlock, RuledLine, ImageBlock)): ans = item break if...
9d20d7f43ef90b24404e8b26214cc59878ea2dfd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/9d20d7f43ef90b24404e8b26214cc59878ea2dfd/convert_from.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3299, 67, 2629, 12, 11956, 16, 5774, 4672, 9163, 990, 326, 3434, 1203, 364, 326, 411, 69, 508, 34, 930, 26418, 7081, 273, 5774, 63, 11956, 65, 309, 486, 1549, 12, 2038, 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, 336, 67, 3299, 67, 2629, 12, 11956, 16, 5774, 4672, 9163, 990, 326, 3434, 1203, 364, 326, 411, 69, 508, 34, 930, 26418, 7081, 273, 5774, 63, 11956, 65, 309, 486, 1549, 12, 2038, 16, ...
{'query': email}, many=True)
{u'query': unicode(email)}, many=True)
def search_contribution_info_by_email(self, email): ret = [] url = 'http://www.ohloh.net/contributors.xml?' c_fs, web_response = ohloh_url2data(url, 'result/contributor_fact', {'query': email}, many=True)
e57f21614727a597db36930e5bcc155c2a3ebecb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11976/e57f21614727a597db36930e5bcc155c2a3ebecb/ohloh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 591, 4027, 67, 1376, 67, 1637, 67, 3652, 12, 2890, 16, 2699, 4672, 325, 273, 5378, 880, 273, 296, 2505, 2207, 5591, 18, 16699, 383, 76, 18, 2758, 19, 26930, 13595, 18, 2902, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 591, 4027, 67, 1376, 67, 1637, 67, 3652, 12, 2890, 16, 2699, 4672, 325, 273, 5378, 880, 273, 296, 2505, 2207, 5591, 18, 16699, 383, 76, 18, 2758, 19, 26930, 13595, 18, 2902, ...
first, second = self._coset_reduction_data() gcd_u_N = first[u][1] gcd_v_N = first[v][1]
def _reduce_cusp(self, c): """ Compute a canonical form for the cusp $uu/vv$. INPUT: cusp OUTPUT: cusp
eb301dff111c888467560bbc7545e7b8e22d5329 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/eb301dff111c888467560bbc7545e7b8e22d5329/congroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12498, 67, 71, 407, 84, 12, 2890, 16, 276, 4672, 3536, 8155, 279, 7378, 646, 364, 326, 27964, 84, 271, 24286, 19, 15530, 8, 18, 225, 12943, 30, 27964, 84, 11550, 30, 27964, 84, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 12498, 67, 71, 407, 84, 12, 2890, 16, 276, 4672, 3536, 8155, 279, 7378, 646, 364, 326, 27964, 84, 271, 24286, 19, 15530, 8, 18, 225, 12943, 30, 27964, 84, 11550, 30, 27964, 84, ...
print "self.pipeline ", self.pipeline, "\n"; print "newPolicyFile ", newPolicyFile, "\n"; if os.path.exists(newPolicyFile): self.logger.log(Log.WARN, "Working directory already contains %s; won't overwrite" % \ polbasefile) else: pw = pol.PAFWriter(newPolicyFile) pw.write(newPolicy) pw.close()
pw = pol.PAFWriter(newPolicyFile) pw.write(newPolicy) pw.close()
def deploySetup(self): self.logger.log(Log.DEBUG, "AbePipelineManager:deploySetup")
7c06e23fce83865fbdfe0d0f9e37b70137eebee0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6549/7c06e23fce83865fbdfe0d0f9e37b70137eebee0/AbePipelineManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7286, 7365, 12, 2890, 4672, 365, 18, 4901, 18, 1330, 12, 1343, 18, 9394, 16, 315, 37, 2196, 8798, 1318, 30, 12411, 7365, 7923, 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, 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, 1652, 7286, 7365, 12, 2890, 4672, 365, 18, 4901, 18, 1330, 12, 1343, 18, 9394, 16, 315, 37, 2196, 8798, 1318, 30, 12411, 7365, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return rfc2425encode("label",string.join(self.lines,"\n")),
return rfc2425encode("label",string.join(self.lines,"\n"),
def rfc2426(self): return rfc2425encode("label",string.join(self.lines,"\n")), {"type":string.join(self.type,",")})
9f926fea99081b163ba5fe9e0140265ee4648f78 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12769/9f926fea99081b163ba5fe9e0140265ee4648f78/vcard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16590, 3247, 5558, 12, 2890, 4672, 327, 16590, 3247, 2947, 3015, 2932, 1925, 3113, 1080, 18, 5701, 12, 2890, 18, 3548, 10837, 64, 82, 6, 3631, 12528, 723, 6877, 1080, 18, 5701, 12, 2890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16590, 3247, 5558, 12, 2890, 4672, 327, 16590, 3247, 2947, 3015, 2932, 1925, 3113, 1080, 18, 5701, 12, 2890, 18, 3548, 10837, 64, 82, 6, 3631, 12528, 723, 6877, 1080, 18, 5701, 12, 2890,...
def get_lang_from_cookie(request): """See if the user's browser sent a cookie with her preferred language. Return a Pootle project object if so and if the we have a pootle translation project for the language. Otherwise, return None.""" lang_code = request.COOKIES.get(settings.LANGUAGE_COOKIE_NAME, None) lang_obj = g...
def get_lang_from_prefs(request, supported): """If the current user is logged in, get her profile model object and check whether she has set her preferred interface language.""" if request.user.is_authenticated(): profile = request.user.get_profile() if profile.ui_lang and profile.ui_lang in supported: return profile...
def get_lang_obj(code): """Tries to get a Language object based on a language code from an HTTP header. Since the header can be in the form 'af-za' or 'af', we first try with the 'lang_COUNTRY' form and otherwise fallback to 'lang'. Also, language codes are normalized to the form 'af_ZA', because this is how Pootle st...
22217057e0d5202ecc0d82ce297829c564eab061 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/22217057e0d5202ecc0d82ce297829c564eab061/user_lang_discovery.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4936, 67, 2603, 12, 710, 4672, 3536, 13652, 358, 336, 279, 9889, 733, 2511, 603, 279, 2653, 981, 628, 392, 2239, 1446, 18, 225, 7897, 326, 1446, 848, 506, 316, 326, 646, 296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4936, 67, 2603, 12, 710, 4672, 3536, 13652, 358, 336, 279, 9889, 733, 2511, 603, 279, 2653, 981, 628, 392, 2239, 1446, 18, 225, 7897, 326, 1446, 848, 506, 316, 326, 646, 296, ...
res=component(self.compname, comptype=self.comptype, cache=cache, **kwargs)
res=computils.component(self.compname, comptype=self.comptype, cache=cache, **kwargs)
def __call__(self, **kwargs): cache=kwargs.pop('cache', self.cache) kwargs.update(self.extra) try: push_slot(self.name) if self.comptype==DT_INCLUDE: res=include(self.compname) else: res=component(self.compname, comptype=self.comptype, cache=cache, **kwargs)
d7a3424a479de3afe165159fdad42047453dc80e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2304/d7a3424a479de3afe165159fdad42047453dc80e/slots.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 2826, 4333, 4672, 1247, 33, 4333, 18, 5120, 2668, 2493, 2187, 365, 18, 2493, 13, 1205, 18, 2725, 12, 2890, 18, 7763, 13, 775, 30, 1817, 67, 14194, 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, 1991, 972, 12, 2890, 16, 2826, 4333, 4672, 1247, 33, 4333, 18, 5120, 2668, 2493, 2187, 365, 18, 2493, 13, 1205, 18, 2725, 12, 2890, 18, 7763, 13, 775, 30, 1817, 67, 14194, 12, ...
result = result + self.section('NAME', name) try: file = inspect.getabsfile(object) except TypeError: file = '(built-in)'
result = self.section('NAME', name) try: file = inspect.getabsfile(object) except TypeError: file = '(built-in)'
def docmodule(self, object): """Produce text documentation for a given module object.""" result = ''
a8b37d1a3238fb85be760a30db03672525e8f591 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/a8b37d1a3238fb85be760a30db03672525e8f591/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 2978, 12, 2890, 16, 733, 4672, 3536, 25884, 977, 7323, 364, 279, 864, 1605, 733, 12123, 563, 273, 875, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 2978, 12, 2890, 16, 733, 4672, 3536, 25884, 977, 7323, 364, 279, 864, 1605, 733, 12123, 563, 273, 875, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.frame_dict['IP_window']=DataWindowFrame(navshell)
self.frame_dict['IP_window'] = DataWindowFrame(navshell)
def init_dialog(self): self.dialog = gtk.Window() self.dialog.set_title('GDAL Export Tool') self.dialog.set_border_width(10) self.tips=gtk.Tooltips() #self.dialog.set_default_size(500,400) self.dialog.set_resizable(True)
18bebfddf000a5af98d1ab83e4246e700756e2a4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11090/18bebfddf000a5af98d1ab83e4246e700756e2a4/Tool_Export.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 12730, 12, 2890, 4672, 365, 18, 12730, 273, 22718, 18, 3829, 1435, 365, 18, 12730, 18, 542, 67, 2649, 2668, 27338, 1013, 11054, 13288, 6134, 365, 18, 12730, 18, 542, 67, 8815, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 12730, 12, 2890, 4672, 365, 18, 12730, 273, 22718, 18, 3829, 1435, 365, 18, 12730, 18, 542, 67, 2649, 2668, 27338, 1013, 11054, 13288, 6134, 365, 18, 12730, 18, 542, 67, 8815, ...
if self.has_process(dwProcessId):
if self.__processDict.has_key(dwProcessId):
def scan_processes_and_threads(self): """ Populates the snapshot with running processes and threads. """ our_pid = win32.GetProcessId( win32.GetCurrentProcess() ) dead_pids = set( self.get_process_ids() ) found_tids = set()
d871788990d36af2a5520f8918a87b71c5035ab2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/d871788990d36af2a5520f8918a87b71c5035ab2/system.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4135, 67, 18675, 67, 464, 67, 12495, 12, 2890, 4672, 3536, 10264, 17099, 326, 4439, 598, 3549, 8488, 471, 7403, 18, 3536, 3134, 67, 6610, 565, 273, 5657, 1578, 18, 967, 2227, 548, 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, 4135, 67, 18675, 67, 464, 67, 12495, 12, 2890, 4672, 3536, 10264, 17099, 326, 4439, 598, 3549, 8488, 471, 7403, 18, 3536, 3134, 67, 6610, 565, 273, 5657, 1578, 18, 967, 2227, 548, 12, ...
wikipedia.output(u"Current categories: %s" % cats)
wikipedia.output(u"Current categories:") for curpl in cats: wikipedia.output(u"* %s" % cat.aslink())
def add_category(sort_by_last_name = False): ''' A robot to mass-add a category to a list of pages. ''' print "This bot has two modes: you can add a category link to all" print "pages mentioned in a List that is now in another wikipedia page" print "or you can add a category link to all pages that link to a" print "spe...
84cc82cdafbaa3688f93585339ea6f61f02749e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/84cc82cdafbaa3688f93585339ea6f61f02749e0/category.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 4743, 12, 3804, 67, 1637, 67, 2722, 67, 529, 273, 1083, 4672, 9163, 432, 14386, 358, 8039, 17, 1289, 279, 3150, 358, 279, 666, 434, 4689, 18, 9163, 1172, 315, 2503, 2512, 711,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4743, 12, 3804, 67, 1637, 67, 2722, 67, 529, 273, 1083, 4672, 9163, 432, 14386, 358, 8039, 17, 1289, 279, 3150, 358, 279, 666, 434, 4689, 18, 9163, 1172, 315, 2503, 2512, 711,...
def capitilize_query(self, line):
def capitilize_query(self, line): line = line.strip()
def capitilize_query(self, line): result = "" for l in line.split(): result += " " + l.capitalize() return result
6bb6e240fbed56a488e80ff41ad859b1877813ac /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14563/6bb6e240fbed56a488e80ff41ad859b1877813ac/online_controller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3523, 305, 330, 554, 67, 2271, 12, 2890, 16, 980, 4672, 980, 273, 980, 18, 6406, 1435, 563, 273, 1408, 364, 328, 316, 980, 18, 4939, 13332, 563, 1011, 315, 315, 397, 328, 18, 5909, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3523, 305, 330, 554, 67, 2271, 12, 2890, 16, 980, 4672, 980, 273, 980, 18, 6406, 1435, 563, 273, 1408, 364, 328, 316, 980, 18, 4939, 13332, 563, 1011, 315, 315, 397, 328, 18, 5909, 7...
rows = connection.cursor().execute("""SELECT sngl_inspiral.ifo,
if have_triggers: rows = connection.cursor().execute("""SELECT sngl_inspiral.ifo,
def setup_files(dir_name, gps_start_time, gps_end_time): # Filter out the ones that are outside our time range xml_files = segmentdb_utils.get_all_files_in_range(dir_name, gps_start_time, gps_end_time) handle, temp_db = tempfile.mkstemp(suffix='.sqlite') os.close(handle) target = dbtables.get_connection_filen...
08c67a970ec4dfc5683fea59d7a47ce0cc623385 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/08c67a970ec4dfc5683fea59d7a47ce0cc623385/ligolw_glitch_page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 67, 2354, 12, 1214, 67, 529, 16, 20985, 67, 1937, 67, 957, 16, 20985, 67, 409, 67, 957, 4672, 468, 4008, 596, 326, 5945, 716, 854, 8220, 3134, 813, 1048, 2025, 67, 2354, 225, 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, 3875, 67, 2354, 12, 1214, 67, 529, 16, 20985, 67, 1937, 67, 957, 16, 20985, 67, 409, 67, 957, 4672, 468, 4008, 596, 326, 5945, 716, 854, 8220, 3134, 813, 1048, 2025, 67, 2354, 225, 2...
'start' : page, 'rsz': RSZ_LARGE, 'safe' : SAFE_OFF, 'filter' : FILTER_ON,
'start' : page*rsz, 'rsz': self.rsz, 'safe' : self.safe, 'filter' : self.filter,
def __search__(self,print_results = False): results = [] for page in range(0,self.pages): args = {'q' : self.query, 'v' : '1.0', 'start' : page, 'rsz': RSZ_LARGE, 'safe' : SAFE_OFF, 'filter' : FILTER_ON, } q = urllib.urlencode(args) search_results = urllib.urlopen(URL+q) data = json.loads(search_results.read()) if prin...
52bde302eb267a4f6ed28911af4539771bc8e9c0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7667/52bde302eb267a4f6ed28911af4539771bc8e9c0/pygoogle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3072, 972, 12, 2890, 16, 1188, 67, 4717, 273, 1083, 4672, 1686, 273, 5378, 364, 1363, 316, 1048, 12, 20, 16, 2890, 18, 7267, 4672, 833, 273, 13666, 85, 11, 294, 365, 18, 2271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3072, 972, 12, 2890, 16, 1188, 67, 4717, 273, 1083, 4672, 1686, 273, 5378, 364, 1363, 316, 1048, 12, 20, 16, 2890, 18, 7267, 4672, 833, 273, 13666, 85, 11, 294, 365, 18, 2271, ...
self.lineCallback('')
def __init__(self, serverName, serverPort, lineCallback): BrighterAsyncChat.__init__(self) self.lineCallback = lineCallback self.request = '' self.set_terminator('\r\n') self.create_socket(socket.AF_INET, socket.SOCK_STREAM) try: self.connect((serverName, serverPort)) except socket.error, e: print >>sys.stderr, "Can't ...
eaf8caa39a525cec79a3160b87eb198460cbe7b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/eaf8caa39a525cec79a3160b87eb198460cbe7b1/pop3proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 10926, 16, 1438, 2617, 16, 980, 2428, 4672, 605, 86, 18117, 2771, 14163, 16186, 2738, 972, 12, 2890, 13, 365, 18, 1369, 2428, 273, 980, 2428, 365, 18, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10926, 16, 1438, 2617, 16, 980, 2428, 4672, 605, 86, 18117, 2771, 14163, 16186, 2738, 972, 12, 2890, 13, 365, 18, 1369, 2428, 273, 980, 2428, 365, 18, 22...
computingElement = self.computingElements[self.computingElement] submission = computingElement.submitJob(pilotScript, '', '', '')
submission = self.computingElement.submitJob(pilotScript, '', '', '')
def _submitPilots( self, workDir, taskQueueDict, pilotOptions, pilotsToSubmit, ceMask, submitPrivatePilot, privateTQ, proxy, pilotsPerJob ): """ This method does the actual pilot submission to the DIRAC CE The logic is as follows: - If there are no available CE it return error - If there is no queue available in the CE...
eece7f82aa4bf7bef3f9e8cb3f06a5d9125ef708 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/eece7f82aa4bf7bef3f9e8cb3f06a5d9125ef708/DIRACPilotDirector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9297, 52, 330, 6968, 12, 365, 16, 1440, 1621, 16, 1562, 3183, 5014, 16, 293, 22797, 1320, 16, 24970, 6968, 774, 11620, 16, 5898, 5796, 16, 4879, 6014, 52, 22797, 16, 3238, 56, 53,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9297, 52, 330, 6968, 12, 365, 16, 1440, 1621, 16, 1562, 3183, 5014, 16, 293, 22797, 1320, 16, 24970, 6968, 774, 11620, 16, 5898, 5796, 16, 4879, 6014, 52, 22797, 16, 3238, 56, 53,...
doLast.extend(('RFC822.HEADER', hdrs))
response.extend(('RFC822.HEADER', hdrs))
def _sendMessageFetchResponse(self, msgId, msg, query, uid): seenUID = False response = [] doLast = [] for part in query: if part.type == 'envelope': response.extend(('ENVELOPE', getEnvelope(msg))) elif part.type == 'flags': response.extend(('FLAGS', msg.getFlags())) elif part.type == 'internaldate': response.extend(('...
91f4292b4c9a7bb539c860f586f691c41e2a3363 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/91f4292b4c9a7bb539c860f586f691c41e2a3363/imap4.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4661, 1079, 5005, 1064, 12, 2890, 16, 1234, 548, 16, 1234, 16, 843, 16, 4555, 4672, 5881, 3060, 273, 1083, 766, 273, 5378, 741, 3024, 273, 5378, 364, 1087, 316, 843, 30, 309, 1087...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4661, 1079, 5005, 1064, 12, 2890, 16, 1234, 548, 16, 1234, 16, 843, 16, 4555, 4672, 5881, 3060, 273, 1083, 766, 273, 5378, 741, 3024, 273, 5378, 364, 1087, 316, 843, 30, 309, 1087...
'xsize': image.xsize, 'xsize': image.xsize, 'xsize': image.xsize}
'ysize': image.ysize, 'zsize': image.zsize, 'tsize': image.tsize, 'glmin': amin(data_magnitude.flat), 'glmax': amax(data_magnitude.flat), 'orient': '\0'}
def write_hdr(self, filename): "Write ANALYZE format header (.hdr) file." image = self.image imagevalues = { 'datatype': self.datatype, 'bitpix': datatype2bitpix[self.datatype], 'ndim': image.ndim, 'xdim': image.xdim, 'ydim': image.ydim, 'zdim': image.zdim, 'tdim': image.tdim, 'xsize': image.xsize, 'xsize': image.xsize...
e592da7c83d029a76dda40bfb9b0d5f7e82a74ed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7241/e592da7c83d029a76dda40bfb9b0d5f7e82a74ed/analyze.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 16587, 12, 2890, 16, 1544, 4672, 315, 3067, 27514, 3794, 740, 1446, 261, 18, 16587, 13, 585, 1199, 1316, 273, 365, 18, 2730, 1316, 2372, 273, 288, 296, 21540, 4278, 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, 1045, 67, 16587, 12, 2890, 16, 1544, 4672, 315, 3067, 27514, 3794, 740, 1446, 261, 18, 16587, 13, 585, 1199, 1316, 273, 365, 18, 2730, 1316, 2372, 273, 288, 296, 21540, 4278, 365, 18, ...
if len(from_addr_list) != 1:
if len(from_addr_list) == 0:
def __addr_list(string): return re.split('.*?([\w\.]+@[\w\.]+)', string)[1:-1:2]
24aadb3f7d7347d22c5b7afdd0b8989cccb11a9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12366/24aadb3f7d7347d22c5b7afdd0b8989cccb11a9b/mail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4793, 67, 1098, 12, 1080, 4672, 327, 283, 18, 4939, 2668, 23498, 14026, 91, 5834, 3737, 36, 7438, 91, 5834, 7941, 2187, 533, 25146, 21, 30, 17, 21, 30, 22, 65, 2, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4793, 67, 1098, 12, 1080, 4672, 327, 283, 18, 4939, 2668, 23498, 14026, 91, 5834, 3737, 36, 7438, 91, 5834, 7941, 2187, 533, 25146, 21, 30, 17, 21, 30, 22, 65, 2, -100, -100, -...
show_dir = '/'.join(REQUEST.get('_e', []))
def contentValues(self, spec=None, filter=None, sort_on=None, reverse=0): """ CMFPlone.PloneFolder.PloneFolder.contentValues """ filteredFileList = [] filteredFolderList = [] REQUEST = self.REQUEST
16b617800e575a37b82739b1f1fe95edd774f1d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/16b617800e575a37b82739b1f1fe95edd774f1d7/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 913, 1972, 12, 2890, 16, 857, 33, 7036, 16, 1034, 33, 7036, 16, 1524, 67, 265, 33, 7036, 16, 4219, 33, 20, 4672, 3536, 385, 13542, 1749, 476, 18, 1749, 476, 3899, 18, 1749, 476, 3899...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 913, 1972, 12, 2890, 16, 857, 33, 7036, 16, 1034, 33, 7036, 16, 1524, 67, 265, 33, 7036, 16, 4219, 33, 20, 4672, 3536, 385, 13542, 1749, 476, 18, 1749, 476, 3899, 18, 1749, 476, 3899...
if not self.string:
if self.index >= len(self.string):
def __next(self):
d46b2a42eda94cbac3b610e36d5f97230d629068 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d46b2a42eda94cbac3b610e36d5f97230d629068/sre_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4285, 12, 2890, 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, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4285, 12, 2890, 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, -100, -100, -100, -...
@python_version(2, 5, 0) def test_etree_format_error(self): '''Test ETree format in error conditions'''
def test_xmlnode_format_error(self): '''Test XMLNode format in error conditions'''
def test_xmlnode_format(self): '''Test XMLNode format'''
4b6048de18bd149a23e83c4542e2eb4275564893 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/501/4b6048de18bd149a23e83c4542e2eb4275564893/test_flicrkapi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2902, 2159, 67, 2139, 12, 2890, 4672, 9163, 4709, 3167, 907, 740, 26418, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2902, 2159, 67, 2139, 12, 2890, 4672, 9163, 4709, 3167, 907, 740, 26418, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if train_message(message, isspam, mgr, False):
if train_message(message, isspam, mgr):
def train_folder( f, isspam, mgr, progress): num = num_added = 0 for message in f.GetMessageGenerator(): if progress.stop_requested(): break progress.tick() try: if train_message(message, isspam, mgr, False): num_added += 1 except: print "Error training message '%s'" % (message,) traceback.print_exc() num += 1 print "C...
9d6fcdafbf4eb42c71c4117e8182f0d957865efd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/9d6fcdafbf4eb42c71c4117e8182f0d957865efd/train.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4691, 67, 5609, 12, 284, 16, 353, 1752, 301, 16, 13333, 16, 4007, 4672, 818, 273, 818, 67, 9665, 273, 374, 364, 883, 316, 284, 18, 967, 1079, 3908, 13332, 309, 4007, 18, 5681, 67, 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, 4691, 67, 5609, 12, 284, 16, 353, 1752, 301, 16, 13333, 16, 4007, 4672, 818, 273, 818, 67, 9665, 273, 374, 364, 883, 316, 284, 18, 967, 1079, 3908, 13332, 309, 4007, 18, 5681, 67, 19...
def docfunction(self, object, funcs={}, classes={}, methods={}, clname=''): """Produce HTML documentation for a function object.""" args, varargs, varkw, defaults = inspect.getargspec(object) argspec = inspect.formatargspec( args, varargs, varkw, defaults, formatvalue=self.formatvalue) if object.__name__ == '<lambda>'...
def docroutine(self, object, funcs={}, classes={}, methods={}, clname=''): """Produce HTML documentation for a function or method object.""" if inspect.ismethod(object): object = object.im_func if inspect.isbuiltin(object): decl = '<a name="%s"><strong>%s</strong>(...)</a>\n' % ( clname + '-' + object.__name__, object....
def docfunction(self, object, funcs={}, classes={}, methods={}, clname=''): """Produce HTML documentation for a function object.""" args, varargs, varkw, defaults = inspect.getargspec(object) argspec = inspect.formatargspec( args, varargs, varkw, defaults, formatvalue=self.formatvalue)
bb384e153d6614fce08e58bada5e06402dc8b3e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/bb384e153d6614fce08e58bada5e06402dc8b3e4/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 915, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 28793, 2590, 28793, 927, 529, 2218, 11, 4672, 3536, 25884, 3982, 7323, 364, 279, 445, 733, 12123, 833, 16, 19732, 16, 569, 9987, 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, 997, 915, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 28793, 2590, 28793, 927, 529, 2218, 11, 4672, 3536, 25884, 3982, 7323, 364, 279, 445, 733, 12123, 833, 16, 19732, 16, 569, 9987, 16, ...
self.driver.glr_translate(rho + screw)
self.driver.glr_translate(-rho + screw)
def gldl_iter_multidraw_animate(self): """ """ ## optimization: if a rotation of 0.0 degrees was already ## drawn, then there is no need to draw it again zero_rot = False for Lx_axis, Lx_rho, Lx_pitch, Lx_rot, Lx_scale in ( ("L1_eigen_vec", "L1_rho", "L1_pitch", "L1_rot", "L1_scale"), ("L2_eigen_vec", "L2_rho", "L2_pi...
4d5284e4c4b1286073a18f9657c98f6fd520870d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10674/4d5284e4c4b1286073a18f9657c98f6fd520870d/TLS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 314, 1236, 80, 67, 2165, 67, 5421, 350, 1899, 67, 304, 4988, 12, 2890, 4672, 3536, 3536, 7541, 14850, 30, 309, 279, 6752, 434, 374, 18, 20, 10904, 1703, 1818, 7541, 19377, 16, 1508, 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, 314, 1236, 80, 67, 2165, 67, 5421, 350, 1899, 67, 304, 4988, 12, 2890, 4672, 3536, 3536, 7541, 14850, 30, 309, 279, 6752, 434, 374, 18, 20, 10904, 1703, 1818, 7541, 19377, 16, 1508, 19...
self.add_latex_line("\\rput(%s){\\rput(%s;%s){%s}}"%(p.psNom,str(mark.dist),str(mark.angle),str(mark.mark)))
self.add_latex_line("\\rput(%s){\\rput(%s;%s){%s}}"%(p.psNom,str(mark.dist),str(mark.angle),str(mark.text)))
def DrawGraphOfAPoint(self,graphe): p = graphe.point self.BB.AddPoint(p) self.add_latex_line( p.code(graphe.params()) ) if graphe.marque : mark = graphe.mark if p.psNom not in self.listePoint : self.AddPoint(p) #self.add_latex_line("\\rput("+p.psNom+"){\\rput("+str(dist)+";"+str(angle)+"){"+marque+"}}") self.add_latex_...
a24a9d5061055b9ef0fc6697dcbfed8ef9a7abae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5111/a24a9d5061055b9ef0fc6697dcbfed8ef9a7abae/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10184, 4137, 951, 37, 2148, 12, 2890, 16, 75, 1266, 580, 4672, 293, 273, 314, 1266, 580, 18, 1153, 365, 18, 9676, 18, 986, 2148, 12, 84, 13, 365, 18, 1289, 67, 26264, 67, 1369, 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, 10184, 4137, 951, 37, 2148, 12, 2890, 16, 75, 1266, 580, 4672, 293, 273, 314, 1266, 580, 18, 1153, 365, 18, 9676, 18, 986, 2148, 12, 84, 13, 365, 18, 1289, 67, 26264, 67, 1369, 12, ...
logger.warn('ZCache_invalidate() exception', exc_info=exc)
logger.warn('ZCache_invalidate() exception', exc_info=True)
def ZCacheable_invalidate(self, view_name='', REQUEST=None): '''Called after a cacheable object is edited. Causes all cache entries that apply to the view_name to be removed. Returns a status message. ''' c = self.ZCacheable_getCache() if c is not None: ob, view_name = self.ZCacheable_getObAndView(view_name) try: messa...
110fdc8e627dd5f7badd89d4db033df19a845824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/110fdc8e627dd5f7badd89d4db033df19a845824/Cache.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2285, 1649, 429, 67, 5387, 340, 12, 2890, 16, 1476, 67, 529, 2218, 2187, 12492, 33, 7036, 4672, 9163, 8185, 1839, 279, 27730, 733, 353, 18532, 18, 385, 9608, 777, 1247, 3222, 716, 2230, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2285, 1649, 429, 67, 5387, 340, 12, 2890, 16, 1476, 67, 529, 2218, 2187, 12492, 33, 7036, 4672, 9163, 8185, 1839, 279, 27730, 733, 353, 18532, 18, 385, 9608, 777, 1247, 3222, 716, 2230, ...
ogr_module],debug=0 )
ogr_module] )
def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys()
da413af4cf4fdf695d5369fffb4387c28d7af276 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10290/da413af4cf4fdf695d5369fffb4387c28d7af276/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3089, 12, 1098, 4672, 3536, 510, 355, 275, 628, 1635, 3651, 3875, 2728, 8395, 2065, 273, 2618, 364, 761, 316, 666, 30, 2065, 63, 1726, 65, 273, 875, 327, 2065, 18, 2452, 1435, 282, 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, 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, 3089, 12, 1098, 4672, 3536, 510, 355, 275, 628, 1635, 3651, 3875, 2728, 8395, 2065, 273, 2618, 364, 761, 316, 666, 30, 2065, 63, 1726, 65, 273, 875, 327, 2065, 18, 2452, 1435, 282, 2, ...
pos = timestamp.find(result)
pos = timestamp.find(result['statusScheduler'])
def getJobInfo( jobidInfo, states ): """ fill job dictionary with LB informations """ statusMap = { 'Undefined':'UN', 'Submitted':'SU', 'Waiting':'SW', 'Ready':'SR', 'Scheduled':'SS', 'Running':'R', 'Done':'SD', 'Cleared':'E', 'Aborted':'A', 'Cancelled':'K', 'Unknown':'UN', 'Done(failed)':'DA' } result = {} jobid = s...
43af6105e9d5349982edb0545ae3eee8c5a96120 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/43af6105e9d5349982edb0545ae3eee8c5a96120/GLiteLBQuery.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13024, 966, 12, 1719, 350, 966, 16, 5493, 262, 30, 3536, 3636, 1719, 3880, 598, 511, 38, 26978, 3536, 225, 1267, 863, 273, 288, 296, 10317, 11, 2497, 2124, 2187, 296, 28882, 11, 2497, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13024, 966, 12, 1719, 350, 966, 16, 5493, 262, 30, 3536, 3636, 1719, 3880, 598, 511, 38, 26978, 3536, 225, 1267, 863, 273, 288, 296, 10317, 11, 2497, 2124, 2187, 296, 28882, 11, 2497, ...
ext = 'html'
ext = ('html','htm')
def writem(items,lang=0): scsw_tmp = u'' for item in items: if isinstance(item,Color): values = unicc(item.values) scsw_tmp += '\t<COLOR ' if 'CMYK' in values: C,M,Y,K = values['CMYK'] scsw_tmp += 'CMYK="#'+hex2(C*255)+hex2(M*255)+hex2(Y*255)+hex2(K*255)+'"' elif 'Gray' in values: K = values['Gray'][0] scsw_tmp += 'CMY...
e82a28d664a81e8aae63bc81d71260fa4050cd44 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9936/e82a28d664a81e8aae63bc81d71260fa4050cd44/codecs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2518, 351, 12, 3319, 16, 4936, 33, 20, 4672, 888, 5328, 67, 5645, 273, 582, 6309, 364, 761, 316, 1516, 30, 309, 1549, 12, 1726, 16, 2957, 4672, 924, 273, 640, 335, 71, 12, 1726, 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, 2518, 351, 12, 3319, 16, 4936, 33, 20, 4672, 888, 5328, 67, 5645, 273, 582, 6309, 364, 761, 316, 1516, 30, 309, 1549, 12, 1726, 16, 2957, 4672, 924, 273, 640, 335, 71, 12, 1726, 18, ...
TypeError: l (=[0, 'a']) must be an iterable of 2 integers
TypeError: arg (=[0, 'a']) must be an iterable of 2 integers
def iter_morphisms(self, l=None, codomain=None, min_length=1): r""" Iterate over all morphisms with domain ``self`` and the given codmain.
ea0105ebeeb1b7b0ad31af91c2a4d8009f5a46e9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ea0105ebeeb1b7b0ad31af91c2a4d8009f5a46e9/words.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 81, 7657, 23749, 12, 2890, 16, 328, 33, 7036, 16, 11012, 1530, 33, 7036, 16, 1131, 67, 2469, 33, 21, 4672, 436, 8395, 11436, 1879, 777, 14354, 23749, 598, 2461, 12176, 2890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 67, 81, 7657, 23749, 12, 2890, 16, 328, 33, 7036, 16, 11012, 1530, 33, 7036, 16, 1131, 67, 2469, 33, 21, 4672, 436, 8395, 11436, 1879, 777, 14354, 23749, 598, 2461, 12176, 2890, ...
num = random.random()* game.state.galaxy[nq.x][nq.y].stars + 1
num = random.randrange(game.state.galaxy[nq.x][nq.y].stars) + 1
def supernova(induced, w=None): # star goes supernova num = 0; npdead = 0 nq = coord() if w != None: nq = w else: stars = 0 # Scheduled supernova -- select star # logic changed here so that we won't favor quadrants in top # left of universe for nq.x in range(GALSIZE): for nq.y in range(GALSIZE): stars += game.state.gal...
0d9b3680e4d93294693b06490b64230f9f97f62b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3176/0d9b3680e4d93294693b06490b64230f9f97f62b/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2240, 82, 16739, 12, 728, 26372, 16, 341, 33, 7036, 4672, 468, 10443, 13998, 2240, 82, 16739, 818, 273, 374, 31, 1130, 22097, 273, 374, 290, 85, 273, 2745, 1435, 309, 341, 480, 599, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2240, 82, 16739, 12, 728, 26372, 16, 341, 33, 7036, 4672, 468, 10443, 13998, 2240, 82, 16739, 818, 273, 374, 31, 1130, 22097, 273, 374, 290, 85, 273, 2745, 1435, 309, 341, 480, 599, 30...
return delta/60/60
delta = float(delta.seconds) hours = delta/60/60 return "%.02f" % hours
def length(self): if self.outtime: delta = self.outtime - self.intime return delta/60/60 else: return datetime.timedelta(0)
fe8df06e8192ed02b001bd7a1ef2d947125f557b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10742/fe8df06e8192ed02b001bd7a1ef2d947125f557b/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 769, 12, 2890, 4672, 309, 365, 18, 659, 957, 30, 3622, 273, 365, 18, 659, 957, 300, 365, 18, 474, 494, 3622, 273, 1431, 12, 9878, 18, 7572, 13, 7507, 273, 3622, 19, 4848, 19, 4848, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 769, 12, 2890, 4672, 309, 365, 18, 659, 957, 30, 3622, 273, 365, 18, 659, 957, 300, 365, 18, 474, 494, 3622, 273, 1431, 12, 9878, 18, 7572, 13, 7507, 273, 3622, 19, 4848, 19, 4848, ...
def __init__(self, allow_none=False): SimpleXMLRPCDispatcher.__init__(self, allow_none)
def __init__(self, allow_none=False, encoding=None): SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding)
def __init__(self, allow_none=False): SimpleXMLRPCDispatcher.__init__(self, allow_none)
4fbf9d2e4f8201535ad2c67e404f8941b771231f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/4fbf9d2e4f8201535ad2c67e404f8941b771231f/SimpleXMLRPCServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1699, 67, 6102, 33, 8381, 4672, 4477, 4201, 8087, 6681, 16186, 2738, 972, 12, 2890, 16, 1699, 67, 6102, 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, 1001, 2738, 972, 12, 2890, 16, 1699, 67, 6102, 33, 8381, 4672, 4477, 4201, 8087, 6681, 16186, 2738, 972, 12, 2890, 16, 1699, 67, 6102, 13, 2, -100, -100, -100, -100, -100, -100, -100, ...
completion = function(buffer[:cursor], state)
completion = function(delimited, state)
def complete_handler(buffer, cursor, candidates): for state in xrange(100): # TODO arbitrary, what's the number used by gnu readline? completion = None try: completion = function(buffer[:cursor], state) except: pass if completion: candidates.add(completion) else: break return 0
24d3df536f1a55ecda3dd9e7f94f30c1a507dddb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6753/24d3df536f1a55ecda3dd9e7f94f30c1a507dddb/readline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3912, 67, 4176, 12, 4106, 16, 3347, 16, 7965, 4672, 364, 919, 316, 12314, 12, 6625, 4672, 468, 2660, 11078, 16, 4121, 1807, 326, 1300, 1399, 635, 314, 13053, 12023, 35, 8364, 273, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3912, 67, 4176, 12, 4106, 16, 3347, 16, 7965, 4672, 364, 919, 316, 12314, 12, 6625, 4672, 468, 2660, 11078, 16, 4121, 1807, 326, 1300, 1399, 635, 314, 13053, 12023, 35, 8364, 273, 599, ...
<dd>Go to the BibIndex interface to modify</dd>
<dd>Go to the BibIndex interface to modify the available search fields</dd>
def perform_showsearchfields(colID, ln=cdslang, callback='yes', content='', confirm=-1): """show the search fields of this collection..""" colID = int(colID) col_dict = dict(get_def_name('', "collection")) fld_dict = dict(get_def_name('', "field")) fld_type = get_sort_nametypes() subtitle = """<a name="6">6. Modify s...
6befe5242f9eb7b0ab45f13d8f331e14eff6cef5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/6befe5242f9eb7b0ab45f13d8f331e14eff6cef5/websearchadminlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 4500, 3072, 2821, 12, 1293, 734, 16, 7211, 33, 4315, 2069, 539, 16, 1348, 2218, 9707, 2187, 913, 2218, 2187, 6932, 29711, 21, 4672, 3536, 4500, 326, 1623, 1466, 434, 333, 1849,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 4500, 3072, 2821, 12, 1293, 734, 16, 7211, 33, 4315, 2069, 539, 16, 1348, 2218, 9707, 2187, 913, 2218, 2187, 6932, 29711, 21, 4672, 3536, 4500, 326, 1623, 1466, 434, 333, 1849,...
... xmin=0,ymin=-2,xmax=2,ymax=0,figsize=[2,2])
... xmin=0,ymin=-2,xmax=2,ymax=0,figsize=[2,2])
def __getslice__(self, *args): """ Slice this animation returning a subanimation.
fc5c762cc3083b7e82309285e62691e1339fba2c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/fc5c762cc3083b7e82309285e62691e1339fba2c/animate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 6665, 972, 12, 2890, 16, 380, 1968, 4672, 3536, 10506, 333, 8794, 5785, 279, 720, 30822, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 588, 6665, 972, 12, 2890, 16, 380, 1968, 4672, 3536, 10506, 333, 8794, 5785, 279, 720, 30822, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
return NaN
return _NaN
def handle(self, context, *args): return NaN
335c6f295295ab5b62a80d25d26d89243eb80fb0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/335c6f295295ab5b62a80d25d26d89243eb80fb0/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 16, 819, 16, 380, 1968, 4672, 327, 10180, 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, 1640, 12, 2890, 16, 819, 16, 380, 1968, 4672, 327, 10180, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
(get_version_string("Outlook"), get_version_string())
(get_version_string("Outlook", version_key), get_version_string())
def OnConnection(self, application, connectMode, addin, custom): # Handle failures during initialization so that we are not # automatically disabled by Outlook. # Our error reporter is in the "manager" module, so we get that first locale.setlocale(locale.LC_NUMERIC, "C") # see locale comments above import manager try: ...
3ec7a475f0d817674934d6370002a2d676a70112 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/3ec7a475f0d817674934d6370002a2d676a70112/addin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1952, 12, 2890, 16, 2521, 16, 3077, 2309, 16, 527, 267, 16, 1679, 4672, 468, 5004, 11720, 4982, 10313, 1427, 716, 732, 854, 486, 468, 6635, 5673, 635, 2976, 7330, 18, 468, 29613, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1952, 12, 2890, 16, 2521, 16, 3077, 2309, 16, 527, 267, 16, 1679, 4672, 468, 5004, 11720, 4982, 10313, 1427, 716, 732, 854, 486, 468, 6635, 5673, 635, 2976, 7330, 18, 468, 29613, ...
runs.append((p, n))
runsappend((p, n))
def _optimize_charset(charset, fixup): # internal: optimize character set out = [] charmap = [False]*256 try: for op, av in charset: if op is NEGATE: out.append((op, av)) elif op is LITERAL: charmap[fixup(av)] = True elif op is RANGE: for i in range(fixup(av[0]), fixup(av[1])+1): charmap[i] = True elif op is CATEGORY: ...
2177055b902a7e649c7988bb4499ab5115b4ea1d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/2177055b902a7e649c7988bb4499ab5115b4ea1d/sre_compile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 29155, 67, 9999, 12, 9999, 16, 2917, 416, 4672, 468, 2713, 30, 10979, 3351, 444, 596, 273, 5378, 1149, 1458, 273, 306, 8381, 5772, 5034, 775, 30, 364, 1061, 16, 1712, 316, 4856, 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, 389, 29155, 67, 9999, 12, 9999, 16, 2917, 416, 4672, 468, 2713, 30, 10979, 3351, 444, 596, 273, 5378, 1149, 1458, 273, 306, 8381, 5772, 5034, 775, 30, 364, 1061, 16, 1712, 316, 4856, 3...
print self.doc_leader
self.stdout.write("%s\n"%str(self.doc_leader))
def do_help(self, arg): if arg: # XXX check arg syntax try: func = getattr(self, 'help_' + arg) except AttributeError: try: doc=getattr(self, 'do_' + arg).__doc__ if doc: print doc return except AttributeError: pass print self.nohelp % (arg,) return func() else: names = self.get_names() cmds_doc = [] cmds_undoc = [] he...
90e52fb339295b9beb2c32ed803b2fefd10dad3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/90e52fb339295b9beb2c32ed803b2fefd10dad3b/cmd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5201, 12, 2890, 16, 1501, 4672, 309, 1501, 30, 468, 11329, 866, 1501, 6279, 775, 30, 1326, 273, 3869, 12, 2890, 16, 296, 5201, 4623, 397, 1501, 13, 1335, 6394, 30, 775, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5201, 12, 2890, 16, 1501, 4672, 309, 1501, 30, 468, 11329, 866, 1501, 6279, 775, 30, 1326, 273, 3869, 12, 2890, 16, 296, 5201, 4623, 397, 1501, 13, 1335, 6394, 30, 775, 30, ...
border = 4 step = 32 ms = 80
border = 8 fadetime = 1.5 ms = 40
def set_string(window): value = window.child.text config.set("plugins", "animosd_string", value) self.conf.string = value
cf048ca13b791e2e682303470b5f9dfaf1a92d04 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4764/cf048ca13b791e2e682303470b5f9dfaf1a92d04/animosd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 1080, 12, 5668, 4672, 460, 273, 2742, 18, 3624, 18, 955, 642, 18, 542, 2932, 8057, 3113, 315, 304, 381, 538, 72, 67, 1080, 3113, 460, 13, 365, 18, 3923, 18, 1080, 273, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 1080, 12, 5668, 4672, 460, 273, 2742, 18, 3624, 18, 955, 642, 18, 542, 2932, 8057, 3113, 315, 304, 381, 538, 72, 67, 1080, 3113, 460, 13, 365, 18, 3923, 18, 1080, 273, 460, ...
day = int(mo.group(day)) year = int(mo.group(year)) hour = int(mo.group(hour)) min = int(mo.group(min)) sec = int(mo.group(sec)) zoneh = int(mo.group(zoneh)) zonem = int(mo.group(zonem))
day = int(mo.group('day')) year = int(mo.group('year')) hour = int(mo.group('hour')) min = int(mo.group('min')) sec = int(mo.group('sec')) zoneh = int(mo.group('zoneh')) zonem = int(mo.group('zonem'))
def Internaldate2tuple(resp): """Convert IMAP4 INTERNALDATE to UT. Returns Python time module tuple. """ mo = InternalDate.match(resp) if not mo: return None mon = Mon2num[mo.group('mon')] zonen = mo.group('zonen') day = int(mo.group(day)) year = int(mo.group(year)) hour = int(mo.group(hour)) min = int(mo.group(min...
4e3df4a70e13b2e14affc5edf6019371f0c6033d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/4e3df4a70e13b2e14affc5edf6019371f0c6033d/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3186, 712, 22, 8052, 12, 12243, 4672, 3536, 2723, 6246, 2203, 24, 18139, 4594, 358, 4732, 18, 225, 2860, 6600, 813, 1605, 3193, 18, 3536, 225, 7344, 273, 3186, 1626, 18, 1916, 12, 12243,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3186, 712, 22, 8052, 12, 12243, 4672, 3536, 2723, 6246, 2203, 24, 18139, 4594, 358, 4732, 18, 225, 2860, 6600, 813, 1605, 3193, 18, 3536, 225, 7344, 273, 3186, 1626, 18, 1916, 12, 12243,...
The name may be None, indicating an anonymous component."""
The name may be None, indicating an anonymous component. The targetNamespace is None only in the case of an ElementDeclaration that appears within a model group. Regardless, the name and targetNamespace values are immutable after creation. This class overrides the pickling behavior: when pickling a Namespace, object...
def annotation (self): return self.__annotation
d564904c54eda6ecda7cdea92b5f10e44422c2fc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/d564904c54eda6ecda7cdea92b5f10e44422c2fc/structures.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3204, 261, 2890, 4672, 327, 365, 16186, 11495, 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, 3204, 261, 2890, 4672, 327, 365, 16186, 11495, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns
def _build_indexpages(self, by_pred_obj, by_subj_pred): documents = defaultdict(lambda:defaultdict(list)) pagetitles = {} pagelabels = {} fsnr_pred = Util.ns['rinfo']+'fsNummer' title_pred = Util.ns['dct']+'title' type_pred = Util.ns['rdf']+'type' type_obj = Util.ns['rinfo']+'KonsolideradGrundforfattning' year_lbl ...
30f65f43c5945f0752bd9b5615305502f71d50cd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4027/30f65f43c5945f0752bd9b5615305502f71d50cd/SFS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3510, 67, 1615, 7267, 12, 2890, 16, 635, 67, 6510, 67, 2603, 16, 635, 67, 1717, 78, 67, 6510, 4672, 7429, 273, 13090, 12, 14661, 30, 1886, 1576, 12, 1098, 3719, 4262, 278, 9398, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3510, 67, 1615, 7267, 12, 2890, 16, 635, 67, 6510, 67, 2603, 16, 635, 67, 1717, 78, 67, 6510, 4672, 7429, 273, 13090, 12, 14661, 30, 1886, 1576, 12, 1098, 3719, 4262, 278, 9398, ...