rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
exactarch = 1
exactarch = 1
def main(): import getopt global cachedir if len(sys.argv) <= 1: usage() return 0 (_, hostname, kernelversion, _, arch) = os.uname() archlist = None owner = None if os.geteuid() == 0: owner = 1 homedir = os.environ.get("HOME", "") if homedir and not owner: cachedir = homedir + "/.pyrpm/cache/" if not os.path.isdir(cach...
e88bd7c78ae123c185f17919515d68d29510e836 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1143/e88bd7c78ae123c185f17919515d68d29510e836/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 336, 3838, 2552, 3472, 481, 309, 562, 12, 9499, 18, 19485, 13, 1648, 404, 30, 4084, 1435, 327, 374, 261, 67, 16, 5199, 16, 5536, 1589, 16, 389, 16, 6637, 13, 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, 2774, 13332, 1930, 336, 3838, 2552, 3472, 481, 309, 562, 12, 9499, 18, 19485, 13, 1648, 404, 30, 4084, 1435, 327, 374, 261, 67, 16, 5199, 16, 5536, 1589, 16, 389, 16, 6637, 13, 273, ...
reactor.callFromThread(reactor.callLater, timeout, self._publish)
reactor.callFromThread(reactor.callLater, timeout, self._subscribe)
def _NH_SIPSubscriptionChangedState(self, notification): route = notification.sender.route if notification.data.state.lower() in ('active', 'accepted'): self._subscription_routes = None self._subscription_wait = 0.5 if not self.success: self.output.put('Subscription succeeded at %s:%d;transport=%s' % (route.address, ro...
78d016cf3011f1dae8ffde6599ee729aed4b7464 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5703/78d016cf3011f1dae8ffde6599ee729aed4b7464/sip_subscribe_presence.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 50, 44, 67, 17739, 6663, 5033, 1119, 12, 2890, 16, 3851, 4672, 1946, 273, 3851, 18, 15330, 18, 5547, 309, 3851, 18, 892, 18, 2019, 18, 8167, 1435, 316, 7707, 3535, 2187, 296, 2384...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50, 44, 67, 17739, 6663, 5033, 1119, 12, 2890, 16, 3851, 4672, 1946, 273, 3851, 18, 15330, 18, 5547, 309, 3851, 18, 892, 18, 2019, 18, 8167, 1435, 316, 7707, 3535, 2187, 296, 2384...
columns = self.parse_columns(spanline)
columns = self.parse_columns(spanline[0])
def parse_row(self, lines, spanline=None): """ Given the text `lines` of a row, parse it and append to `self.table`.
a59996fd41f8da265c31207c8689563f34cb18eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/a59996fd41f8da265c31207c8689563f34cb18eb/tableparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 492, 12, 2890, 16, 2362, 16, 4548, 1369, 33, 7036, 4672, 3536, 16803, 326, 977, 1375, 3548, 68, 434, 279, 1027, 16, 1109, 518, 471, 714, 358, 1375, 2890, 18, 2121, 8338, 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, 1109, 67, 492, 12, 2890, 16, 2362, 16, 4548, 1369, 33, 7036, 4672, 3536, 16803, 326, 977, 1375, 3548, 68, 434, 279, 1027, 16, 1109, 518, 471, 714, 358, 1375, 2890, 18, 2121, 8338, 2, ...
else: return .0
return .0
def get_fy(self): '''Gets fire direction in Y (in [-1,1] for [top,bottom]).''' if self.js is None: keys = pygame.key.get_pressed() if keys[pygame.K_k]: return 1. elif keys[pygame.K_i]: return -1. else: return .0 else: return self.js.get_axis(3)
9b09cf6ef07d2ee54bff2ed908465c95a67128b1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4253/9b09cf6ef07d2ee54bff2ed908465c95a67128b1/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 74, 93, 12, 2890, 4672, 9163, 3002, 4452, 4068, 316, 1624, 261, 267, 23059, 21, 16, 21, 65, 364, 306, 3669, 16, 9176, 5717, 1093, 6309, 309, 365, 18, 2924, 353, 599, 30, 131...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 74, 93, 12, 2890, 4672, 9163, 3002, 4452, 4068, 316, 1624, 261, 267, 23059, 21, 16, 21, 65, 364, 306, 3669, 16, 9176, 5717, 1093, 6309, 309, 365, 18, 2924, 353, 599, 30, 131...
"selectMolsMode.chunkLeftUp")
"selectMolsMode.chunkLeftUp: ")
def chunkLeftUp(self, a_chunk, event): """ Depending on the modifier key(s) pressed, it does various operations on chunk. Example: if Shift and Control modkeys are pressed, it deletes the chunk @param a_chunk: The chunk of the object clicked (example, if the object is an atom, then it is atom.molecule @type a_chunk: B...
59e06dc0863ab93a15dabb56d38140ab314dfb3a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/59e06dc0863ab93a15dabb56d38140ab314dfb3a/selectMolsMode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2441, 3910, 1211, 12, 2890, 16, 279, 67, 6551, 16, 871, 4672, 3536, 4019, 2846, 603, 326, 9606, 498, 12, 87, 13, 19504, 16, 518, 1552, 11191, 5295, 603, 2441, 18, 5090, 30, 309, 21444,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2441, 3910, 1211, 12, 2890, 16, 279, 67, 6551, 16, 871, 4672, 3536, 4019, 2846, 603, 326, 9606, 498, 12, 87, 13, 19504, 16, 518, 1552, 11191, 5295, 603, 2441, 18, 5090, 30, 309, 21444,...
pip_egg_info_path = os.path.join(dist.location, dist.egg_name()) + '.egg-info'
pip_egg_info_path = os.path.join(dist.location, dist.egg_name()) + '.egg-info'
def uninstall(self, auto_confirm=False): assert self.check_if_exists(), "Cannot uninstall requirement %s, not installed" % (self.name,) dist = self.satisfied_by remove_paths = set() remove_from_easy_install_pth = set() easy_install_pth = os.path.join(lib_py, os.path.join('site-packages', 'easy-install.pth'))
83f9d9c18b33d7eaefd25541ebfcc8eb4c825233 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/83f9d9c18b33d7eaefd25541ebfcc8eb4c825233/pip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16577, 12, 2890, 16, 3656, 67, 10927, 33, 8381, 4672, 1815, 365, 18, 1893, 67, 430, 67, 1808, 9334, 315, 4515, 16577, 12405, 738, 87, 16, 486, 5876, 6, 738, 261, 2890, 18, 529, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16577, 12, 2890, 16, 3656, 67, 10927, 33, 8381, 4672, 1815, 365, 18, 1893, 67, 430, 67, 1808, 9334, 315, 4515, 16577, 12405, 738, 87, 16, 486, 5876, 6, 738, 261, 2890, 18, 529, 16, 1...
'jpg' : 'image/jpeg'
'jpg' : 'image/jpeg', 'xml' : 'text/xml'
def __init__(self, request, client_address, socket_server): self._connect_handlers = [ self.RedirectConnectHandler, self.ServerAuthConnectHandler, self.DefaultConnectResponseHandler] self._get_handlers = [ self.KillHandler, self.NoCacheMaxAgeTimeHandler, self.NoCacheTimeHandler, self.CacheTimeHandler, self.CacheExpires...
b77c6c1ddc8b9904c2080d8259a33da3d5715d56 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/b77c6c1ddc8b9904c2080d8259a33da3d5715d56/testserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 590, 16, 1004, 67, 2867, 16, 2987, 67, 3567, 4672, 365, 6315, 3612, 67, 11046, 273, 306, 365, 18, 5961, 5215, 1503, 16, 365, 18, 2081, 1730, 5215, 1503, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 590, 16, 1004, 67, 2867, 16, 2987, 67, 3567, 4672, 365, 6315, 3612, 67, 11046, 273, 306, 365, 18, 5961, 5215, 1503, 16, 365, 18, 2081, 1730, 5215, 1503, ...
"""Filter the newest packages from given list and return new list"""
"""Filter the newest packages from given list and return new list. Honors buildarchtranslate and noarch problems."""
def selectNewestPkgs(pkglist): """Filter the newest packages from given list and return new list""" rethash = {} for pkg in pkglist: key1 = pkg["name"]+".noarch" key2 = pkg["name"]+"."+buildarchtranslate[pkg["arch"]] if not rethash.has_key(key1): rethash[key1] = pkg rethash[key2] = pkg continue opkg = rethash[key1] key...
82bcb3b83c36501d695d43faa5508e8be1a4fb1d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/82bcb3b83c36501d695d43faa5508e8be1a4fb1d/functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 1908, 395, 7789, 564, 12, 10657, 1098, 4672, 3536, 1586, 326, 19824, 5907, 628, 864, 666, 471, 327, 394, 666, 18, 670, 265, 1383, 1361, 991, 13929, 471, 1158, 991, 9688, 12123, 325...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 1908, 395, 7789, 564, 12, 10657, 1098, 4672, 3536, 1586, 326, 19824, 5907, 628, 864, 666, 471, 327, 394, 666, 18, 670, 265, 1383, 1361, 991, 13929, 471, 1158, 991, 9688, 12123, 325...
self.basedir = os.path.join(os.getcwd(), "wc", "magic", "tests", "data")
self.basedir = os.path.join(os.getcwd(), "wc", "magic", "tests")
def setUp (self): self.basedir = os.path.join(os.getcwd(), "wc", "magic", "tests", "data")
cdf4040d35f899fb063190c5215112d46cabf1f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/cdf4040d35f899fb063190c5215112d46cabf1f6/test_magic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 261, 2890, 4672, 365, 18, 31722, 273, 1140, 18, 803, 18, 5701, 12, 538, 18, 588, 11089, 9334, 315, 27594, 3113, 315, 11179, 3113, 315, 16341, 3113, 315, 892, 7923, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 261, 2890, 4672, 365, 18, 31722, 273, 1140, 18, 803, 18, 5701, 12, 538, 18, 588, 11089, 9334, 315, 27594, 3113, 315, 11179, 3113, 315, 16341, 3113, 315, 892, 7923, 2, -100, -100, ...
folder_or_uri: gdata.docs.data.DocList or str (optional) An object with
folder_or_uri: gdata.docs.data.DocsEntry or str (optional) An object with
def upload(self, media, title, folder_or_uri=None, content_type=None, auth_token=None, **kwargs): """Uploads a file to Google Docs.
232eb79f73cfc439067391d85b8a318fa752395a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5609/232eb79f73cfc439067391d85b8a318fa752395a/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3617, 12, 2890, 16, 3539, 16, 2077, 16, 3009, 67, 280, 67, 1650, 33, 7036, 16, 913, 67, 723, 33, 7036, 16, 1357, 67, 2316, 33, 7036, 16, 2826, 4333, 4672, 3536, 18309, 279, 585, 358,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3617, 12, 2890, 16, 3539, 16, 2077, 16, 3009, 67, 280, 67, 1650, 33, 7036, 16, 913, 67, 723, 33, 7036, 16, 1357, 67, 2316, 33, 7036, 16, 2826, 4333, 4672, 3536, 18309, 279, 585, 358,...
for event in pygame.event.get(): if event.type == pygame.KEYDOWN: self.keypress.add(event.key) elif event.type == pygame.KEYUP: self.keypress.remove(event.key)
for evt in pygame.event.get(): if evt.type == pygame.KEYDOWN: self.keypress.add(evt.key) elif evt.type == pygame.KEYUP: self.keypress.remove(evt.key)
def tick(self, time_delta): # update self.keypress for event in pygame.event.get(): if event.type == pygame.KEYDOWN: self.keypress.add(event.key) elif event.type == pygame.KEYUP: self.keypress.remove(event.key)
54a44d83ed6bd26caf922f02137dda36e280ef52 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4543/54a44d83ed6bd26caf922f02137dda36e280ef52/bubbles.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4024, 12, 2890, 16, 813, 67, 9878, 4672, 468, 1089, 365, 18, 856, 1028, 364, 871, 316, 2395, 13957, 18, 2575, 18, 588, 13332, 309, 871, 18, 723, 422, 2395, 13957, 18, 3297, 12711, 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, 4024, 12, 2890, 16, 813, 67, 9878, 4672, 468, 1089, 365, 18, 856, 1028, 364, 871, 316, 2395, 13957, 18, 2575, 18, 588, 13332, 309, 871, 18, 723, 422, 2395, 13957, 18, 3297, 12711, 30, ...
matrix_string = '%s %f' % (matrix_string, matrix[j])
matrix_string = '%s %d' % (matrix_string, int(matrix[j]))
def convert(self, matrix):
2706cb6693fb6b09ac460907a898392388969dc5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3290/2706cb6693fb6b09ac460907a898392388969dc5/Mat2symop.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2890, 16, 3148, 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, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2890, 16, 3148, 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, -10...
show()
secureShow()
def parseCommandLineOptions(simulationClassList): ''' Parse the command line, and find out what the user wants from us. Argument: simulationClassList: list of (generated) simulation classes ''' import optparse import sys import freeode.ast as ast #for version string #set up parser for the command line aruments optPars...
b4e148be69d10a565e173479142f45bf886b3857 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2720/b4e148be69d10a565e173479142f45bf886b3857/simulatorbase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 21391, 1320, 12, 9812, 6234, 30546, 4672, 9163, 2884, 326, 1296, 980, 16, 471, 1104, 596, 4121, 326, 729, 14805, 628, 584, 18, 5067, 30, 14754, 30546, 30, 666, 434, 261, 11168, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 21391, 1320, 12, 9812, 6234, 30546, 4672, 9163, 2884, 326, 1296, 980, 16, 471, 1104, 596, 4121, 326, 729, 14805, 628, 584, 18, 5067, 30, 14754, 30546, 30, 666, 434, 261, 11168, 13,...
}
}, sortable=True, sort_on=1
def __init__(self, path): """ @type path: string @param path: A path for which to get log items """ InterfaceView.__init__(self, "log", "Log")
6a94700644988f2509404fe1949aac42de74b388 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5119/6a94700644988f2509404fe1949aac42de74b388/log.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 4672, 3536, 632, 723, 282, 589, 30, 533, 632, 891, 225, 589, 30, 432, 589, 364, 1492, 358, 336, 613, 1516, 225, 3536, 225, 6682, 1767, 16186, 2738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 4672, 3536, 632, 723, 282, 589, 30, 533, 632, 891, 225, 589, 30, 432, 589, 364, 1492, 358, 336, 613, 1516, 225, 3536, 225, 6682, 1767, 16186, 2738, ...
s = request.getSession() try: s.loggedin except AttributeError: s.loggedin = False
def render(self, request): """ override method of xmlrpc python twisted framework
f046132842c7b1c4db1e5c43576df0e594a8a5be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5988/f046132842c7b1c4db1e5c43576df0e594a8a5be/agent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 590, 4672, 3536, 3849, 707, 434, 31811, 5790, 2339, 25444, 8257, 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, 1743, 12, 2890, 16, 590, 4672, 3536, 3849, 707, 434, 31811, 5790, 2339, 25444, 8257, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if filterName == None:
if filterName is None:
def determineWcs(policy, exposure, sourceSet, filterName=None, log=None, doTrim=False): """Top level function for calculating a Wcs. Given an initial guess at a Wcs (hidden inside an exposure) and a set of sources (sourceSet), use astrometry.net to confirm the Wcs, then calculate distortion terms. Input: policy: ...
2fbf34fa5b79662d032af2de85782e42e5a72fb9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6522/2fbf34fa5b79662d032af2de85782e42e5a72fb9/determineWcs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4199, 59, 2143, 12, 5086, 16, 14620, 16, 1084, 694, 16, 25469, 33, 7036, 16, 613, 33, 7036, 16, 741, 14795, 33, 8381, 4672, 3536, 3401, 1801, 445, 364, 21046, 279, 678, 2143, 18, 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, 4199, 59, 2143, 12, 5086, 16, 14620, 16, 1084, 694, 16, 25469, 33, 7036, 16, 613, 33, 7036, 16, 741, 14795, 33, 8381, 4672, 3536, 3401, 1801, 445, 364, 21046, 279, 678, 2143, 18, 225, ...
if dupCount == 3:
if dupCount == 5:
def scrapeCourt(courtID, result, verbosity, daemonmode): if verbosity >= 1: result += "NOW SCRAPING COURT: " + str(courtID) + "\n" if verbosity >= 2: print "NOW SCRAPING COURT: " + str(courtID) if (courtID == 1): """ PDFs are available from the first circuit if you go to their RSS feed. So go to their RSS feed we shal...
5f8ab0dce527e0f00d170a17505b959be1785525 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6762/5f8ab0dce527e0f00d170a17505b959be1785525/scrape_and_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 25360, 29328, 88, 12, 71, 477, 88, 734, 16, 563, 16, 11561, 16, 8131, 3188, 4672, 309, 11561, 1545, 404, 30, 563, 1011, 315, 27091, 348, 5093, 2203, 1360, 7910, 1099, 56, 30, 315,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 25360, 29328, 88, 12, 71, 477, 88, 734, 16, 563, 16, 11561, 16, 8131, 3188, 4672, 309, 11561, 1545, 404, 30, 563, 1011, 315, 27091, 348, 5093, 2203, 1360, 7910, 1099, 56, 30, 315,...
device_rp = rbdir.append("aux") if device_rp.lstat(): local_edd = 1 else: local_edd = 0
try: device_rp = rbdir.append("aux") if device_rp.lstat(): local_edd = 1 else: local_edd = 0 except (OSError): local_edd = 1
def set_must_escape_dos_devices(self, rbdir): """If local edd or src edd, then must escape """ device_rp = rbdir.append("aux") if device_rp.lstat(): local_edd = 1 else: local_edd = 0 SetConnections.UpdateGlobal('must_escape_dos_devices', \ self.src_fsa.escape_dos_devices or local_edd) log.Log("Backup: must_escape_dos_d...
ca516f39e49e9ebfcf1ddc2b7e380123a1d1c72f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8033/ca516f39e49e9ebfcf1ddc2b7e380123a1d1c72f/fs_abilities.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 11926, 67, 6939, 67, 19219, 67, 12506, 12, 2890, 16, 7138, 1214, 4672, 3536, 2047, 1191, 1675, 72, 578, 1705, 1675, 72, 16, 1508, 1297, 4114, 3536, 775, 30, 2346, 67, 13832, 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, 444, 67, 11926, 67, 6939, 67, 19219, 67, 12506, 12, 2890, 16, 7138, 1214, 4672, 3536, 2047, 1191, 1675, 72, 578, 1705, 1675, 72, 16, 1508, 1297, 4114, 3536, 775, 30, 2346, 67, 13832, 2...
where5 = where4 + [('ressource_id','=',0)]
where5 = where4 + ['|', ('ressource_id','=',0), ('ressource_id','=',self.res_id)]
def _child_get(self, cr, name=None, domain=None): dirobj = self.context._dirobj
0cb5ccb45d72356e72b0fb025b06360d62a3fbf6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/0cb5ccb45d72356e72b0fb025b06360d62a3fbf6/nodes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3624, 67, 588, 12, 2890, 16, 4422, 16, 508, 33, 7036, 16, 2461, 33, 7036, 4672, 4314, 303, 441, 273, 365, 18, 2472, 6315, 3211, 303, 441, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3624, 67, 588, 12, 2890, 16, 4422, 16, 508, 33, 7036, 16, 2461, 33, 7036, 4672, 4314, 303, 441, 273, 365, 18, 2472, 6315, 3211, 303, 441, 2, -100, -100, -100, -100, -100, -100, ...
self.assertRaises(UnicodeError, 'g\xe2teau'.__contains__, u'\xe2')
self.assertRaises(UnicodeDecodeError, 'g\xe2teau'.__contains__, u'\xe2') self.assertRaises(UnicodeDecodeError, u'g\xe2teau'.__contains__, '\xe2')
def test_contains(self): # Testing Unicode contains method self.assertTrue('a' in u'abdb') self.assertTrue('a' in u'bdab') self.assertTrue('a' in u'bdaba') self.assertTrue('a' in u'bdba') self.assertTrue('a' in u'bdba') self.assertTrue(u'a' in u'bdba') self.assertTrue(u'a' not in u'bdb') self.assertTrue(u'a' not in 'bd...
c7c27d7ab517a6c4fbf4760e7c67514c2f831dc1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/c7c27d7ab517a6c4fbf4760e7c67514c2f831dc1/test_unicode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12298, 12, 2890, 4672, 468, 7766, 310, 9633, 1914, 707, 365, 18, 11231, 5510, 2668, 69, 11, 316, 582, 11, 378, 1966, 6134, 365, 18, 11231, 5510, 2668, 69, 11, 316, 582, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12298, 12, 2890, 4672, 468, 7766, 310, 9633, 1914, 707, 365, 18, 11231, 5510, 2668, 69, 11, 316, 582, 11, 378, 1966, 6134, 365, 18, 11231, 5510, 2668, 69, 11, 316, 582, 11, ...
newvals = input[val] keypage, key = map(decode_page, val.split('?')) if not request.user.may.write(keypage): continue keymetas = get_metas(request, keypage, [key], abs_attach=False) oldvals = keymetas[key] if oldvals != newvals or keychanges: changes.setdefault(keypage, dict()) if key in keychanges: if key.strip...
oldMeta, newMeta = pages.setdefault(page, (dict(), dict())) if oldKey: oldMetas = get_metas(request, page, [oldKey], abs_attach=False) oldValues = oldMetas[oldKey] oldMeta.setdefault(oldKey, list()).extend(oldValues) if newKey != oldKey: newMeta.setdefault(oldKey, list()).extend([""] * len(oldValues)) if newKey: m...
def process_meta_changes(request, input): changes = dict() keychanges = dict() keypage = '' # Key changes for key in input: if not key.startswith(':: '): continue newkey = input[key][0] key = key[3:] if key == newkey: continue # Form presents you with ' ' if the key box is empty if not newkey.strip(): newkey = '' #...
c61fc4082c5e23696768aeae4e2df3a97e8f3d94 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/c61fc4082c5e23696768aeae4e2df3a97e8f3d94/editing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3901, 67, 6329, 12, 2293, 16, 810, 4672, 3478, 273, 2065, 1435, 498, 6329, 273, 2065, 1435, 498, 2433, 273, 875, 225, 468, 1929, 3478, 364, 498, 316, 810, 30, 309, 486, 498, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3901, 67, 6329, 12, 2293, 16, 810, 4672, 3478, 273, 2065, 1435, 498, 6329, 273, 2065, 1435, 498, 2433, 273, 875, 225, 468, 1929, 3478, 364, 498, 316, 810, 30, 309, 486, 498, ...
As a general rule, any date-time representation that is
As a general rule, any date-time representation that is
def __init__(self,*args): """Return a new date-time object
dac48d40f92c430f5ac9efaf8d551dd274897852 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/dac48d40f92c430f5ac9efaf8d551dd274897852/DateTime.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 14, 1968, 4672, 3536, 990, 279, 394, 1509, 17, 957, 733, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 14, 1968, 4672, 3536, 990, 279, 394, 1509, 17, 957, 733, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
for filename in FileUtilities.children_in_directory(dirname, False):
for filename in children_in_directory(dirname, False):
def list_files(self): if self.options["recent_documents"][1] and not self.options["cache"][1]: for prefix in self.prefixes: path = os.path.join(os.path.expanduser(prefix), "user/registry/cache/org.openoffice.Office.Common.dat") if os.path.lexists(path): yield path
905c2a6f962a355b11ab87c2064796c54c6c1af5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/905c2a6f962a355b11ab87c2064796c54c6c1af5/CleanerBackend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2354, 12, 2890, 4672, 309, 365, 18, 2116, 9614, 20872, 67, 24795, 6, 6362, 21, 65, 471, 486, 365, 18, 2116, 9614, 2493, 6, 6362, 21, 14542, 364, 1633, 316, 365, 18, 17777, 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, 666, 67, 2354, 12, 2890, 4672, 309, 365, 18, 2116, 9614, 20872, 67, 24795, 6, 6362, 21, 65, 471, 486, 365, 18, 2116, 9614, 2493, 6, 6362, 21, 14542, 364, 1633, 316, 365, 18, 17777, 3...
check('c' in unicode('abc'), "'c' not in u'abc'") check('d' not in unicode('abc'), "'d' in u'abc'") check('' in unicode(''), "'' not in u''") check(unicode('') in '', "u'' not in ''") check(unicode('') in unicode(''), "u'' not in u''") check('' in unicode('abc'), "'' not in u'abc'") check(unicode('') in 'abc', "u'' ...
if __name__ == '__main__': test_main()
def check(ok, *args): if not ok: raise TestFailed, " ".join(map(str, args))
2ee30f8a6455291ff090aa80c6736686ef3f04e9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/2ee30f8a6455291ff090aa80c6736686ef3f04e9/test_contains.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 601, 16, 380, 1968, 4672, 309, 486, 1529, 30, 1002, 7766, 2925, 16, 315, 3552, 5701, 12, 1458, 12, 701, 16, 833, 3719, 225, 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, 866, 12, 601, 16, 380, 1968, 4672, 309, 486, 1529, 30, 1002, 7766, 2925, 16, 315, 3552, 5701, 12, 1458, 12, 701, 16, 833, 3719, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
repr(sys.version))
repr(sys_version))
def _sys_version(): """ Returns a parsed version of Python's sys.version as tuple (name, version, branch, revision, buildno, builddate, compiler) referring to the Python implementation name, version, branch, revision, build number, build date/time as string and the compiler identification string. Note that unlike the...
e8781bedd8dcf2fe44377fcaac601853dd6d0056 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/e8781bedd8dcf2fe44377fcaac601853dd6d0056/platform.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9499, 67, 1589, 13332, 225, 3536, 2860, 279, 2707, 1177, 434, 6600, 1807, 2589, 18, 1589, 487, 3193, 261, 529, 16, 1177, 16, 3803, 16, 6350, 16, 1361, 2135, 16, 25666, 330, 449, 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, 9499, 67, 1589, 13332, 225, 3536, 2860, 279, 2707, 1177, 434, 6600, 1807, 2589, 18, 1589, 487, 3193, 261, 529, 16, 1177, 16, 3803, 16, 6350, 16, 1361, 2135, 16, 25666, 330, 449, 3...
"""SMTP 'rset' command. Resets session."""
"""SMTP 'rset' command -- resets session."""
def rset(self): """SMTP 'rset' command. Resets session.""" code=self.docmd("rset") return code
a7d9bdfab61551ed16efc55c1b6c37268c2d9832 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a7d9bdfab61551ed16efc55c1b6c37268c2d9832/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 542, 12, 2890, 4672, 3536, 55, 14636, 296, 86, 542, 11, 1296, 1493, 20063, 1339, 12123, 981, 33, 2890, 18, 2434, 1264, 2932, 86, 542, 7923, 327, 981, 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, 436, 542, 12, 2890, 4672, 3536, 55, 14636, 296, 86, 542, 11, 1296, 1493, 20063, 1339, 12123, 981, 33, 2890, 18, 2434, 1264, 2932, 86, 542, 7923, 327, 981, 2, -100, -100, -100, -100, -1...
self.x = metrix.pageMargin + \
self.x = metrix.pageMargin.x + \
def __init__(self, node, metrix): self.metrix = metrix self.width = node.width self.height = node.height
e4ab388255523317e2fd451339d1e0904a851679 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/81/e4ab388255523317e2fd451339d1e0904a851679/DiagramMetrix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 756, 16, 5100, 1932, 4672, 365, 18, 10578, 1932, 273, 5100, 1932, 365, 18, 2819, 273, 756, 18, 2819, 365, 18, 4210, 273, 756, 18, 4210, 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, 2738, 972, 12, 2890, 16, 756, 16, 5100, 1932, 4672, 365, 18, 10578, 1932, 273, 5100, 1932, 365, 18, 2819, 273, 756, 18, 2819, 365, 18, 4210, 273, 756, 18, 4210, 2, -100, -100, ...
self.hboxlayout25.addWidget(self.groupBox_3) spacerItem27 = QtGui.QSpacerItem(231,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) self.hboxlayout25.addItem(spacerItem27) self.gridlayout17.addLayout(self.hboxlayout25,1,0,1,1) self.hboxlayout29 = QtGui.QHBoxLayout() self.hboxlayout29.setMargin(0) self.hboxlay...
self.hboxlayout28.addWidget(self.groupBox_3) spacerItem29 = QtGui.QSpacerItem(231,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) self.hboxlayout28.addItem(spacerItem29) self.gridlayout17.addLayout(self.hboxlayout28,1,0,1,1) self.hboxlayout32 = QtGui.QHBoxLayout() self.hboxlayout32.setMargin(0) self.hboxlay...
def setupUi(self, UserPrefsDialog): UserPrefsDialog.setObjectName("UserPrefsDialog") UserPrefsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,609,642).size()).expandedTo(UserPrefsDialog.minimumSizeHint()))
30deb2219e016847d91b37e801c50b75fbd1c3cf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/30deb2219e016847d91b37e801c50b75fbd1c3cf/UserPrefsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 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, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
[-1.000000000000000? + 0.?e-18*I,
[-1.000000000000000? + 0.?e-1...*I,
def ei(self): r""" Return the x-coordinates of the 2-division points of the elliptic curve associated with this period lattice, as elements of QQbar.
3c71d91c9069e3d11339393f00aeac2d0f97e98f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/3c71d91c9069e3d11339393f00aeac2d0f97e98f/period_lattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13247, 12, 2890, 4672, 436, 8395, 2000, 326, 619, 17, 16941, 434, 326, 576, 17, 2892, 1951, 3143, 434, 326, 415, 549, 21507, 8882, 3627, 598, 333, 3879, 16690, 16, 487, 2186, 434, 2238, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13247, 12, 2890, 4672, 436, 8395, 2000, 326, 619, 17, 16941, 434, 326, 576, 17, 2892, 1951, 3143, 434, 326, 415, 549, 21507, 8882, 3627, 598, 333, 3879, 16690, 16, 487, 2186, 434, 2238, ...
command.set_read(pid, oid, len, pos)
command.set_read(pid, oid, length, pos)
def readfile(pid, oid): len = 1 << 10 # 1 kB chunk size pos = 0 while True: command = OSDCommand() command.set_read(pid, oid, len, pos) dev.submit_and_wait(command) # read past end of object, okay if command.status == 2 and command.sense_key == 1 \ and command.sense_code == 0x3b17: sys.stdout.write(command.indata) bre...
59a175dad6d5afdf4877be0b3a36a8c15af2a909 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11094/59a175dad6d5afdf4877be0b3a36a8c15af2a909/readfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 768, 12, 6610, 16, 7764, 4672, 562, 273, 404, 2296, 1728, 225, 468, 404, 417, 38, 2441, 963, 949, 273, 374, 1323, 1053, 30, 1296, 273, 5932, 40, 2189, 1435, 1296, 18, 542, 67, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 768, 12, 6610, 16, 7764, 4672, 562, 273, 404, 2296, 1728, 225, 468, 404, 417, 38, 2441, 963, 949, 273, 374, 1323, 1053, 30, 1296, 273, 5932, 40, 2189, 1435, 1296, 18, 542, 67, 8...
if gotTitle and len(l) > 1 and l[0] == 'kernel' and \ (l[1].count('xen') or l[1].count('vmlinuz')):
if gotTitle and len(l) > 1 and l[1].count('vmlinuz'):
def append(self, args): """Append kernel args to an existing grub conf file.""" # # append the user-supplied arguments # gotTitle = 0 contents = ''
972e074ce0b152358a9a93f730c3bbe64687b07c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7066/972e074ce0b152358a9a93f730c3bbe64687b07c/grub.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 12, 2890, 16, 833, 4672, 3536, 5736, 5536, 833, 358, 392, 2062, 3821, 373, 2195, 585, 12123, 225, 468, 468, 714, 326, 729, 17, 2859, 3110, 1775, 468, 2363, 4247, 273, 374, 2939, 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, 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, 714, 12, 2890, 16, 833, 4672, 3536, 5736, 5536, 833, 358, 392, 2062, 3821, 373, 2195, 585, 12123, 225, 468, 468, 714, 326, 729, 17, 2859, 3110, 1775, 468, 2363, 4247, 273, 374, 2939, 2...
self.assertEqual(fileobj.read(),
self.assertEqual(str(fileobj.read()),
def _write_test(self, fields, expect, **kwargs): fd, name = tempfile.mkstemp() fileobj = os.fdopen(fd, "w+b") try: writer = csv.writer(fileobj, **kwargs) writer.writerow(fields) fileobj.seek(0) self.assertEqual(fileobj.read(), expect + writer.dialect.lineterminator) finally: fileobj.close() os.unlink(name)
4626458cc57b73dc01edf4987bbc3fe1d4437e59 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/4626458cc57b73dc01edf4987bbc3fe1d4437e59/test_csv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 3813, 12, 2890, 16, 1466, 16, 4489, 16, 2826, 4333, 4672, 5194, 16, 508, 273, 13275, 18, 24816, 19781, 84, 1435, 17041, 273, 1140, 18, 8313, 3190, 12, 8313, 16, 315, 91,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 3813, 12, 2890, 16, 1466, 16, 4489, 16, 2826, 4333, 4672, 5194, 16, 508, 273, 13275, 18, 24816, 19781, 84, 1435, 17041, 273, 1140, 18, 8313, 3190, 12, 8313, 16, 315, 91,...
"command %s: no such option %s" % \
"command '%s': no such option '%s'" % \
def set_option (self, option, value): """Set the value of a single option for this command. Raise DistutilsOptionError if 'option' is not known."""
729015e85a40c1e237da20da006aec023cf06524 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/729015e85a40c1e237da20da006aec023cf06524/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3482, 261, 2890, 16, 1456, 16, 460, 4672, 3536, 694, 326, 460, 434, 279, 2202, 1456, 364, 333, 1296, 18, 225, 20539, 19893, 5471, 1895, 668, 309, 296, 3482, 11, 353, 486, 4846...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3482, 261, 2890, 16, 1456, 16, 460, 4672, 3536, 694, 326, 460, 434, 279, 2202, 1456, 364, 333, 1296, 18, 225, 20539, 19893, 5471, 1895, 668, 309, 296, 3482, 11, 353, 486, 4846...
if not os.path.isfile(self.name):
try: statinfo = os.stat(self.name) except OSError:
def _get_thumbnail(self, type='any', check_mtime=False): """ Get the filename to the thumbnail. DO NOT USE OUTSIDE OF BEACON
130664ad8da7797231036e4d2ffe5b22b259eaf0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11703/130664ad8da7797231036e4d2ffe5b22b259eaf0/thumbnail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 14904, 12, 2890, 16, 618, 2218, 2273, 2187, 866, 67, 10838, 33, 8381, 4672, 3536, 968, 326, 1544, 358, 326, 9134, 18, 5467, 4269, 14988, 8210, 26498, 15932, 9722, 2226, 673...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 588, 67, 14904, 12, 2890, 16, 618, 2218, 2273, 2187, 866, 67, 10838, 33, 8381, 4672, 3536, 968, 326, 1544, 358, 326, 9134, 18, 5467, 4269, 14988, 8210, 26498, 15932, 9722, 2226, 673...
file = CWriter(filename)
file = CHeaderWriter(filename)
def WriteCmdHelperHeader(self, filename): """Writes the gles2 command helper.""" file = CWriter(filename)
8a837bb40249dfd9f0a2736abdab4f64592c99db /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/8a837bb40249dfd9f0a2736abdab4f64592c99db/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 5931, 2276, 1864, 12, 2890, 16, 1544, 4672, 3536, 8368, 326, 314, 1040, 22, 1296, 4222, 12123, 585, 273, 385, 2289, 12, 3459, 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, 2598, 5931, 2276, 1864, 12, 2890, 16, 1544, 4672, 3536, 8368, 326, 314, 1040, 22, 1296, 4222, 12123, 585, 273, 385, 2289, 12, 3459, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
lst = hdr[getattr(rpm, 'RPMTAG_%sFLAGS' % tag)] flag = map(misc.share_data, flag)
flag = map(misc.share_data, hdr[getattr(rpm, 'RPMTAG_%sFLAGS' % tag)])
def _populatePrco(self): "Populate the package object with the needed PRCO interface."
3194633958f626f94784ae06b17ed23f37d03451 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/3194633958f626f94784ae06b17ed23f37d03451/packages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 19936, 28763, 83, 12, 2890, 4672, 315, 19097, 326, 2181, 733, 598, 326, 3577, 11770, 3865, 1560, 1199, 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, 389, 19936, 28763, 83, 12, 2890, 4672, 315, 19097, 326, 2181, 733, 598, 326, 3577, 11770, 3865, 1560, 1199, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if len(a_subparts) > len(b_subparts) and prerelease_pattern.match(a_subparts[subindex]):
if len(a_subparts) > len(b_subparts) and prerelease_pattern.match(str(a_subparts[subindex])):
def verstr_cmp(a, b): """cmp() implementation for version strings, suitable for use with sort().""" ret = 0 index = 0 a_parts = subdivide(a) b_parts = subdivide(b) prerelease_pattern = re.compile('rc|pre') while ret == 0 and index < min(len(a_parts), len(b_parts)): subindex = 0 a_subparts = a_parts[index] b_subparts = ...
92605ca65fc46010f22d4903c9956ba97a3071b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/92605ca65fc46010f22d4903c9956ba97a3071b6/rpmlisting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14690, 313, 67, 9625, 12, 69, 16, 324, 4672, 3536, 9625, 1435, 4471, 364, 1177, 2064, 16, 10631, 364, 999, 598, 1524, 1435, 12123, 325, 273, 374, 770, 273, 374, 279, 67, 6019, 273, 257...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14690, 313, 67, 9625, 12, 69, 16, 324, 4672, 3536, 9625, 1435, 4471, 364, 1177, 2064, 16, 10631, 364, 999, 598, 1524, 1435, 12123, 325, 273, 374, 770, 273, 374, 279, 67, 6019, 273, 257...
data = self._rbuf
rbufsize = max(self._rbufsize, self.default_bufsize) buf = self._rbuf buf.seek(0, 2)
def read(self, size=-1): data = self._rbuf if size < 0: # Read until EOF buffers = [] if data: buffers.append(data) self._rbuf = "" if self._rbufsize <= 1: recv_size = self.default_bufsize else: recv_size = self._rbufsize while True: data = self._sock.recv(recv_size) if not data: break buffers.append(data) return "".jo...
f8cc64017ca0f33b1e21b1c9c9f5f30ebdc4da31 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/f8cc64017ca0f33b1e21b1c9c9f5f30ebdc4da31/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 963, 29711, 21, 4672, 282, 436, 4385, 1467, 273, 943, 12, 2890, 6315, 86, 4385, 1467, 16, 365, 18, 1886, 67, 4385, 1467, 13, 565, 1681, 273, 365, 6315, 86, 4385, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 963, 29711, 21, 4672, 282, 436, 4385, 1467, 273, 943, 12, 2890, 6315, 86, 4385, 1467, 16, 365, 18, 1886, 67, 4385, 1467, 13, 565, 1681, 273, 365, 6315, 86, 4385, 1...
pass
def __getitem__(self, key): return None
def get(self, key, default=None): """ Convenience function to make this look more like a dict. """ try: return self.__getitem__(key) except KeyError: return default
d1e5f95aaae3454dbcd8ad6c7fc8b9adc0c89bfb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11836/d1e5f95aaae3454dbcd8ad6c7fc8b9adc0c89bfb/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 16, 498, 16, 805, 33, 7036, 4672, 3536, 735, 9080, 445, 358, 1221, 333, 2324, 1898, 3007, 279, 2065, 18, 3536, 775, 30, 327, 365, 16186, 31571, 972, 12, 856, 13, 1335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 16, 498, 16, 805, 33, 7036, 4672, 3536, 735, 9080, 445, 358, 1221, 333, 2324, 1898, 3007, 279, 2065, 18, 3536, 775, 30, 327, 365, 16186, 31571, 972, 12, 856, 13, 1335, ...
network.addExpectedNode( nodeid )
self.network.addExpectedNode( nodeid )
def expected_node( self, nodeid ): network.addExpectedNode( nodeid )
1cac18f12b1b91166cc9cec5d8fe119bffa40e08 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10633/1cac18f12b1b91166cc9cec5d8fe119bffa40e08/pydon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2665, 67, 2159, 12, 365, 16, 756, 350, 262, 30, 2483, 18, 1289, 6861, 907, 12, 756, 350, 262, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2665, 67, 2159, 12, 365, 16, 756, 350, 262, 30, 2483, 18, 1289, 6861, 907, 12, 756, 350, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if (chunks[i][-1] == "." and
if (chunks[i][-1] in punct and
def _fix_sentence_endings (self, chunks): """_fix_sentence_endings(chunks : [string])
62e4f3bf224d6a3a17c04524a674caaa14270753 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/62e4f3bf224d6a3a17c04524a674caaa14270753/textwrap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 904, 67, 19335, 67, 409, 899, 261, 2890, 16, 6055, 4672, 3536, 67, 904, 67, 19335, 67, 409, 899, 12, 14691, 294, 306, 1080, 5717, 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, 389, 904, 67, 19335, 67, 409, 899, 261, 2890, 16, 6055, 4672, 3536, 67, 904, 67, 19335, 67, 409, 899, 12, 14691, 294, 306, 1080, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100...
"pciDbdf": (0, 2, 0x14, 0)},
"pciDbdf": (0, 2, 14, 0)},
def testSvm_multiPkg(self): import dell_dup.svm as svm expectedResult = [ {"name": "pci_firmware(ven_0x1028_dev_0x0015_subven_0x1028_subdev_0x1f03)", "displayname": "Dell PERC 5/i Integrated Controller 1 Firmware", "pciDbdf": (0, 2, 0x14, 0)}, {"name": "pci_firmware(ven_0x1028_dev_0x0016)", "displayname": "Dell PERC 5/...
f9a10f7e7f308835d3df64b5b8feccb4f78bd014 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/38/f9a10f7e7f308835d3df64b5b8feccb4f78bd014/testSvm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 55, 3489, 67, 7027, 11264, 12, 2890, 4672, 1930, 302, 1165, 67, 26427, 18, 87, 3489, 487, 272, 3489, 2665, 1253, 273, 306, 12528, 529, 6877, 315, 2436, 77, 67, 24403, 12, 3995, 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, 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, 55, 3489, 67, 7027, 11264, 12, 2890, 4672, 1930, 302, 1165, 67, 26427, 18, 87, 3489, 487, 272, 3489, 2665, 1253, 273, 306, 12528, 529, 6877, 315, 2436, 77, 67, 24403, 12, 3995, 6...
'format' : 'originators' })],
'format' : 'originators' }, border=RectType(5, 5, 5, 5))],
def makeMailArea(parcel, oldVersion): blocks = schema.ns("osaf.framework.blocks", parcel.itsView) originatorsArea = \ makeArea(parcel, 'OriginatorsArea', childBlocks=[ makeLabel(parcel, _(u'from')), makeSpacer(parcel, width=8), makeEditor(parcel, 'EditMailOriginators', baseClass=OriginatorsAEBlock, viewAttribute=MailSt...
550dad22ef7508d9bcff69ef20b11c0e5e74d04c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/550dad22ef7508d9bcff69ef20b11c0e5e74d04c/detailblocks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 6759, 5484, 12, 1065, 2183, 16, 1592, 1444, 4672, 4398, 273, 1963, 18, 2387, 2932, 538, 1727, 18, 12303, 18, 7996, 3113, 779, 2183, 18, 1282, 1767, 13, 4026, 3062, 5484, 273, 521, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6759, 5484, 12, 1065, 2183, 16, 1592, 1444, 4672, 4398, 273, 1963, 18, 2387, 2932, 538, 1727, 18, 12303, 18, 7996, 3113, 779, 2183, 18, 1282, 1767, 13, 4026, 3062, 5484, 273, 521, ...
path, rev = path.split('@', 1) else: rev = None
path, rev = path.rsplit('@', 1)
def get_url_rev(self): """ Returns the correct repository URL and revision by parsing the given repository URL """ url = self.url.split('+', 1)[1] scheme, netloc, path, query, frag = urlparse.urlsplit(url) if '@' in path: path, rev = path.split('@', 1) else: rev = None url = urlparse.urlunsplit((scheme, netloc, path, q...
6520fab231410c969ad6d6cf088a4b70594987d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/6520fab231410c969ad6d6cf088a4b70594987d2/pip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 718, 67, 9083, 12, 2890, 4672, 3536, 2860, 326, 3434, 3352, 1976, 471, 6350, 635, 5811, 326, 864, 3352, 1976, 3536, 880, 273, 365, 18, 718, 18, 4939, 2668, 15, 2187, 404, 2514...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 718, 67, 9083, 12, 2890, 4672, 3536, 2860, 326, 3434, 3352, 1976, 471, 6350, 635, 5811, 326, 864, 3352, 1976, 3536, 880, 273, 365, 18, 718, 18, 4939, 2668, 15, 2187, 404, 2514...
xpos = pickSample * samp_rate
xpos = pickSample pickSample = t[pickSample]
def __mpl_keyPressEvent(self, ev): if self.widgets.qToolButton_showMap.isChecked(): return keys = self.keys phase_type = str(self.widgets.qComboBox_phaseType.currentText()) dict = self.dicts[self.stPt] st = self.streams[self.stPt] ####################################################################### # Start of key e...
0baf6c3960ac75e17d9514d2ffbd9c46d7a15e19 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10346/0baf6c3960ac75e17d9514d2ffbd9c46d7a15e19/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 10514, 67, 856, 11840, 1133, 12, 2890, 16, 2113, 4672, 309, 365, 18, 18148, 18, 85, 6364, 3616, 67, 4500, 863, 18, 291, 11454, 13332, 327, 1311, 273, 365, 18, 2452, 6855, 67, 723...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 10514, 67, 856, 11840, 1133, 12, 2890, 16, 2113, 4672, 309, 365, 18, 18148, 18, 85, 6364, 3616, 67, 4500, 863, 18, 291, 11454, 13332, 327, 1311, 273, 365, 18, 2452, 6855, 67, 723...
child = self.source.get(region[0], region[1])
child = self.source[region[0]:region[1]]
def _handle(self, node, base_children, eat_parens=False, eat_spaces=False): if hasattr(node, 'region'): # ???: The same node was seen twice; what should we do? warnings.warn( 'Node <%s> has been already patched; please report!' % node.__class__.__name__, RuntimeWarning) return base_children = collections.deque(base_chi...
ba0d2a04c4d268c70f121c7ad4cb029e38c84324 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8286/ba0d2a04c4d268c70f121c7ad4cb029e38c84324/patchedast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4110, 12, 2890, 16, 756, 16, 1026, 67, 5906, 16, 20729, 67, 1848, 2387, 33, 8381, 16, 20729, 67, 9554, 33, 8381, 4672, 309, 3859, 12, 2159, 16, 296, 6858, 11, 4672, 468, 5317, 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, 4110, 12, 2890, 16, 756, 16, 1026, 67, 5906, 16, 20729, 67, 1848, 2387, 33, 8381, 16, 20729, 67, 9554, 33, 8381, 4672, 309, 3859, 12, 2159, 16, 296, 6858, 11, 4672, 468, 5317, 3...
platforms = [p.strip().lower() for p in options.platforms.split(',')] for platform in platforms: if not platform in REBASELINE_PLATFORM_ORDER: logging.error('Invalid platform: "%s"' % (platform)) sys.exit(1) rebaseline_platforms = [] for platform in REBASELINE_PLATFORM_ORDER: if platform in platforms: rebaseline_p...
write = create_logging_writer(options, "config") write("Using platform '%s'" % options.platform) write("Placing test results in %s" % options.results_directory) if options.new_baseline: write("Placing new baselines in %s" % path_utils.chromium_baseline_path(options.platform)) write("Using %s build at %s" % (options.ta...
def main(): """Main function to produce new baselines.""" option_parser = optparse.OptionParser() option_parser.add_option('-v', '--verbose', action='store_true', default=False, help='include debug-level logging.') option_parser.add_option('-p', '--platforms', default='mac,win,win-xp,win-vista,linux', help=('Comma de...
675f761a7fcd001c33455b4fffde5235008393a1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/675f761a7fcd001c33455b4fffde5235008393a1/run_chromium_webkit_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 6376, 445, 358, 11402, 394, 2580, 14567, 12123, 225, 1456, 67, 4288, 273, 2153, 2670, 18, 1895, 2678, 1435, 1456, 67, 4288, 18, 1289, 67, 3482, 2668, 17, 90, 2187, 353...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 6376, 445, 358, 11402, 394, 2580, 14567, 12123, 225, 1456, 67, 4288, 273, 2153, 2670, 18, 1895, 2678, 1435, 1456, 67, 4288, 18, 1289, 67, 3482, 2668, 17, 90, 2187, 353...
self.initdef += '\n%sself.ofwhat += self.ofwhat + tuple(TCList)' % ID4 self.initdef += '\n%sself.lenofwhat += self.lenofwhat + len(TCList)' % ID4
self.initdef += '\n%sself.ofwhat += tuple(TCList)' % ID4 self.initdef += '\n%sself.lenofwhat += len(TCList)' % ID4
self.initdef += '\n%sself.ofwhat += self.ofwhat + tuple(TCList)' % ID4
b19c6144f6077d62331be9df1f68aba50b517db6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/b19c6144f6077d62331be9df1f68aba50b517db6/wsdl2python.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 2738, 536, 1011, 2337, 82, 9, 1049, 19079, 18, 792, 23770, 1011, 365, 18, 792, 23770, 397, 3193, 12, 15988, 682, 2506, 738, 1599, 24, 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, 365, 18, 2738, 536, 1011, 2337, 82, 9, 1049, 19079, 18, 792, 23770, 1011, 365, 18, 792, 23770, 397, 3193, 12, 15988, 682, 2506, 738, 1599, 24, 2, -100, -100, -100, -100, -100, -100, -100, -1...
syslog('debug', '===== finished loop (%s)', len(self._listcache))
def __oneloop(self): syslog('debug', '===== starting loop') # First, list all the files in our queue directory. # Switchboard.files() is guaranteed to hand us the files in FIFO # order. Return an integer count of the number of files that were # available for this qrunner to process. A non-zero value tells run() # not...
e08e55ed7e0f366bffcce86eddcb60def4b6723a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/e08e55ed7e0f366bffcce86eddcb60def4b6723a/Runner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 265, 24214, 556, 12, 2890, 4672, 16718, 2668, 4148, 2187, 296, 894, 33, 5023, 2798, 6134, 468, 5783, 16, 666, 777, 326, 1390, 316, 3134, 2389, 1867, 18, 468, 13967, 3752, 18, 2354,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 265, 24214, 556, 12, 2890, 4672, 16718, 2668, 4148, 2187, 296, 894, 33, 5023, 2798, 6134, 468, 5783, 16, 666, 777, 326, 1390, 316, 3134, 2389, 1867, 18, 468, 13967, 3752, 18, 2354,...
continue
continue
def _makeInvoices(self, cr, uid, data, context): invoices = {} invoice_ids = [] create_ids=[] tax_ids=[] pool_obj=pooler.get_pool(cr.dbname) inv_create = 0 inv_reject = 0 inv_rej_reason = "" list_inv = [] obj_event_reg=pool_obj.get('event.registration') data_event_reg=obj_event_reg.browse(cr,uid,data['ids']) obj_lines...
e384d9068678aab1209c227af243e9f241f082b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7339/e384d9068678aab1209c227af243e9f241f082b9/make_invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 3605, 17725, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 2198, 17725, 273, 2618, 9179, 67, 2232, 273, 5378, 752, 67, 2232, 33, 8526, 5320, 67, 2232, 33, 8526, 2845...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6540, 3605, 17725, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 2198, 17725, 273, 2618, 9179, 67, 2232, 273, 5378, 752, 67, 2232, 33, 8526, 5320, 67, 2232, 33, 8526, 2845...
if values: self.variable.set(values)
def __init__(self, master=None, label="List", values=None): """Create a ScrollList widget. master: Tkinter widget that will contain this ScrollList label: Text label for the list values: List of initial values """ Metawidget.__init__(self, master, list) self.selected = StringVar() # Currently selected list i...
7c138a2f45982de2d86d74f004bba10b960130c9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4675/7c138a2f45982de2d86d74f004bba10b960130c9/meta.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 33, 7036, 16, 1433, 1546, 682, 3113, 924, 33, 7036, 4672, 3536, 1684, 279, 23134, 682, 3604, 18, 225, 4171, 30, 565, 399, 79, 2761, 3604, 716, 903,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4171, 33, 7036, 16, 1433, 1546, 682, 3113, 924, 33, 7036, 4672, 3536, 1684, 279, 23134, 682, 3604, 18, 225, 4171, 30, 565, 399, 79, 2761, 3604, 716, 903,...
"H1": atom_info("H", 0, "H'"),
"H1": atom_info("H", 0, "H"),
def keys(self): return ("element_symbol", "ionic_state", "scattering_label")
46b20303e8ed53745807da84c39cb29f25aa3911 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/46b20303e8ed53745807da84c39cb29f25aa3911/residue_info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1311, 12, 2890, 4672, 327, 7566, 2956, 67, 7175, 3113, 315, 285, 335, 67, 2019, 3113, 315, 31320, 310, 67, 1925, 7923, 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, 1311, 12, 2890, 4672, 327, 7566, 2956, 67, 7175, 3113, 315, 285, 335, 67, 2019, 3113, 315, 31320, 310, 67, 1925, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
print '%s: %s' % (fname.ljust (length, '-'), status)
print u'%s: %s' % (fname.ljust (length, '-'), status)
def main (): usage = '''%s [-h|--help] [-v|--version] [-d|--directory] [-r|--recursive] [-o|--output output_dir] input1 input2 .. inputN
4d172ebedb12f0405b343d09ca3fb6ef1f7542f1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13309/4d172ebedb12f0405b343d09ca3fb6ef1f7542f1/napi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 1832, 30, 4084, 273, 9163, 9, 87, 23059, 76, 96, 413, 5201, 65, 23059, 90, 96, 413, 1589, 65, 23059, 72, 96, 413, 5149, 65, 23059, 86, 96, 413, 10543, 65, 23059, 83, 96, 413, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 1832, 30, 4084, 273, 9163, 9, 87, 23059, 76, 96, 413, 5201, 65, 23059, 90, 96, 413, 1589, 65, 23059, 72, 96, 413, 5149, 65, 23059, 86, 96, 413, 10543, 65, 23059, 83, 96, 413, ...
minimal. In the integer case, see Integer._xgcd() for minimal
minimal. In the integer case, see :meth:`sage.rings.integer.Integer._xgcd()` for minimal
def xgcd(a, b): """ Returns triple (g,s,t) such that `g = s*a+t*b = gcd(a,b)`. INPUT: - ``a, b`` - integers or univariate polynomials (or any type with an xgcd method). OUTPUT: - ``g, s, t`` - such that g = s\*a + t\*b .. note:: There is no guarantee that the returned cofactors (s and t) are minimal. In the int...
2bbe2334c6ee2df9794388e492bb1effd39e27d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/2bbe2334c6ee2df9794388e492bb1effd39e27d2/arith.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 75, 4315, 12, 69, 16, 324, 4672, 3536, 2860, 14543, 261, 75, 16, 87, 16, 88, 13, 4123, 716, 1375, 75, 273, 272, 14, 69, 15, 88, 14, 70, 273, 14876, 12, 69, 16, 70, 13, 8338,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 619, 75, 4315, 12, 69, 16, 324, 4672, 3536, 2860, 14543, 261, 75, 16, 87, 16, 88, 13, 4123, 716, 1375, 75, 273, 272, 14, 69, 15, 88, 14, 70, 273, 14876, 12, 69, 16, 70, 13, 8338,...
"""Return the date in RFC 822 format"""
""" Return the date in RFC 822 format Permission -- Always available """
def rfc822(): """Return the date in RFC 822 format"""
b8c350cc5b36f5ce907db3ed0e2c54460ed7de1c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/b8c350cc5b36f5ce907db3ed0e2c54460ed7de1c/DateTime.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16590, 24532, 13332, 3536, 990, 326, 1509, 316, 8372, 1725, 3787, 740, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16590, 24532, 13332, 3536, 990, 326, 1509, 316, 8372, 1725, 3787, 740, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"""Instantiate a new application"""
"""Instantiate a new application."""
def createApplication(): """Instantiate a new application""" app = Application()
da1dca3f77b894f6d64135657128f461356526df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/da1dca3f77b894f6d64135657128f461356526df/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 3208, 13332, 3536, 22438, 279, 394, 2521, 12123, 595, 273, 4257, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 3208, 13332, 3536, 22438, 279, 394, 2521, 12123, 595, 273, 4257, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
intids = [] for id in ids:
intids = [0] for id_ in ids:
def generateUniqueId(self, type_name): """ Generate sequential IDs for tasks With thanks to Upfront Systems for their code from Upfront Project """ if type_name in ('Task', 'PoiTask'): ids = self.contentIds() intids = [] for id in ids: try: intids.append(int(id)) except: pass new_id = max(intids) + 1 return str(new_id)...
8390ad9aec88537742ad648afd7c03207741ade7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10431/8390ad9aec88537742ad648afd7c03207741ade7/Story.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 24174, 12, 2890, 16, 618, 67, 529, 4672, 3536, 6654, 21210, 7115, 364, 4592, 3423, 286, 19965, 358, 1948, 10211, 30558, 364, 3675, 981, 628, 1948, 10211, 5420, 3536, 309, 618, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 24174, 12, 2890, 16, 618, 67, 529, 4672, 3536, 6654, 21210, 7115, 364, 4592, 3423, 286, 19965, 358, 1948, 10211, 30558, 364, 3675, 981, 628, 1948, 10211, 5420, 3536, 309, 618, 67, ...
for version in ['8.4', '84', '8.3', '83', '8.2',
for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
def detect_tkinter(self, inc_dirs, lib_dirs): # The _tkinter module.
3483df3c4e1f7e39d2693077aa20fd5491004c78 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/3483df3c4e1f7e39d2693077aa20fd5491004c78/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 16099, 2761, 12, 2890, 16, 7290, 67, 8291, 16, 2561, 67, 8291, 4672, 468, 1021, 389, 16099, 2761, 1605, 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, 5966, 67, 16099, 2761, 12, 2890, 16, 7290, 67, 8291, 16, 2561, 67, 8291, 4672, 468, 1021, 389, 16099, 2761, 1605, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if pofile.startswith("democracyplayer-"): os.system("mv %s %s" % (pofile, pofile.replace("democracyplayer-", "")))
newfilename = pofile for repl in ["democracyplayer_", "democracyplayer-"]: newfilename = newfilename.replace(repl, "") if newfilename != pofile: os.system("mv %s %s" % (pofile, newfilename))
def fix_names(): files = [ mem for mem in os.listdir(".") if mem.endswith(".po") ] for pofile in files: if pofile.startswith("democracyplayer-"): os.system("mv %s %s" % (pofile, pofile.replace("democracyplayer-", "")))
5b2e4c2347abd9b5c32ec3ef439b29dfd99a8538 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/5b2e4c2347abd9b5c32ec3ef439b29dfd99a8538/import-translations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 1973, 13332, 1390, 273, 306, 1663, 364, 1663, 316, 1140, 18, 1098, 1214, 2932, 1199, 13, 309, 1663, 18, 5839, 1918, 2932, 18, 1631, 7923, 308, 364, 8275, 768, 316, 1390, 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, 2917, 67, 1973, 13332, 1390, 273, 306, 1663, 364, 1663, 316, 1140, 18, 1098, 1214, 2932, 1199, 13, 309, 1663, 18, 5839, 1918, 2932, 18, 1631, 7923, 308, 364, 8275, 768, 316, 1390, 30, ...
for pkg in packages.values():
for tid in packages.keys(): pkg = packages[tid] if pkg["name"] == "gpg-pubkey": continue region = "immutable" if pkg["name"] not in ("IBMJava2-JRE", "j2re"): install_keys["archivesize"] = 1 if pkg["name"] in ("j2re"): install_keys["providename"] = 1 install_keys["provideflags"] = 1 install_keys["provideversion"] = 1 i...
def readRpmdb(dbpath="/var/lib/rpm/"): from binascii import b2a_hex print "Reading rpmdb, this can take some time..." print "Reading Packages..." (packages, keyring, maxtid) = readPackages(dbpath) print "Reading the rest..." basenames = readDb(dbpath + "Basenames") conflictname = readDb(dbpath + "Conflictname") dirname...
36064e9e7b8187b1d2723e47eb83915d362cf0b4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/36064e9e7b8187b1d2723e47eb83915d362cf0b4/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 54, 84, 27574, 12, 1966, 803, 1546, 19, 1401, 19, 2941, 19, 86, 7755, 4898, 4672, 628, 28222, 1930, 324, 22, 69, 67, 7118, 1172, 315, 15714, 8715, 27574, 16, 333, 848, 4862, 2690,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 54, 84, 27574, 12, 1966, 803, 1546, 19, 1401, 19, 2941, 19, 86, 7755, 4898, 4672, 628, 28222, 1930, 324, 22, 69, 67, 7118, 1172, 315, 15714, 8715, 27574, 16, 333, 848, 4862, 2690,...
str += ' <DT><DD>'+epytext.to_html(fdescr)+'</DD></DT>\n' str += ' <P></P>\n' str += ' <DT><DD>\n'
str += ' <dd>'+epytext.to_html(fdescr, para=1)+'</dd>\n' str += ' <dt></dt><dd>\n'
def _func_details(self, functions, cls, heading='Function Details'): """## Return a detailed description of the functions in a class or module.""" functions = self._sort(functions) if len(functions) == 0: return '' str = self._table_header(heading, 'details')+'</TABLE>'
1b52b16120989cc834166571a9a1e9b8676d968f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/1b52b16120989cc834166571a9a1e9b8676d968f/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 6395, 12, 2890, 16, 4186, 16, 2028, 16, 11053, 2218, 2083, 21897, 11, 4672, 3536, 1189, 2000, 279, 6864, 2477, 434, 326, 4186, 316, 279, 667, 578, 1605, 12123, 4186, 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, 389, 644, 67, 6395, 12, 2890, 16, 4186, 16, 2028, 16, 11053, 2218, 2083, 21897, 11, 4672, 3536, 1189, 2000, 279, 6864, 2477, 434, 326, 4186, 316, 279, 667, 578, 1605, 12123, 4186, 273, ...
def fol_bc_ask(KB, goals, theta): "A simple backward-chaining algorithm for first-order logic. [Fig. 9.6]" if not goals: yield theta
class FolKB (KB): """A knowledge base consisting of first-order definite clauses >>> kb0 = FolKB([expr('Farmer(Mac)'), expr('Rabbit(Peter)'), ... expr('(Rabbit(r) & Farmer(f)) ==> Hates(f, r)')]) """ def __init__ (self, initial_clauses=[]): self.clauses = [] for clause in initial_clauses: self.tell(cla...
def fol_bc_ask(KB, goals, theta): "A simple backward-chaining algorithm for first-order logic. [Fig. 9.6]" if not goals: yield theta q1 = subst(theta, goals[0]) raise NotImplementedError
de8ded4ad513240273f1c4225688c69db0f6f179 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/16/de8ded4ad513240273f1c4225688c69db0f6f179/logic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 667, 478, 355, 16024, 261, 16024, 4672, 3536, 37, 20272, 1026, 23570, 434, 1122, 17, 1019, 2217, 1137, 14093, 4080, 9182, 20, 273, 478, 355, 16024, 3816, 8638, 2668, 42, 4610, 264, 12, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 667, 478, 355, 16024, 261, 16024, 4672, 3536, 37, 20272, 1026, 23570, 434, 1122, 17, 1019, 2217, 1137, 14093, 4080, 9182, 20, 273, 478, 355, 16024, 3816, 8638, 2668, 42, 4610, 264, 12, 99...
self.connect(self._action_destroy_trash,
self.connect(self._action_destroy_trash,
def __init__(self, p_parent = None): try: QtGui.QMainWindow.__init__(self, p_parent) self.setupUi(self)
264364269a301ec6020404f8aff8dc3b8f01916d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4919/264364269a301ec6020404f8aff8dc3b8f01916d/MainWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 293, 67, 2938, 273, 599, 4672, 775, 30, 23425, 18, 53, 6376, 3829, 16186, 2738, 972, 12, 2890, 16, 293, 67, 2938, 13, 365, 18, 8401, 13943, 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, 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, 293, 67, 2938, 273, 599, 4672, 775, 30, 23425, 18, 53, 6376, 3829, 16186, 2738, 972, 12, 2890, 16, 293, 67, 2938, 13, 365, 18, 8401, 13943, 12, 2890, 1...
from distutils import log log.set_verbosity(2) compiler = GnuFCompiler() compiler.customize() print compiler.get_version() raw_input('Press ENTER to continue...') try: compiler = Gnu95FCompiler() compiler.customize() print compiler.get_version() except Exception, msg: print msg raw_input('Press ENTER to continue...')
show_fcompilers()
def get_flags_debug(self): return ['-g']
88d8906f7b729e50947606558b12f05e24421e4d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/88d8906f7b729e50947606558b12f05e24421e4d/gnu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7133, 67, 4148, 12, 2890, 4672, 327, 10228, 17, 75, 3546, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7133, 67, 4148, 12, 2890, 4672, 327, 10228, 17, 75, 3546, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def DoRelationshipPopup(self, event): """Show the popup menu for the relationship list control. Called when the right mouse buton released on the relationship list control. """ self.relationshipListCtrl.PopupMenu(self.relationshipPopupMenu, event.GetPosition())
def DoRelationshipRightDown(self, event): """Select the relationship under mouse cursor.
8bfcb893526ff90ecb1436418450327bd4196777 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/8bfcb893526ff90ecb1436418450327bd4196777/wxclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2256, 8180, 4726, 4164, 12, 2890, 16, 871, 4672, 3536, 3391, 326, 5232, 3613, 7644, 3347, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2256, 8180, 4726, 4164, 12, 2890, 16, 871, 4672, 3536, 3391, 326, 5232, 3613, 7644, 3347, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
rng_state0 = numpy.random.RandomState(55)
rng_state0 = numpy.random.RandomState(utt.fetch_seed())
def test_symbolic_shape(self): rng_R = random_state_type()
d5701303093e5943cc4df89bc18c7fecc19b0be2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/d5701303093e5943cc4df89bc18c7fecc19b0be2/test_raw_random.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9009, 12164, 67, 4867, 12, 2890, 4672, 11418, 67, 54, 273, 2744, 67, 2019, 67, 723, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 67, 9009, 12164, 67, 4867, 12, 2890, 4672, 11418, 67, 54, 273, 2744, 67, 2019, 67, 723, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
append initrd=initrd%(index)s.img root=CDLABEL=%(fslabel)s rootfstype=%(isofstype) %(liveargs)s %(extra)s
append initrd=initrd%(index)s.img root=CDLABEL=%(fslabel)s rootfstype=%(isofstype)s %(liveargs)s %(extra)s
def __get_image_stanza(self, is_xen, **args): if not is_xen: template = """label %(short)s
76d4cc51abf030b246b5d4c86264f1a66d5e68b7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9342/76d4cc51abf030b246b5d4c86264f1a66d5e68b7/live.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 67, 2730, 67, 541, 11939, 12, 2890, 16, 353, 67, 92, 275, 16, 2826, 1968, 4672, 309, 486, 353, 67, 92, 275, 30, 1542, 273, 3536, 1925, 8975, 6620, 13, 87, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 2730, 67, 541, 11939, 12, 2890, 16, 353, 67, 92, 275, 16, 2826, 1968, 4672, 309, 486, 353, 67, 92, 275, 30, 1542, 273, 3536, 1925, 8975, 6620, 13, 87, 2, -100, -100, ...
if self.api_data["size"] > info["trafficleft"]:
if self.api_data["size"]/1024 > info["trafficleft"]:
def prepare(self, thread): self.want_reconnect = False tries = 0
89737cad3e9ae4545613f068c674da39cc15aa14 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/89737cad3e9ae4545613f068c674da39cc15aa14/UploadedTo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 12, 2890, 16, 2650, 4672, 365, 18, 17369, 67, 25913, 273, 1083, 9327, 273, 374, 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, 2911, 12, 2890, 16, 2650, 4672, 365, 18, 17369, 67, 25913, 273, 1083, 9327, 273, 374, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
"\n%s%s.__init__(self, '%s', %s%s(name=None,typed=0), pname=name, aname='%%s' %% name, oname='%%s xmlns:%s=\"%s\"' %% name, **kw)" %(ID3, tc, arrayType, nsp, atype, atypePrefix, atypeNS)
"\n%s%s.__init__(self, '%s', %s%s(name=None,typed=0), pname=name, aname='%s' %% name, oname='%%s xmlns:%s=\"%s\"' %% name, **kw)" %(ID3, tc, arrayType, nsp, atype, self.aname_func("%s"), atypePrefix, atypeNS)
self.initdef.set("\n%sdef __init__(self, name = None, ns = None, **kw):" % ID2)
f062f4cd5d2c50539a63020b5dfd9d6370b8a9a7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/f062f4cd5d2c50539a63020b5dfd9d6370b8a9a7/wsdl2python.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 2738, 536, 18, 542, 31458, 82, 9, 87, 536, 1001, 2738, 972, 12, 2890, 16, 508, 273, 599, 16, 3153, 273, 599, 16, 2826, 9987, 13, 2773, 738, 1599, 22, 13, 2, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 2738, 536, 18, 542, 31458, 82, 9, 87, 536, 1001, 2738, 972, 12, 2890, 16, 508, 273, 599, 16, 3153, 273, 599, 16, 2826, 9987, 13, 2773, 738, 1599, 22, 13, 2, -100, -100, -100, -1...
push("%(trn_ham)d message(s) were manually " \ "classified as good (with %(fp)d " \ "being false positives)." % format_dict) push("%(trn_spam)d message(s) were manually " \ "classified as spam (with %(fn)d " \ "being false negatives)." % format_dict) push("%(trn_unsure_ham)d unsure message(s) were manually " \
push("%(trn_ham)d message%(sp2)s were manually " \ "classified as good (%(fp)d %(wp1)s false positive%(sp5)s)." \ % format_dict) push("%(trn_spam)d message%(sp3)s were manually " \ "classified as spam (%(fn)d %(wp2)s false negative%(sp6)s)." \ % format_dict) push("%(trn_unsure_ham)d unsure message%(sp4)s were manually ...
def GetStats(self): if self.total == 0: return ["SpamBayes has processed zero messages"] chunks = [] push = chunks.append perc_ham = 100.0 * self.cls_ham / self.total perc_spam = 100.0 * self.cls_spam / self.total perc_unsure = 100.0 * self.cls_unsure / self.total format_dict = { 'perc_spam': perc_spam, 'perc_ham': per...
6e6c785acfc16edfdb92139aad16427847615209 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/6e6c785acfc16edfdb92139aad16427847615209/Stats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 4195, 12, 2890, 4672, 309, 365, 18, 4963, 422, 374, 30, 327, 8247, 3389, 301, 38, 528, 281, 711, 5204, 3634, 2743, 11929, 6055, 273, 5378, 1817, 273, 6055, 18, 6923, 26514, 67, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 4195, 12, 2890, 4672, 309, 365, 18, 4963, 422, 374, 30, 327, 8247, 3389, 301, 38, 528, 281, 711, 5204, 3634, 2743, 11929, 6055, 273, 5378, 1817, 273, 6055, 18, 6923, 26514, 67, 31...
codmain.
codomain.
def iter_morphisms(self, arg=None, codomain=None, min_length=1): r""" Iterate over all morphisms with domain ``self`` and the given codmain.
11fcc733a57766f2ab104da5e939c046e1f06e3c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/11fcc733a57766f2ab104da5e939c046e1f06e3c/words.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 81, 7657, 23749, 12, 2890, 16, 1501, 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, 1501, 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, ...
a = triples(s[: -final_length])
a = triples(s[ :length - final_length])
def b2a_base64(s): length = len(s) final_length = length % 3 a = triples(s[: -final_length]) result = [''.join( [table_b2a_base64[( A >> 2 ) & 0x3F], table_b2a_base64[((A << 4) | ((B >> 4) & 0xF)) & 0x3F], table_b2a_base64[((B << 2) | ((C >> 6) & 0x3)) & 0x3F], table_b2a_base64[( C ...
e08a40010b0126cdb267da989ee030dc6180fae8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/e08a40010b0126cdb267da989ee030dc6180fae8/binascii.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 324, 22, 69, 67, 1969, 1105, 12, 87, 4672, 769, 273, 562, 12, 87, 13, 727, 67, 2469, 273, 769, 738, 890, 225, 279, 273, 22388, 12, 87, 63, 294, 2469, 300, 727, 67, 2469, 5717, 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, 324, 22, 69, 67, 1969, 1105, 12, 87, 4672, 769, 273, 562, 12, 87, 13, 727, 67, 2469, 273, 769, 738, 890, 225, 279, 273, 22388, 12, 87, 63, 294, 2469, 300, 727, 67, 2469, 5717, 225,...
locator = pyre.parsing.locators.chain(locator, self.locator)
locator = pyre.parsing.locators.chain(self.locator, locator)
def setLocator(self, locator): """set my locator to <locator>; if I already have one, chain them""" if self.locator is not None: import pyre.parsing.locators locator = pyre.parsing.locators.chain(locator, self.locator)
83c2355d01c9c7343beb60fe0c0699b3943efa6a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8641/83c2355d01c9c7343beb60fe0c0699b3943efa6a/Traceable.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 5786, 12, 2890, 16, 8871, 4672, 3536, 542, 3399, 8871, 358, 411, 20048, 34, 31, 309, 467, 1818, 1240, 1245, 16, 2687, 2182, 8395, 225, 309, 365, 18, 20048, 353, 486, 599, 30, 1930...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 5786, 12, 2890, 16, 8871, 4672, 3536, 542, 3399, 8871, 358, 411, 20048, 34, 31, 309, 467, 1818, 1240, 1245, 16, 2687, 2182, 8395, 225, 309, 365, 18, 20048, 353, 486, 599, 30, 1930...
fjac = zeros([m, n], dtype=float) h = eps * abs(x)
fjac = numpy.zeros([m, n], dtype=float) h = eps * numpy.abs(x)
def fdjac2(self, fcn, x, fvec, step=None, ulimited=None, ulimit=None, dside=None, epsfcn=None, autoderivative=1, functkw=None, xall=None, ifree=None, dstep=None):
14558c711c4693ee25ced2a48d6eaf300224bc75 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/682/14558c711c4693ee25ced2a48d6eaf300224bc75/mpfit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5194, 31390, 22, 12, 2890, 16, 8036, 82, 16, 619, 16, 284, 8799, 16, 2235, 33, 7036, 16, 7493, 1038, 329, 33, 7036, 16, 7493, 1038, 33, 7036, 16, 3780, 831, 33, 7036, 16, 7785, 7142,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5194, 31390, 22, 12, 2890, 16, 8036, 82, 16, 619, 16, 284, 8799, 16, 2235, 33, 7036, 16, 7493, 1038, 329, 33, 7036, 16, 7493, 1038, 33, 7036, 16, 3780, 831, 33, 7036, 16, 7785, 7142,...
self.parentWidget.hiddenAttribsLB.insertItem(t[2])
def removeHidden(self): rad2 = (self.graph.hideRadius/10)**2 rem = 0 newAnchorData = [] for i, t in enumerate(self.graph.anchorData): if t[0]**2 + t[1]**2 < rad2: self.parentWidget.shownAttribsLB.removeItem(i-rem) self.parentWidget.hiddenAttribsLB.insertItem(t[2]) rem += 1 else: newAnchorData.append(t) self.graph.ancho...
124412186d12bde3fe0b836818de0b9222b5f935 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/124412186d12bde3fe0b836818de0b9222b5f935/OWFreeVizOptimization.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 9345, 12, 2890, 4672, 6719, 22, 273, 261, 2890, 18, 4660, 18, 11248, 10196, 19, 2163, 13, 636, 22, 849, 273, 374, 394, 11605, 751, 273, 5378, 364, 277, 16, 268, 316, 4241, 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, 1206, 9345, 12, 2890, 4672, 6719, 22, 273, 261, 2890, 18, 4660, 18, 11248, 10196, 19, 2163, 13, 636, 22, 849, 273, 374, 394, 11605, 751, 273, 5378, 364, 277, 16, 268, 316, 4241, 12, ...
This differs from print_tb() in the following ways: (1) if traceback is not None, it prints a header "Traceback (most recent call last):"; (2) it prints the exception type and value after the stack trace; (3) if type is SyntaxError and value has the appropriate format, it prints the line where the syntax error occurred...
if __name__ == "__main__": unittest2.main()
def print_exception(etype, value, tb, limit=None, file=None): """Print exception up to 'limit' stack trace entries from 'tb' to 'file'. This differs from print_tb() in the following ways: (1) if traceback is not None, it prints a header "Traceback (most recent call last):"; (2) it prints the exception type and value a...
fd28c146b86832d824d3664f1f3fbbd694c22c05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7464/fd28c146b86832d824d3664f1f3fbbd694c22c05/traceback27.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 4064, 12, 5872, 16, 460, 16, 8739, 16, 1800, 33, 7036, 16, 585, 33, 7036, 4672, 3536, 5108, 1520, 731, 358, 296, 3595, 11, 2110, 2606, 3222, 628, 296, 18587, 11, 358, 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, 1172, 67, 4064, 12, 5872, 16, 460, 16, 8739, 16, 1800, 33, 7036, 16, 585, 33, 7036, 4672, 3536, 5108, 1520, 731, 358, 296, 3595, 11, 2110, 2606, 3222, 628, 296, 18587, 11, 358, 296, ...
def new_column(self, dtypechar=None, **kwargs):
def new_column(self, typecode=None, **kwargs):
def new_column(self, dtypechar=None, **kwargs): """ Returns a new Column with the given dtypechar with the number of rows that this Table requires, i.e. a Column with a one-dimensional array of the length table.rows, with the `dtypechar` and only zeros. If no dtypechar is given, then the dtypechar of the first existin...
d323a0e51c5bfbfe6a5d20c4a492829533562316 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2510/d323a0e51c5bfbfe6a5d20c4a492829533562316/table.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 67, 2827, 12, 2890, 16, 618, 710, 33, 7036, 16, 2826, 4333, 4672, 3536, 2860, 279, 394, 4753, 598, 326, 864, 3182, 3001, 598, 326, 1300, 434, 2595, 716, 333, 3555, 4991, 16, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 394, 67, 2827, 12, 2890, 16, 618, 710, 33, 7036, 16, 2826, 4333, 4672, 3536, 2860, 279, 394, 4753, 598, 326, 864, 3182, 3001, 598, 326, 1300, 434, 2595, 716, 333, 3555, 4991, 16, 277, ...
self.nobs = nobs
self.nobs = n
def __init__(self, ar, ma, n): #duplicates now that are subclassing ArmaProcess super(ArmaFft, self).__init__(ar, ma)
684b683042373c8b8942d6959a27ab65aeed7ee5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12658/684b683042373c8b8942d6959a27ab65aeed7ee5/fftarma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 419, 16, 10843, 16, 290, 4672, 468, 22449, 2037, 716, 854, 10177, 310, 1201, 2540, 2227, 2240, 12, 686, 2540, 42, 1222, 16, 365, 2934, 972, 2738, 972, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 419, 16, 10843, 16, 290, 4672, 468, 22449, 2037, 716, 854, 10177, 310, 1201, 2540, 2227, 2240, 12, 686, 2540, 42, 1222, 16, 365, 2934, 972, 2738, 972, 12...
rv = self._callgraph_cache.get(callgraph, "")
graph_html = self._callgraph_cache.get(callgraph, "") elif callgraph.uid in self._callgraph_cache: uid = callgraph.uid graph_html = self._callgraph_cache.get(callgraph, "")
def render_callgraph(self, callgraph, token=""): """Render the HTML chunk of a callgraph.
15f70085fcf547687941863b2ee2affeb5aee675 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11420/15f70085fcf547687941863b2ee2affeb5aee675/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 1991, 4660, 12, 2890, 16, 745, 4660, 16, 1147, 1546, 6, 4672, 3536, 3420, 326, 3982, 2441, 434, 279, 745, 4660, 18, 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, 1743, 67, 1991, 4660, 12, 2890, 16, 745, 4660, 16, 1147, 1546, 6, 4672, 3536, 3420, 326, 3982, 2441, 434, 279, 745, 4660, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
-K, --ontology=FILENAME name of the RDF ontology
-K, --ontology=FILENAME name of the RDF ontology (a local file or URL)
def usage(code, msg=''): "Prints usage for this module." if msg: sys.stderr.write("Error: %s.\n" % msg) usagetext = """ Usage: bibclassify [options] Examples: bibclassify -f file.pdf -k thesaurus.txt -o TEXT bibclassify -t file.txt -K ontology.rdf -m SLOW Specific options: -f, --pdffile=FILENAME name of the p...
e370f85299a0a2ebca37fc2311af0cdcffe61261 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2594/e370f85299a0a2ebca37fc2311af0cdcffe61261/bibclassifylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 12, 710, 16, 1234, 2218, 11, 4672, 315, 15402, 4084, 364, 333, 1605, 1199, 309, 1234, 30, 2589, 18, 11241, 18, 2626, 2932, 668, 30, 738, 87, 8403, 82, 6, 738, 1234, 13, 584, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 12, 710, 16, 1234, 2218, 11, 4672, 315, 15402, 4084, 364, 333, 1605, 1199, 309, 1234, 30, 2589, 18, 11241, 18, 2626, 2932, 668, 30, 738, 87, 8403, 82, 6, 738, 1234, 13, 584, 34...
class D(A):
class X(A):
def testReturnPy(self):
5008dcbdd4601a262dd29d3ed03f31f4a34970d5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9978/5008dcbdd4601a262dd29d3ed03f31f4a34970d5/polymorphism.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 990, 9413, 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,...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 990, 9413, 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, -1...
p1 = re.sub(r'(\w)[^a-zA-Z0-9](\w)', "\\1 \\2", p1)
p1n = re.sub(r'(\w)[^a-zA-Z0-9\s\:](\w)', "\\1 \\2", p1)
def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg="10", sf="", so="d", sp="", of="hb", ot="", as="0", p1="", f1="", m1="", op1="", p2="", f2="", m2="", op2="", p3="", f3="", m3="", sc="0", jrec="0", id="-1", idb="-1", sysnb="", search="SEARCH", d1y="", d1m="", d1d="", d2y="", d2m="", d2d=""): """P...
0f644a3e9a21fa49065fbfbec95493378ff259fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/0f644a3e9a21fa49065fbfbec95493378ff259fb/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
self.step_forward_cb() self.source.after(int(self.step_rate * 1000), self.play_cb)
self.step_forward() self.source.after(int(self.step_rate * 1000), self.play)
def play_cb(self): if not self.paused and not self.finished: self.step_forward_cb() self.source.after(int(self.step_rate * 1000), self.play_cb)
299d942cd4da3083d36a0ef915134c6d929ed34b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5103/299d942cd4da3083d36a0ef915134c6d929ed34b/trace_display.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6599, 67, 7358, 12, 2890, 4672, 309, 486, 365, 18, 8774, 3668, 471, 486, 365, 18, 13527, 30, 365, 18, 4119, 67, 11565, 67, 7358, 1435, 365, 18, 3168, 18, 5205, 12, 474, 12, 2890, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6599, 67, 7358, 12, 2890, 4672, 309, 486, 365, 18, 8774, 3668, 471, 486, 365, 18, 13527, 30, 365, 18, 4119, 67, 11565, 67, 7358, 1435, 365, 18, 3168, 18, 5205, 12, 474, 12, 2890, 18,...
print_warning(req, "No exact match found, trying similar queries...", "", "<p>","<p>")
print_warning(req, "No exact match found, trying similar queries...")
def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg="10", sf="", so="d", sp="", of="hb", ot="", as="0", p1="", f1="", m1="", op1="", p2="", f2="", m2="", op2="", p3="", f3="", m3="", sc="0", jrec="0", id="-1", idb="-1", sysnb="", search="SEARCH", d1y="", d1m="", d1d="", d2y="", d2m="", d2d=""): """P...
535ed6a8d836745c0ddd7f1016fbe145d7c7bebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/535ed6a8d836745c0ddd7f1016fbe145d7c7bebd/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 1546, 2163, 3113, 9033, 1546, 3113, 1427, 154...
cmd = [ options.runpython[mode], os.path.basename(test), 'test' ]
cmd = options.runpython[mode][:] cmd += [os.path.basename(test), 'test']
def runPluginTests(options): """ Locate any plugin tests (-u) >>> options = parseOptions() >>> checkOptions(options) >>> options.dryrun = True >>> options.verbose = True >>> options.modes = ['release', 'debug'] >>> runPluginTests(options) /.../release/RunPython... setup.py test -v - + - + - + - + - + - + - + - + -...
134ce2a6ff32b988db479ade6fcf70a08aac23f5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/134ce2a6ff32b988db479ade6fcf70a08aac23f5/rt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3773, 14650, 12, 2116, 4672, 3536, 2851, 340, 1281, 1909, 7434, 24927, 89, 13, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 4080, 702, 18, 25011, 2681, 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, 1086, 3773, 14650, 12, 2116, 4672, 3536, 2851, 340, 1281, 1909, 7434, 24927, 89, 13, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 4080, 702, 18, 25011, 2681, 225...
if run_sql("""DELETE FROM accACTION WHERE id = %s OR name = %s""", (id_action, name_action)):
if run_sql("""DELETE FROM accACTION WHERE id=%s""", (id_action, )):
def acc_delete_action(id_action=0, name_action=0): """delete action in accACTION according to id, or secondly name. entries in accROLE_accACTION_accARGUMENT will also be removed. id_action - id of action to be deleted, prefered variable name_action - this is used if id_action is not given if the name or id is wrong,...
a0591b24288b64a49ae057ef551e9e7da81c6e50 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/a0591b24288b64a49ae057ef551e9e7da81c6e50/access_control_admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4078, 67, 3733, 67, 1128, 12, 350, 67, 1128, 33, 20, 16, 508, 67, 1128, 33, 20, 4672, 3536, 3733, 1301, 316, 4078, 12249, 4888, 358, 612, 16, 578, 2205, 715, 508, 18, 3222, 316, 4078...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4078, 67, 3733, 67, 1128, 12, 350, 67, 1128, 33, 20, 16, 508, 67, 1128, 33, 20, 4672, 3536, 3733, 1301, 316, 4078, 12249, 4888, 358, 612, 16, 578, 2205, 715, 508, 18, 3222, 316, 4078...
if tlat > 0:
if tlat >= 0:
def neighbors(hashcode): (lat,lon,lat_length,lon_length) = _decode_c2i(hashcode) ret = [] tlat = lat for tlon in (lon-1, lon+1): ret.append(_encode_i2c(tlat,tlon,lat_length,lon_length)) tlat = lat+1 if not tlat >> lat_length: for tlon in (lon-1, lon, lon+1): ret.append(_encode_i2c(tlat,tlon,lat_length,lon_length)) tl...
ade60e67d21bc50a4ac5218f8d19afa14576ed6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5062/ade60e67d21bc50a4ac5218f8d19afa14576ed6d/geohash.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11003, 12, 2816, 710, 4672, 261, 4801, 16, 9379, 16, 4801, 67, 2469, 16, 9379, 67, 2469, 13, 273, 389, 3922, 67, 71, 22, 77, 12, 2816, 710, 13, 325, 273, 5378, 268, 4801, 273, 2516, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 12, 2816, 710, 4672, 261, 4801, 16, 9379, 16, 4801, 67, 2469, 16, 9379, 67, 2469, 13, 273, 389, 3922, 67, 71, 22, 77, 12, 2816, 710, 13, 325, 273, 5378, 268, 4801, 273, 2516, ...
if self.current_folder != folder: if self.current_folder != None:
if self.current_folder != None: if self.current_folder != folder:
def SelectFolder(self, folder): '''A method to point ensuing imap operations at a target folder''' if self.current_folder != folder: if self.current_folder != None: if self.do_expunge: # It is faster to do close() than a single # expunge when we log out (because expunge returns # a list of all the deleted messages, tha...
1f735ae63453666821c634db8f67e022a9236cc1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/1f735ae63453666821c634db8f67e022a9236cc1/imapfilter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6766, 3899, 12, 2890, 16, 3009, 4672, 9163, 37, 707, 358, 1634, 19670, 22370, 20226, 5295, 622, 279, 1018, 3009, 26418, 309, 365, 18, 2972, 67, 5609, 480, 599, 30, 309, 365, 18, 2972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6766, 3899, 12, 2890, 16, 3009, 4672, 9163, 37, 707, 358, 1634, 19670, 22370, 20226, 5295, 622, 279, 1018, 3009, 26418, 309, 365, 18, 2972, 67, 5609, 480, 599, 30, 309, 365, 18, 2972, ...
if indexpos(oid,0) != prev:
if index_get(oid,0) != prev:
def read_index(file, name, index, vindex, tindex, stop='\377'*8): indexpos=index.get vndexpos=vindex.get tappend=tindex.append read=file.read seek=file.seek seek(0,2) file_size=file.tell() seek(0) if file_size: if file_size < 4: raise FileStorageFormatError, file.name if read(4) != packed_version: raise FileStorageFor...
c717e4737d70d5e206ed68763b0a0252266215ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/c717e4737d70d5e206ed68763b0a0252266215ca/FileStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 1615, 12, 768, 16, 508, 16, 770, 16, 331, 1615, 16, 268, 1615, 16, 2132, 2218, 64, 23, 4700, 11, 14, 28, 4672, 770, 917, 33, 1615, 18, 588, 21732, 561, 917, 33, 90, 1615, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 1615, 12, 768, 16, 508, 16, 770, 16, 331, 1615, 16, 268, 1615, 16, 2132, 2218, 64, 23, 4700, 11, 14, 28, 4672, 770, 917, 33, 1615, 18, 588, 21732, 561, 917, 33, 90, 1615, ...
Diagonal offset (see `triu` for details).
Diagonal offset (see `triu` for details).
def triu_indices(n,k=0): """ Return the indices for the upper-triangle of an (n, n) array. Parameters ---------- n : int Sets the size of the arrays for which the returned indices will be valid. k : int, optional Diagonal offset (see `triu` for details). Returns ------- inds : tuple of arrays The indices for the tria...
4d40dff448b1b368af6752fa8b9a93716db76b3f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14925/4d40dff448b1b368af6752fa8b9a93716db76b3f/twodim_base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6882, 89, 67, 6836, 12, 82, 16, 79, 33, 20, 4672, 3536, 2000, 326, 4295, 364, 326, 3854, 17, 16857, 4341, 434, 392, 261, 82, 16, 290, 13, 526, 18, 225, 7012, 12181, 290, 294, 509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6882, 89, 67, 6836, 12, 82, 16, 79, 33, 20, 4672, 3536, 2000, 326, 4295, 364, 326, 3854, 17, 16857, 4341, 434, 392, 261, 82, 16, 290, 13, 526, 18, 225, 7012, 12181, 290, 294, 509, ...
def _mesg(s): sys.stderr.write('\t'+s+'\n')
def _mesg(s, secs=None): if secs is None: secs = time.time() tm = time.strftime('%M:%S', time.localtime(secs)) sys.stderr.write(' %s.%02d %s\n' % (tm, (secs*100)%100, s))
def _mesg(s):
b7ea8daca8563042c122b826472f3e45d15d1c52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b7ea8daca8563042c122b826472f3e45d15d1c52/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 26244, 75, 12, 87, 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, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 26244, 75, 12, 87, 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,...
for i in range(count/1024): self.read(1024)
for i in range(count // 1024): self.read(1024)
def seek(self, offset): if self.mode == WRITE: if offset < self.offset: raise IOError('Negative seek in write mode') count = offset - self.offset for i in range(count/1024): self.write(1024*'\0') self.write((count%1024)*'\0') elif self.mode == READ: if offset < self.offset: # for negative seek, rewind and do positive s...
6cfcc3aa138da945939cb00dd2b248f92d61d634 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/6cfcc3aa138da945939cb00dd2b248f92d61d634/gzip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6520, 12, 2890, 16, 1384, 4672, 309, 365, 18, 3188, 422, 20967, 30, 309, 1384, 411, 365, 18, 3348, 30, 1002, 8340, 2668, 14959, 6520, 316, 1045, 1965, 6134, 1056, 273, 1384, 300, 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, 6520, 12, 2890, 16, 1384, 4672, 309, 365, 18, 3188, 422, 20967, 30, 309, 1384, 411, 365, 18, 3348, 30, 1002, 8340, 2668, 14959, 6520, 316, 1045, 1965, 6134, 1056, 273, 1384, 300, 365, ...
print 'Hit 401'
def _resume_populate(self): '''Gather a group of TwitterUsers. Tries to choose a highly interconnected group. Picks up where a previous _populate() call stopped''' while self._node_pool and len(self._community_members) < self._max_population: #choose person on list with highest interconnection #first 0 at end of line i...
c33cd1bf5ff4b97d6c7130c212b3535e6d40e41c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14113/c33cd1bf5ff4b97d6c7130c212b3535e6d40e41c/populate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 25158, 67, 19936, 12, 2890, 4672, 9163, 26092, 279, 1041, 434, 19551, 6588, 18, 10000, 281, 358, 9876, 279, 3551, 715, 1554, 8537, 1041, 18, 453, 20642, 731, 1625, 279, 2416, 389, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25158, 67, 19936, 12, 2890, 4672, 9163, 26092, 279, 1041, 434, 19551, 6588, 18, 10000, 281, 358, 9876, 279, 3551, 715, 1554, 8537, 1041, 18, 453, 20642, 731, 1625, 279, 2416, 389, 1...
config.write("PY_INCDIR = %s\n" % py_incpath )
config.write("PY_INCDIR = %s\n" % py_incpath.replace("\\","/"))
def main(): # Options for qmake DEFINES = "" CONFIG = "" # Setup command line parser parser = OptionParser(version="%prog 0.5") parser.add_option("--dsp", action="store_true", dest="dsp", help="also Generate Visual Studio project files") parser.add_option("--nocolor", action="store_true", dest="nocolor", help="disable ...
a2a6d1814d2caafbbbeea91b5d533aa178453109 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2534/a2a6d1814d2caafbbbeea91b5d533aa178453109/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 5087, 364, 1043, 6540, 25957, 3740, 55, 273, 1408, 9128, 273, 1408, 468, 10939, 1296, 980, 2082, 2082, 273, 18862, 12, 1589, 11613, 14654, 374, 18, 25, 7923, 2082, 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, 2774, 13332, 468, 5087, 364, 1043, 6540, 25957, 3740, 55, 273, 1408, 9128, 273, 1408, 468, 10939, 1296, 980, 2082, 2082, 273, 18862, 12, 1589, 11613, 14654, 374, 18, 25, 7923, 2082, 18, ...
return negInf
return _negInf
def log10(self, context=None): """Returns the base 10 logarithm of self."""
ebab68ad25421add045049bc0a87fbe7000ec3f7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/ebab68ad25421add045049bc0a87fbe7000ec3f7/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 2163, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 1356, 326, 1026, 1728, 613, 31249, 434, 365, 12123, 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, 613, 2163, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 1356, 326, 1026, 1728, 613, 31249, 434, 365, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
select_trigger_traceback(ctb=None)
select_trigger_traceback ()
def handle_close (self): self.close () assert None == self.log ('close', 'debug')
a4a7f87ae8005bcc29500d53671aa10b1e6a3394 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/a4a7f87ae8005bcc29500d53671aa10b1e6a3394/select_trigger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 4412, 261, 2890, 4672, 365, 18, 4412, 1832, 1815, 599, 422, 365, 18, 1330, 7707, 4412, 2187, 296, 4148, 6134, 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, 1640, 67, 4412, 261, 2890, 4672, 365, 18, 4412, 1832, 1815, 599, 422, 365, 18, 1330, 7707, 4412, 2187, 296, 4148, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
sage: t
sage: t
def qsieve(n, block=True, time=False, verbose=False): """ Run Hart's quadratic sieve and return the distinct proper factors of the integer n that it finds. INPUT: n -- an integer with at least 40 digits block -- (default: True) if True, you must wait until the sieve computation is complete before using SAGE further. I...
789f3da181b973e90eeb134c2b3ae867a96b6654 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/789f3da181b973e90eeb134c2b3ae867a96b6654/qsieve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8719, 21271, 12, 82, 16, 1203, 33, 5510, 16, 813, 33, 8381, 16, 3988, 33, 8381, 4672, 3536, 1939, 670, 485, 1807, 26146, 272, 21271, 471, 327, 326, 10217, 5338, 14490, 434, 326, 3571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8719, 21271, 12, 82, 16, 1203, 33, 5510, 16, 813, 33, 8381, 16, 3988, 33, 8381, 4672, 3536, 1939, 670, 485, 1807, 26146, 272, 21271, 471, 327, 326, 10217, 5338, 14490, 434, 326, 3571, ...
raise str(**argd)
def __call__(self, req, form): argd = wash_search_urlargd(form) argd['recid'] = self.recid argd['tab'] = self.tab
2ce55664b1b108f7757d5116e0bdf813fb6c8765 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/2ce55664b1b108f7757d5116e0bdf813fb6c8765/websearch_webinterface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 1111, 16, 646, 4672, 1501, 72, 273, 341, 961, 67, 3072, 67, 718, 3175, 72, 12, 687, 13, 1501, 72, 3292, 3927, 350, 3546, 273, 365, 18, 3927, 350, 1501,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 1991, 972, 12, 2890, 16, 1111, 16, 646, 4672, 1501, 72, 273, 341, 961, 67, 3072, 67, 718, 3175, 72, 12, 687, 13, 1501, 72, 3292, 3927, 350, 3546, 273, 365, 18, 3927, 350, 1501,...
... self.close = self.generator.close
... def __init__(self, name):
8ebb28df3a6e0bce240b6c2aa20d7aa5a4dfef39 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/8ebb28df3a6e0bce240b6c2aa20d7aa5a4dfef39/test_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for i in xrange(0, stop): line = self.editCtrl.GetLine(i) if line == '' or line[0] == ' stop += 1 line = self.editCtrl.GetLine(stop).strip() numlines = self.editCtrl.GetLineCount() while stop < numlines and (line == '' or line[0] == '
codelen = len(code) - 1 while stop < codelen and isinstance(code[stop + 1], spe.Label):
def OnToolClick(self, event): id = event.GetId()
4f7cf094f743cc1258da61338293d78c609f2898 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9699/4f7cf094f743cc1258da61338293d78c609f2898/ispugui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 6364, 6563, 12, 2890, 16, 871, 4672, 612, 273, 871, 18, 967, 548, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 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, 2755, 6364, 6563, 12, 2890, 16, 871, 4672, 612, 273, 871, 18, 967, 548, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...