rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
file = open(tmp_filename, 'wb')
file = os.fdopen(os.open(tmp_filename, os.O_WRONLY|os.O_CREAT|os.O_TRUNC, 0600), 'wb')
def save(self, data): """ Given a dictionary conforming to the IConfigurationBackend specification, write the data to the file configured with this backend in a format suitable to be read back using load(). """ lines = self._build_group(data, 0) tmp_filename = os.path.join(os.path.dirname(self.filename), '%s.%d.%08X' %...
d53e5efe563f5964e78e5a8bf7270eb8dd09a42d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/d53e5efe563f5964e78e5a8bf7270eb8dd09a42d/file.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 501, 4672, 3536, 16803, 279, 3880, 20156, 310, 358, 326, 467, 1750, 7172, 7490, 16, 1045, 326, 501, 358, 326, 585, 4351, 598, 333, 4221, 316, 279, 740, 10631, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 501, 4672, 3536, 16803, 279, 3880, 20156, 310, 358, 326, 467, 1750, 7172, 7490, 16, 1045, 326, 501, 358, 326, 585, 4351, 598, 333, 4221, 316, 279, 740, 10631, 358, ...
def WriteEnumerationItems(self):
def WriteEnumerationItems(self, stream):
def WriteEnumerationItems(self): enumName = self.doc[0] # Write in name alpha order names = self.mapVars.keys() names.sort() for name in names: entry = self.mapVars[name] vdesc = entry.desc if vdesc[4] == pythoncom.VAR_CONST: val = vdesc[1] if type(val)==type(0): if val==0x80000000L: # special case use = "0x80000000L" ...
cfd84d318292d699ca53899ee423b08bfb797445 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/cfd84d318292d699ca53899ee423b08bfb797445/genpy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 21847, 3126, 12, 2890, 16, 1407, 4672, 2792, 461, 273, 365, 18, 2434, 63, 20, 65, 468, 2598, 316, 508, 4190, 1353, 1257, 273, 365, 18, 1458, 5555, 18, 2452, 1435, 1257, 18, 3804,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2598, 21847, 3126, 12, 2890, 16, 1407, 4672, 2792, 461, 273, 365, 18, 2434, 63, 20, 65, 468, 2598, 316, 508, 4190, 1353, 1257, 273, 365, 18, 1458, 5555, 18, 2452, 1435, 1257, 18, 3804,...
title = self.distribution.get_fullname()
title = self.title or self.distribution.get_fullname()
def get_inidata (self): # Return data describing the installation.
7ce11c16fe851b7b7acd509e2153406fbeae56f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/7ce11c16fe851b7b7acd509e2153406fbeae56f9/bdist_wininst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 267, 350, 396, 261, 2890, 4672, 468, 2000, 501, 16868, 326, 13193, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 67, 267, 350, 396, 261, 2890, 4672, 468, 2000, 501, 16868, 326, 13193, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
for f in ['primaryfile', 'filelistsfile', 'otherfile', 'repomdfile', 'groupfile']:
for f in ['primaryfile', 'filelistsfile', 'otherfile', 'repomdfile', 'groupfile']:
def doFinalMove(self): """move the just-created repodata from .repodata to repodata also make sure to preserve any files we didn't mess with in the metadata dir""" output_final_dir = os.path.join(self.conf.outputdir, self.conf.finaldir) output_old_dir = os.path.join(self.conf.outputdir, self.conf.olddir) if os.path.e...
473cb91d36b5c88e3a55fa60404eb172a1c6e32b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9557/473cb91d36b5c88e3a55fa60404eb172a1c6e32b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 7951, 7607, 12, 2890, 4672, 3536, 8501, 326, 2537, 17, 4824, 2071, 18229, 628, 263, 266, 7832, 396, 358, 2071, 18229, 2546, 1221, 3071, 358, 9420, 1281, 1390, 732, 10242, 1404, 12755,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 7951, 7607, 12, 2890, 4672, 3536, 8501, 326, 2537, 17, 4824, 2071, 18229, 628, 263, 266, 7832, 396, 358, 2071, 18229, 2546, 1221, 3071, 358, 9420, 1281, 1390, 732, 10242, 1404, 12755,...
return self.spinpol
if not hasattr(self, 'spinpol'): self.spinpol = self.atoms.get_initial_magnetic_moments().any() return self.spinpol
def get_spin_polarized(self): return self.spinpol
313d123b3241721e72c0fab3e1fcbcc50bc783d7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1380/313d123b3241721e72c0fab3e1fcbcc50bc783d7/vasp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 22876, 67, 3915, 297, 1235, 12, 2890, 4672, 327, 365, 18, 22876, 3915, 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, 336, 67, 22876, 67, 3915, 297, 1235, 12, 2890, 4672, 327, 365, 18, 22876, 3915, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def analyze(self, text, content_type="text/txt"): """ Submits 'text' to OpenCalais for analysis and memorizes the extracted metadata. Set the content-type to 'text/html' if you are submitting HTML data. """ externalID = Calais.content_id(text) paramsXML = PARAMS_XML % (content_type, self.allow_distro, self.allow_search...
def analyze(self, text, content_type="text/txt"): """ Submits 'text' to OpenCalais for analysis and memorizes the extracted metadata. Set the content-type to 'text/html' if you are submitting HTML data. """ externalID = Calais.content_id(text) paramsXML = PARAMS_XML % (content_type, self.allow_distro, self.allow_search...
def analyze(self, text, content_type="text/txt"):
460eff360c3985f3e84589cce85a94fab6cc8d6b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6604/460eff360c3985f3e84589cce85a94fab6cc8d6b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12375, 12, 2890, 16, 977, 16, 913, 67, 723, 1546, 955, 19, 5830, 6, 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, ...
[ 1, 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, 12375, 12, 2890, 16, 977, 16, 913, 67, 723, 1546, 955, 19, 5830, 6, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if service.seek() is None:
if not self.isSeekable():
def setSeekState(self, state): service = self.session.nav.getCurrentService() if service is None: return False if service.seek() is None: if state not in [self.SEEK_STATE_PLAY, self.SEEK_STATE_PAUSE]: state = self.SEEK_STATE_PLAY pauseable = service.pause()
f372e30ee47557091c643660761fb5fb822827ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/f372e30ee47557091c643660761fb5fb822827ec/InfoBarGenerics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13928, 3317, 1119, 12, 2890, 16, 919, 4672, 1156, 273, 365, 18, 3184, 18, 11589, 18, 588, 3935, 1179, 1435, 225, 309, 1156, 353, 599, 30, 327, 1083, 225, 309, 486, 365, 18, 291, 16134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13928, 3317, 1119, 12, 2890, 16, 919, 4672, 1156, 273, 365, 18, 3184, 18, 11589, 18, 588, 3935, 1179, 1435, 225, 309, 1156, 353, 599, 30, 327, 1083, 225, 309, 486, 365, 18, 291, 16134,...
layout.set_font(0.8, family="Helvetica") filename_textbox = layout.textbox(self.FILE_NAME_TEXT + utils.filenameToUnicode(self.data.video_path))
layout.set_font(0.8, family="Helvetica", bold=True) filename_textbox = layout.textbox(self.FILE_NAME_TEXT) filename_textbox.append_text(" ") filename_textbox.append_text(utils.filenameToUnicode(self.data.video_path), font=layout.font(0.8, family="Helvetica"))
def pack_main(self, layout): vbox = cellpack.VBox() layout.set_font(1.1, family=widgetset.ITEM_TITLE_FONT, bold=True) layout.set_text_color(self.ITEM_TITLE_COLOR) title = layout.textbox(self.data.name) # FIXME - title should wrap to the next line instead of being # truncated; ben said this might be hard/impossible if n...
26563b20e73d5ebb347c786d39b11ac81cce3c06 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/26563b20e73d5ebb347c786d39b11ac81cce3c06/style.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2298, 67, 5254, 12, 2890, 16, 3511, 4672, 331, 2147, 273, 2484, 2920, 18, 58, 3514, 1435, 3511, 18, 542, 67, 5776, 12, 21, 18, 21, 16, 6755, 33, 6587, 542, 18, 12674, 67, 14123, 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, 2298, 67, 5254, 12, 2890, 16, 3511, 4672, 331, 2147, 273, 2484, 2920, 18, 58, 3514, 1435, 3511, 18, 542, 67, 5776, 12, 21, 18, 21, 16, 6755, 33, 6587, 542, 18, 12674, 67, 14123, 67, ...
self._p_changed = 1 if REQUEST: self.setSessionInfoTrans(MESSAGE_SAVEDCHANGES, date=self.utGetTodayDate()) return REQUEST.RESPONSE.redirect('%s/admin_workgroups_html?w=%s' % (self.absolute_url(), id))
self._p_changed = True if REQUEST is not None: self.setSessionInfoTrans("Workgroup added") REQUEST.RESPONSE.redirect('%s/admin_workgroups_html?w=%s' % (self.absolute_url(), id))
def admin_addworkgroup(self, title='', location='', role='', REQUEST=None): """ """ err = [] if title=='': err.append('Title is required') if location=='': err.append('Location is required') else: try: #check for a valid location ob = self.unrestrictedTraverse(location) except: err.append('Invalid location') else: #che...
f1a8d5c46542f518b0813c1c08e0771b732d4f74 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/f1a8d5c46542f518b0813c1c08e0771b732d4f74/CHMSite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3981, 67, 1289, 1252, 1655, 12, 2890, 16, 2077, 2218, 2187, 2117, 2218, 2187, 2478, 2218, 2187, 12492, 33, 7036, 4672, 3536, 3536, 393, 273, 5378, 309, 2077, 18920, 4278, 393, 18, 6923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3981, 67, 1289, 1252, 1655, 12, 2890, 16, 2077, 2218, 2187, 2117, 2218, 2187, 2478, 2218, 2187, 12492, 33, 7036, 4672, 3536, 3536, 393, 273, 5378, 309, 2077, 18920, 4278, 393, 18, 6923, ...
>>> should_pass(rewrap_value_signed_char, test_values_signed(c_char)[0]) >>> should_pass(rewrap_value_short, test_values_signed(c_short)[0]) >>> should_pass(rewrap_value_int, test_values_signed(c_int)[0]) >>> should_pass(rewrap_value_long, test_values_signed(c_long)[0]) >>> should_pass(rewrap_value_long_long, test_valu...
>>> should_pass(rewrap_value_signed_char, _signed_values(char_size())) >>> should_pass(rewrap_value_short, _signed_values(short_size())) >>> should_pass(rewrap_value_int, _signed_values(int_size())) >>> should_pass(rewrap_value_long, _signed_values(long_size())) >>> should_pass(rewrap_value_long_long, _signed_values(lo...
... def rewrap_const_reference_unsigned_long_long(x): return long(x)
27aa9382fcaf2612bd798ae7193ce123327939be /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9978/27aa9382fcaf2612bd798ae7193ce123327939be/test_builtin_converters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 283, 4113, 67, 10248, 67, 6180, 67, 22297, 67, 5748, 67, 5748, 12, 92, 4672, 327, 1525, 12, 92, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 283, 4113, 67, 10248, 67, 6180, 67, 22297, 67, 5748, 67, 5748, 12, 92, 4672, 327, 1525, 12, 92, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if self.interface.connection:
try: con = self.interface.connection
def decode_xml(self, dom): try: device_name = dom.getAttribute("device") device = self.connector.topology.devices_get(device_name) iface_name = dom.getAttribute("interface") self.interface = device.interfaces_get(iface_name) if self.interface.connection: raise fault.new(fault.DUPLICATE_INTERFACE_CONNECTION, "Interface ...
2cf2f48b31355fb194732921befd77c09dbc5d71 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3860/2cf2f48b31355fb194732921befd77c09dbc5d71/generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 67, 2902, 12, 2890, 16, 4092, 4672, 775, 30, 2346, 67, 529, 273, 4092, 18, 588, 1499, 2932, 5964, 7923, 2346, 273, 365, 18, 23159, 18, 25572, 18, 12506, 67, 588, 12, 5964, 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, 2495, 67, 2902, 12, 2890, 16, 4092, 4672, 775, 30, 2346, 67, 529, 273, 4092, 18, 588, 1499, 2932, 5964, 7923, 2346, 273, 365, 18, 23159, 18, 25572, 18, 12506, 67, 588, 12, 5964, 67, ...
config -- (optional) Configuration dictionary
config -- (optional) Configuration dictionary
def __init__(self, repoDir, config=None): """Create a new repository instance by scanning a directory containing qooxdoo libraries. By default, all libraries found will be included. Optionally, a dictionary containing library/directory names as keys and a list of library version names/subdirectories can be provided, e....
474f20bb18433ee7f8d0f5b7d32755ffd9c7fdc5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/474f20bb18433ee7f8d0f5b7d32755ffd9c7fdc5/repository.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3538, 1621, 16, 642, 33, 7036, 4672, 3536, 1684, 279, 394, 3352, 791, 635, 21138, 279, 1867, 4191, 1043, 83, 2409, 2896, 83, 14732, 18, 2525, 805, 16, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3538, 1621, 16, 642, 33, 7036, 4672, 3536, 1684, 279, 394, 3352, 791, 635, 21138, 279, 1867, 4191, 1043, 83, 2409, 2896, 83, 14732, 18, 2525, 805, 16, 77...
def action(self, index=-1):
def action(self, index=-1, multiplier=1):
def action(self, index=-1): self.frame.open("about:words.hangman")
1575bcc96fcf0d1dec91a777fafd84963d861875 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/1575bcc96fcf0d1dec91a777fafd84963d861875/hangman_mode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 2890, 16, 770, 29711, 21, 16, 15027, 33, 21, 4672, 282, 365, 18, 3789, 18, 3190, 2932, 21071, 30, 3753, 18, 76, 539, 4728, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 2890, 16, 770, 29711, 21, 16, 15027, 33, 21, 4672, 282, 365, 18, 3789, 18, 3190, 2932, 21071, 30, 3753, 18, 76, 539, 4728, 7923, 2, -100, -100, -100, -100, -100, -100, -100, ...
self.members.insert(0, node)
self.members.insert(0, newchild)
def addchild(self, node, _guard_ = 050201, top = False, after = None, before = None): # [renamed from addmember - bruce 050113] """Add the given node to the end (aka. bottom) of this Group's members list, or to the specified place (top aka. beginning, or after some child or index, or before some child or index) if one ...
de35ebb12a253c01b1a5811524ca45a3694bb609 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/de35ebb12a253c01b1a5811524ca45a3694bb609/Utility.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3624, 12, 2890, 16, 756, 16, 389, 24594, 67, 273, 15331, 3103, 1611, 16, 1760, 273, 1083, 16, 1839, 273, 599, 16, 1865, 273, 599, 4672, 468, 306, 1187, 2808, 628, 527, 5990, 300, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3624, 12, 2890, 16, 756, 16, 389, 24594, 67, 273, 15331, 3103, 1611, 16, 1760, 273, 1083, 16, 1839, 273, 599, 16, 1865, 273, 599, 4672, 468, 306, 1187, 2808, 628, 527, 5990, 300, ...
pygame.draw.circle(self.screen, (255,0,0),
pygame.draw.circle(self.screen, (255,0,0),
def draw(self): if self.exploding: self.expl_prog += .5 pygame.draw.circle(self.screen, (255,0,0), (int(self.pos[0]),int(self.pos[1])), int(self.expl_prog)) else: Ship.draw(self)
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, 3724, 12, 2890, 4672, 309, 365, 18, 338, 412, 4751, 30, 365, 18, 338, 412, 67, 14654, 1011, 263, 25, 2395, 13957, 18, 9446, 18, 18970, 12, 2890, 18, 9252, 16, 261, 10395, 16, 20, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 309, 365, 18, 338, 412, 4751, 30, 365, 18, 338, 412, 67, 14654, 1011, 263, 25, 2395, 13957, 18, 9446, 18, 18970, 12, 2890, 18, 9252, 16, 261, 10395, 16, 20, 16,...
self._cell = as_cell(cell)
def __init__(self, cell, count=None): self._cell = as_cell(cell) e = FiniteElement("DG", cell, 0) Function.__init__(self, e, count) self._repr = "Constant(%r, %r)" % (self._cell, self._count)
34d63ec1143e4494340ad2e1dd6605502856dd97 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/624/34d63ec1143e4494340ad2e1dd6605502856dd97/function.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2484, 16, 1056, 33, 7036, 4672, 425, 273, 9458, 1137, 1046, 2932, 40, 43, 3113, 2484, 16, 374, 13, 4284, 16186, 2738, 972, 12, 2890, 16, 425, 16, 1056, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2484, 16, 1056, 33, 7036, 4672, 425, 273, 9458, 1137, 1046, 2932, 40, 43, 3113, 2484, 16, 374, 13, 4284, 16186, 2738, 972, 12, 2890, 16, 425, 16, 1056, ...
self.Blocked = False
self.Block = 0
def __init__(self, main, context): self.Context = context self.Main = main self.Blocked = False rightChild = gtk.VBox() rightChild.set_border_width(10) # Auto sort autoSort = gtk.CheckButton(_("Automatic plugin sorting")) rightChild.pack_start(autoSort, False, False, 10) # Lists listBox = gtk.HBox() listBox.set_spaci...
64ae5f7b59d75f12c93264f106c303e9e7db3dcd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7062/64ae5f7b59d75f12c93264f106c303e9e7db3dcd/Pages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2774, 16, 819, 4672, 365, 18, 1042, 273, 819, 365, 18, 6376, 273, 2774, 365, 18, 1768, 273, 374, 2145, 1763, 273, 22718, 18, 58, 3514, 1435, 2145, 1763, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2774, 16, 819, 4672, 365, 18, 1042, 273, 819, 365, 18, 6376, 273, 2774, 365, 18, 1768, 273, 374, 2145, 1763, 273, 22718, 18, 58, 3514, 1435, 2145, 1763, ...
'<title>%(code)s %(name)s</title>\n
'<title>%(code)s %(name)s</title>\n'
def get_body(self, environ): return ( '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n' '<title>%(code)s %(name)s</title>\n '<h1>%(name)s</h1>\n' '%(description)s\n' ) % { 'code': self.code, 'name': escape(self.name), 'description': self.get_description(environ) }
75b0e2977bd4e7a2892754a54599234f4e0321bc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14437/75b0e2977bd4e7a2892754a54599234f4e0321bc/exceptions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3432, 12, 2890, 16, 5473, 4672, 327, 261, 2368, 5, 29824, 3982, 17187, 3701, 759, 59, 23, 39, 759, 25728, 3982, 890, 18, 22, 16269, 759, 1157, 6, 5333, 82, 11, 2368, 2649, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3432, 12, 2890, 16, 5473, 4672, 327, 261, 2368, 5, 29824, 3982, 17187, 3701, 759, 59, 23, 39, 759, 25728, 3982, 890, 18, 22, 16269, 759, 1157, 6, 5333, 82, 11, 2368, 2649, 9...
xx = str(fx(e)) yy = str(fy(e)) zz = str(fz(e))
xx,yy,zz = map(str, fxyz(e))
def __make_table(yfmtfunc, fmtfunc, endline, list, fx, fy, fz, sortx=None, sorty=None): vx = {} vy = {} vz = {} l = 0 for e in list: xx = str(fx(e)) yy = str(fy(e)) zz = str(fz(e)) l = max(len(yy),l) vx[xx] = max(vx.get(xx,0), len(xx), len(zz)) vy[yy] = None vz[(xx,yy)] = zz vxk = vx.keys() vyk = vy.keys() if sortx: v...
e331990b0d8485c2b144b8e75bc86ef78d647e42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7311/e331990b0d8485c2b144b8e75bc86ef78d647e42/scapy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6540, 67, 2121, 12, 93, 8666, 644, 16, 1325, 644, 16, 679, 1369, 16, 666, 16, 12661, 16, 28356, 16, 284, 94, 16, 1524, 92, 33, 7036, 16, 1524, 93, 33, 7036, 4672, 17911, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6540, 67, 2121, 12, 93, 8666, 644, 16, 1325, 644, 16, 679, 1369, 16, 666, 16, 12661, 16, 28356, 16, 284, 94, 16, 1524, 92, 33, 7036, 16, 1524, 93, 33, 7036, 4672, 17911, 273, ...
if self._module is None: self._module = uid else: self._module = "multiple"
modules.append(uid)
def __init__(self, docmap, pkg_name='', show_private=1): """ Construct a new HTML outputter, using the given C{Documentation} object. @param docmap: The documentation to output. @type docmap: C{Documentation} @param pkg_name: The name of the package. This is used in the header. @type pkg_name: C{string} @param show_p...
208b57b68fee425e4ef284675975df62fecdb5ea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/208b57b68fee425e4ef284675975df62fecdb5ea/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 997, 1458, 16, 3475, 67, 529, 2218, 2187, 2405, 67, 1152, 33, 21, 4672, 3536, 14291, 279, 394, 3982, 876, 387, 16, 1450, 326, 864, 385, 95, 18905, 97, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 997, 1458, 16, 3475, 67, 529, 2218, 2187, 2405, 67, 1152, 33, 21, 4672, 3536, 14291, 279, 394, 3982, 876, 387, 16, 1450, 326, 864, 385, 95, 18905, 97, ...
default = row['default']
(SELECT substring(d.adsrc for 128) FROM pg_catalog.pg_attrdef d WHERE d.adrelid = a.attrelid AND d.adnum = a.attnum AND a.atthasdef)
8d81a40589b22e121c61644ff79847726176bc1e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1074/8d81a40589b22e121c61644ff79847726176bc1e/postgres.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 261, 4803, 3019, 12, 72, 18, 361, 4816, 364, 8038, 13, 4571, 7184, 67, 7199, 18, 8365, 67, 1747, 536, 302, 4852, 302, 18, 361, 2878, 350, 273, 279, 18, 4558, 2878, 350, 4116, 302, 18, 361,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 261, 4803, 3019, 12, 72, 18, 361, 4816, 364, 8038, 13, 4571, 7184, 67, 7199, 18, 8365, 67, 1747, 536, 302, 4852, 302, 18, 361, 2878, 350, 273, 279, 18, 4558, 2878, 350, 4116, 302, 18, 361,...
self.cookedq = ''
self.cookedq = b''
def read_some(self): """Read at least one byte of cooked data unless EOF is hit.
4ff2306a48ad184f76d4bd456b4caf600359b831 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/4ff2306a48ad184f76d4bd456b4caf600359b831/telnetlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 19068, 12, 2890, 4672, 3536, 1994, 622, 4520, 1245, 1160, 434, 15860, 329, 501, 3308, 6431, 353, 6800, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 855, 67, 19068, 12, 2890, 4672, 3536, 1994, 622, 4520, 1245, 1160, 434, 15860, 329, 501, 3308, 6431, 353, 6800, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
class EventPhone(eg.PluginClass):
class EventPhone(eg.PluginBase):
def handle_accept (self): """Called by asyncore engine when new connection arrives""" # Accept new connection (sock, addr) = self.accept() Server_Handler( sock, addr, self.hex_md5, self.cookie, self.handler, self )
ce2710566fb00079a9c5574c6244943702ea0800 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8076/ce2710566fb00079a9c5574c6244943702ea0800/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 9436, 261, 2890, 4672, 3536, 8185, 635, 4326, 479, 4073, 1347, 394, 1459, 2454, 3606, 8395, 468, 8662, 394, 1459, 261, 15031, 16, 3091, 13, 273, 365, 18, 9436, 1435, 3224, 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, 1640, 67, 9436, 261, 2890, 4672, 3536, 8185, 635, 4326, 479, 4073, 1347, 394, 1459, 2454, 3606, 8395, 468, 8662, 394, 1459, 261, 15031, 16, 3091, 13, 273, 365, 18, 9436, 1435, 3224, 67, ...
sage: print L.is_empty_column(0)
sage: L.is_empty_column(0)
def is_empty_column(self, c): """ Checks if column c of the partial latin square self is empty.
9087d14f978c663baae98e9a365c4a3aa2a6f24c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/9087d14f978c663baae98e9a365c4a3aa2a6f24c/latin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 5531, 67, 2827, 12, 2890, 16, 276, 4672, 3536, 13074, 309, 1057, 276, 434, 326, 4702, 30486, 8576, 365, 353, 1008, 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, 353, 67, 5531, 67, 2827, 12, 2890, 16, 276, 4672, 3536, 13074, 309, 1057, 276, 434, 326, 4702, 30486, 8576, 365, 353, 1008, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Construct a C{Token} containing the doctest block starting at
Construct a L{Token} containing the doctest block starting at
def _tokenize_doctest(lines, start, block_indent, tokens, warnings): """ Construct a C{Token} containing the doctest block starting at C{lines[start]}, and append it to C{tokens}. C{block_indent} should be the indentation of the doctest block. Any warnings generated while tokenizing the doctest block will be appended...
26f654ea66befeec31f7f9ebcebabc7d09f33070 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/26f654ea66befeec31f7f9ebcebabc7d09f33070/epytext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2316, 554, 67, 2896, 299, 395, 12, 3548, 16, 787, 16, 1203, 67, 9355, 16, 2430, 16, 5599, 4672, 3536, 14291, 279, 511, 95, 1345, 97, 4191, 326, 31263, 395, 1203, 5023, 622, 385, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2316, 554, 67, 2896, 299, 395, 12, 3548, 16, 787, 16, 1203, 67, 9355, 16, 2430, 16, 5599, 4672, 3536, 14291, 279, 511, 95, 1345, 97, 4191, 326, 31263, 395, 1203, 5023, 622, 385, ...
'''
'''\
def %s(%s): ''' %s ''' %s # write the node code here. # return outputs return %s
b5a44eedd5b37410e305bbc37d63918d53e0c324 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11338/b5a44eedd5b37410e305bbc37d63918d53e0c324/package.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 738, 87, 9275, 87, 4672, 875, 8314, 738, 87, 875, 8314, 738, 87, 468, 1045, 326, 756, 981, 2674, 18, 225, 468, 327, 6729, 327, 738, 87, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 738, 87, 9275, 87, 4672, 875, 8314, 738, 87, 875, 8314, 738, 87, 468, 1045, 326, 756, 981, 2674, 18, 225, 468, 327, 6729, 327, 738, 87, 2, -100, -100, -100, -100, -100, -100, -100, -...
def _remove_file(path): if os.path.exists(path): os.remove(path)
def _remove_file(path, attempt=0): try: if os.path.exists(path): os.remove(path) except Exception, e: logging.debug("_remove_file: %s kicked up while removing %s", e, self.log_path) if attempt <= 3: eventloop.add_timeout(1.0, _remove_file, "removing file", args=(self.log_path, attempt + 1))
def _remove_file(path): if os.path.exists(path): os.remove(path)
8bbe1d2c518c0851fb67273bf420e6fca9309b03 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/8bbe1d2c518c0851fb67273bf420e6fca9309b03/videoconversion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4479, 67, 768, 12, 803, 16, 4395, 33, 20, 4672, 775, 30, 309, 1140, 18, 803, 18, 1808, 12, 803, 4672, 1140, 18, 4479, 12, 803, 13, 1335, 1185, 16, 425, 30, 282, 2907, 18, 4148...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4479, 67, 768, 12, 803, 16, 4395, 33, 20, 4672, 775, 30, 309, 1140, 18, 803, 18, 1808, 12, 803, 4672, 1140, 18, 4479, 12, 803, 13, 1335, 1185, 16, 425, 30, 282, 2907, 18, 4148...
if DEBUG: log.debug('findMatches: %s' % find)
_debug_('findMatches: %s' % find)
def findMatches(self, find=None, movies_only=None): global guide
dbf3be6baca9b3de2bbdcffda6a49e6878cff42d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/dbf3be6baca9b3de2bbdcffda6a49e6878cff42d/recordserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 6869, 12, 2890, 16, 1104, 33, 7036, 16, 7344, 29028, 67, 3700, 33, 7036, 4672, 2552, 7343, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 6869, 12, 2890, 16, 1104, 33, 7036, 16, 7344, 29028, 67, 3700, 33, 7036, 4672, 2552, 7343, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
emails.append(action.act_email_cc)
emails += (action.act_email_cc or '').split(',')
def _action(self, cr, uid, cases, state_to, scrit=None, context={}): if not scrit: scrit = [] action_ids = self.pool.get('crm.case.rule').search(cr, uid, scrit) level = MAX_LEVEL while len(action_ids) and level: newactions = [] actions = self.pool.get('crm.case.rule').browse(cr, uid, action_ids, context) for case in ca...
9061f570b47e7a760d5a0f5f15e8693c1b2e686b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/9061f570b47e7a760d5a0f5f15e8693c1b2e686b/crm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 12, 2890, 16, 4422, 16, 4555, 16, 6088, 16, 919, 67, 869, 16, 888, 583, 33, 7036, 16, 819, 12938, 4672, 309, 486, 888, 583, 30, 888, 583, 273, 5378, 1301, 67, 2232, 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, 1128, 12, 2890, 16, 4422, 16, 4555, 16, 6088, 16, 919, 67, 869, 16, 888, 583, 33, 7036, 16, 819, 12938, 4672, 309, 486, 888, 583, 30, 888, 583, 273, 5378, 1301, 67, 2232, 273, ...
raise URLError, ('ftp error', msg), sys.exc_info()[2]
raise URLError, ('ftp error: %s' % msg), sys.exc_info()[2]
def ftp_open(self, req): import ftplib import mimetypes host = req.get_host() if not host: raise URLError, ('ftp error', 'no host given') host, port = splitport(host) if port is None: port = ftplib.FTP_PORT else: port = int(port)
ea9e6486276c4b2c79d303c948763908330dc88d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/ea9e6486276c4b2c79d303c948763908330dc88d/urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 3190, 12, 2890, 16, 1111, 4672, 1930, 11038, 6673, 1930, 20369, 15180, 1479, 273, 1111, 18, 588, 67, 2564, 1435, 309, 486, 1479, 30, 1002, 1976, 668, 16, 7707, 11727, 555, 218...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13487, 67, 3190, 12, 2890, 16, 1111, 4672, 1930, 11038, 6673, 1930, 20369, 15180, 1479, 273, 1111, 18, 588, 67, 2564, 1435, 309, 486, 1479, 30, 1002, 1976, 668, 16, 7707, 11727, 555, 218...
logging.getLogger('report').exception(e)
logging.getLogger('report').warning('rml_tag: "%s"',n.get('rml_tag',''), exc_info=True)
def _child_get(node, self=None, tagname=None): for n in node: if self and self.localcontext and n.get('rml_loop'): for ctx in eval(n.get('rml_loop'),{}, self.localcontext): self.localcontext.update(ctx) if (tagname is None) or (n.tag==tagname): if n.get('rml_except', False): try: eval(n.get('rml_except'), {}, self.loc...
1c0849899f3c33f12ad9257775ddb51dde9fca83 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/1c0849899f3c33f12ad9257775ddb51dde9fca83/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3624, 67, 588, 12, 2159, 16, 365, 33, 7036, 16, 25586, 33, 7036, 4672, 364, 290, 316, 756, 30, 309, 365, 471, 365, 18, 3729, 2472, 471, 290, 18, 588, 2668, 86, 781, 67, 6498, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3624, 67, 588, 12, 2159, 16, 365, 33, 7036, 16, 25586, 33, 7036, 4672, 364, 290, 316, 756, 30, 309, 365, 471, 365, 18, 3729, 2472, 471, 290, 18, 588, 2668, 86, 781, 67, 6498, ...
print "'"+statusname+"' with "+str(len(targets['list'+statusname]))+" targets",
print "'list"+statusname+"' with "+str(len(targets['list'+statusname]))+" targets",
def command_loop(): # we will set this if they call set timeout global globalseashtimeout # things that may be set herein and used in later commands host = None port = None expnum = None filename = None cmdargs = None defaulttarget = None defaultkeyname = None # exit via a return while True: try: prompt = '' if ...
55355590dd068b22bff0551e0a7ebd026e0483f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7995/55355590dd068b22bff0551e0a7ebd026e0483f6/seash.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1296, 67, 6498, 13332, 468, 732, 903, 444, 333, 309, 2898, 745, 444, 2021, 2552, 4715, 544, 345, 647, 494, 659, 282, 468, 9198, 716, 2026, 506, 444, 2674, 267, 471, 1399, 316, 5137, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1296, 67, 6498, 13332, 468, 732, 903, 444, 333, 309, 2898, 745, 444, 2021, 2552, 4715, 544, 345, 647, 494, 659, 282, 468, 9198, 716, 2026, 506, 444, 2674, 267, 471, 1399, 316, 5137, 43...
self.assertEqual(fileobj.read(), "a,b\r\nc,d\r\n") finally: fileobj.close() os.unlink(name)
self.assertEqual(fileobj.read(), b"a,b\r\nc,d\r\n")
def write(self, buf): raise IOError
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, 1045, 12, 2890, 16, 1681, 4672, 1002, 8340, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 1681, 4672, 1002, 8340, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Seq.Seq("ATGAAACUG", IUPAC.unambiguous_dna), Seq.Seq("ATGAAACUGWN", IUPAC.ambiguous_dna), Seq.Seq("ATGAAACTG", Alphabet.generic_rna), Seq.Seq("ATGAAACTG", IUPAC.unambiguous_rna), Seq.Seq("ATGAAACTGWN", IUPAC.ambiguous_rna),
Seq.Seq("ATGAAACTG", IUPAC.unambiguous_dna), Seq.Seq("ATGAAACTGWN", IUPAC.ambiguous_dna), Seq.Seq("AUGAAACUG", Alphabet.generic_rna), Seq.Seq("AUGAAACUG", IUPAC.unambiguous_rna), Seq.Seq("AUGAAACUGWN", IUPAC.ambiguous_rna),
def complement(sequence) : #TODO - Add a complement function to Bio/Seq.py? #There is already a complement method on the Seq and MutableSeq objects. return Seq.reverse_complement(sequence)[::-1]
072e58a3af6008f585ad09d7e1fc214782a9a342 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7167/072e58a3af6008f585ad09d7e1fc214782a9a342/test_seq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 6178, 13, 294, 468, 6241, 300, 1436, 279, 17161, 445, 358, 21209, 19, 6926, 18, 2074, 35, 468, 9828, 353, 1818, 279, 17161, 707, 603, 326, 14367, 471, 10960, 6926, 2184, 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, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 6178, 13, 294, 468, 6241, 300, 1436, 279, 17161, 445, 358, 21209, 19, 6926, 18, 2074, 35, 468, 9828, 353, 1818, 279, 17161, 707, 603, 326, 14367, 471, 10960, 6926, 2184, 18, ...
(errno, errstr) = e
def _copy_file_contents(src, dst, buffer_size=16*1024): """Copy the file 'src' to 'dst'; both must be filenames. Any error opening either file, reading from 'src', or writing to 'dst', raises DistutilsFileError. Data is read/written in chunks of 'buffer_size' bytes (default 16k). No attempt is made to handle anythin...
258cde6084886ba66982fef31d705f00845be24d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/258cde6084886ba66982fef31d705f00845be24d/file_util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3530, 67, 768, 67, 3980, 12, 4816, 16, 3046, 16, 1613, 67, 1467, 33, 2313, 14, 2163, 3247, 4672, 3536, 2951, 326, 585, 296, 4816, 11, 358, 296, 11057, 13506, 3937, 1297, 506, 9066...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3530, 67, 768, 67, 3980, 12, 4816, 16, 3046, 16, 1613, 67, 1467, 33, 2313, 14, 2163, 3247, 4672, 3536, 2951, 326, 585, 296, 4816, 11, 358, 296, 11057, 13506, 3937, 1297, 506, 9066...
server_version = "Python-urllib/%s" % __version__ self.addheaders = [('User-agent', server_version)]
self.addheaders = [('User-agent', self.version)]
def __init__(self, proxies=None, **x509): if proxies is None: proxies = getproxies() assert hasattr(proxies, 'has_key'), "proxies must be a mapping" self.proxies = proxies self.key_file = x509.get('key_file') self.cert_file = x509.get('cert_file') server_version = "Python-urllib/%s" % __version__ self.addheaders = [('U...
4334ad93aac7ff7ec9ab52dec1c0e59e134a5ce0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/4334ad93aac7ff7ec9ab52dec1c0e59e134a5ce0/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 13263, 33, 7036, 16, 2826, 92, 5995, 4672, 309, 13263, 353, 599, 30, 13263, 273, 336, 20314, 606, 1435, 1815, 3859, 12, 20314, 606, 16, 296, 5332, 67, 85...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13263, 33, 7036, 16, 2826, 92, 5995, 4672, 309, 13263, 353, 599, 30, 13263, 273, 336, 20314, 606, 1435, 1815, 3859, 12, 20314, 606, 16, 296, 5332, 67, 85...
update = kill = step = add_length = ___
update = kill = step = add_length = set_length = ___
def ___(*args): pass
a973c67e4e3e26247439cd762a8e777aa758cb5c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9927/a973c67e4e3e26247439cd762a8e777aa758cb5c/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19608, 30857, 1968, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19608, 30857, 1968, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
image = Image.open(original_file)
image = PIL.Image.open(original_file)
def scale(self, data, w, h, default_format = 'PNG'): """ scale image (with material from ImageTag_Hotfix)""" #make sure we have valid int's size = int(w), int(h)
4c579430b24644261ea7b7d90dbb9e7b1fd46d06 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12165/4c579430b24644261ea7b7d90dbb9e7b1fd46d06/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3159, 12, 2890, 16, 501, 16, 341, 16, 366, 16, 805, 67, 2139, 273, 296, 23092, 11, 4672, 3536, 3159, 1316, 261, 1918, 9390, 628, 3421, 1805, 67, 25270, 904, 15574, 468, 6540, 3071, 732...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3159, 12, 2890, 16, 501, 16, 341, 16, 366, 16, 805, 67, 2139, 273, 296, 23092, 11, 4672, 3536, 3159, 1316, 261, 1918, 9390, 628, 3421, 1805, 67, 25270, 904, 15574, 468, 6540, 3071, 732...
log.error("Run TorBEL as root or a user able to bind to privileged ports.")
log.error("Run TorBEL as a user able to bind to privileged ports.")
def init_tests(self): """ Initialize testing infrastructure - sockets, etc. """ log.debug("Initializing test sockets.") for port in self.test_ports: try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.setblocking(0) sock.bind((config.test_bind_ip, port)) self.test_sockets[port] = sock except socket.error...
921dc4f6d0461873a6adb949ad90974a0718ad25 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/921dc4f6d0461873a6adb949ad90974a0718ad25/torbel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 16341, 12, 2890, 4672, 3536, 9190, 7769, 316, 26150, 300, 16762, 16, 5527, 18, 3536, 613, 18, 4148, 2932, 29782, 1842, 16762, 1199, 13, 364, 1756, 316, 365, 18, 3813, 67, 4363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 16341, 12, 2890, 4672, 3536, 9190, 7769, 316, 26150, 300, 16762, 16, 5527, 18, 3536, 613, 18, 4148, 2932, 29782, 1842, 16762, 1199, 13, 364, 1756, 316, 365, 18, 3813, 67, 4363,...
self._testObject1.SetInput(self._testObject0.GetOutput())
self._testObject1.SetInput(self._testObject0b.GetOutput())
def __init__(self, moduleManager): # initialise our base class moduleBase.__init__(self, moduleManager) # initialise any mixins we might have noConfigModuleMixin.__init__(self)
d9d4fda046afc2ff197fa55b09796be663031c4c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/d9d4fda046afc2ff197fa55b09796be663031c4c/testModule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1605, 1318, 4672, 468, 21301, 3134, 1026, 667, 1605, 2171, 16186, 2738, 972, 12, 2890, 16, 1605, 1318, 13, 468, 21301, 1281, 26805, 732, 4825, 1240, 1158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1605, 1318, 4672, 468, 21301, 3134, 1026, 667, 1605, 2171, 16186, 2738, 972, 12, 2890, 16, 1605, 1318, 13, 468, 21301, 1281, 26805, 732, 4825, 1240, 1158, ...
for cs in self.__enumerateChangesets(log, sincerev):
for cs in changesets_from_cvsps(log, sincerev):
def _getUpstreamChangesets(self, root, sincerev=None): cvsps = CvsPsLog(working_dir=root) from os.path import join, exists branch="HEAD" fname = join(root, 'CVS', 'Tag') if exists(fname): tag = open(fname).read() if tag.startswith('T'): branch=tag[1:-1]
40b9d6aa670dd66545940aacdd24d068e982787c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5981/40b9d6aa670dd66545940aacdd24d068e982787c/cvs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 1211, 3256, 7173, 2413, 12, 2890, 16, 1365, 16, 5367, 71, 822, 90, 33, 7036, 4672, 276, 6904, 1121, 273, 385, 6904, 18124, 1343, 12, 20478, 67, 1214, 33, 3085, 13, 225, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 1211, 3256, 7173, 2413, 12, 2890, 16, 1365, 16, 5367, 71, 822, 90, 33, 7036, 4672, 276, 6904, 1121, 273, 385, 6904, 18124, 1343, 12, 20478, 67, 1214, 33, 3085, 13, 225, 628, ...
self.tk.call(self._w, 'delete', name)
self.tk.call(self._w, 'delete', name)
def delete(self, name):
86af7ef7e3f4448abc89aa941517a84075d99a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/86af7ef7e3f4448abc89aa941517a84075d99a38/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 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, 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, 1430, 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, -100, -100, -100, -100...
if not self.checks: self.load_checks_from_options(options.checks)
def run(self, config, options, args): if options.output: output = StringIO() global curses if curses and config.progress_bar: try: curses.setupterm() except: curses = None else: output = sys.stdout
b90849367d5aa6c76e3cb16b241dcbb77642c45a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4596/b90849367d5aa6c76e3cb16b241dcbb77642c45a/goalreport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 642, 16, 702, 16, 833, 4672, 309, 702, 18, 2844, 30, 876, 273, 15777, 1435, 2552, 30436, 309, 30436, 471, 642, 18, 8298, 67, 3215, 30, 775, 30, 30436, 18, 542, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 642, 16, 702, 16, 833, 4672, 309, 702, 18, 2844, 30, 876, 273, 15777, 1435, 2552, 30436, 309, 30436, 471, 642, 18, 8298, 67, 3215, 30, 775, 30, 30436, 18, 542, 36...
install_dir = options.package_install_path,
install_dir = options.module_install_path,
def setup_qwt5_build(configuration, options, package): """Setup the qwt package build """ if 'Qwt5' not in options.modules: return print 'Setup the qwt package build.' build_dir = options.qwt tmp_dir = 'tmp-%s' % options.qwt build_file = os.path.join(tmp_dir, '%s.sbf' % options.qwt) extra_sources = [] extra_headers =...
09bf48c73c72e129eff97709f2eed689d372830a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5650/09bf48c73c72e129eff97709f2eed689d372830a/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 67, 85, 6046, 25, 67, 3510, 12, 7025, 16, 702, 16, 2181, 4672, 3536, 7365, 326, 1043, 6046, 2181, 1361, 3536, 309, 296, 53, 6046, 25, 11, 486, 316, 702, 18, 6400, 30, 327, 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, 3875, 67, 85, 6046, 25, 67, 3510, 12, 7025, 16, 702, 16, 2181, 4672, 3536, 7365, 326, 1043, 6046, 2181, 1361, 3536, 309, 296, 53, 6046, 25, 11, 486, 316, 702, 18, 6400, 30, 327, 225,...
self.cnxid = self.vte.connect_after('realize', self.reconfigure)
self.confcnxid = self.vte.connect_after('realize', self.reconfigure)
def connect_signals(self): """Connect all the gtk signals and drag-n-drop mechanics"""
29cc6145eecd521ad0136db7d54a5e458c5cb39c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6502/29cc6145eecd521ad0136db7d54a5e458c5cb39c/terminal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 67, 29659, 12, 2890, 4672, 3536, 5215, 777, 326, 22718, 11505, 471, 8823, 17, 82, 17, 7285, 1791, 7472, 2102, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 67, 29659, 12, 2890, 4672, 3536, 5215, 777, 326, 22718, 11505, 471, 8823, 17, 82, 17, 7285, 1791, 7472, 2102, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
m[i,j] = l[i] return m
mat[i,j] = l[i] return mat
def hecke_matrix(self, m, n, use_recurrence = False, exact_arith = False): r""" Calculate the matrix of the `T_m` operator in the basis of this space, truncated to an `n \times n` matrix. Conventions are that operators act on the left on column vectors (this is the opposite of the conventions of the sage.modules.matrix...
c8cd75e98ec3124979cc2d0934a36c3cec53656f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/c8cd75e98ec3124979cc2d0934a36c3cec53656f/genus0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 366, 762, 73, 67, 5667, 12, 2890, 16, 312, 16, 290, 16, 999, 67, 266, 17131, 273, 1083, 16, 5565, 67, 297, 483, 273, 1083, 4672, 436, 8395, 9029, 326, 3148, 434, 326, 1375, 56, 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, 366, 762, 73, 67, 5667, 12, 2890, 16, 312, 16, 290, 16, 999, 67, 266, 17131, 273, 1083, 16, 5565, 67, 297, 483, 273, 1083, 4672, 436, 8395, 9029, 326, 3148, 434, 326, 1375, 56, 67, ...
import_htmls = [' <dd>%s</dd>' % self.href(v) for v in imports]
def write_imports(self, out, doc): assert isinstance(doc, NamespaceDoc)
1cd34dc4f7b279e4ac150be4b4be74d3336fb477 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/1cd34dc4f7b279e4ac150be4b4be74d3336fb477/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 21350, 12, 2890, 16, 596, 16, 997, 4672, 1815, 225, 1549, 12, 2434, 16, 6005, 1759, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 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, 1045, 67, 21350, 12, 2890, 16, 596, 16, 997, 4672, 1815, 225, 1549, 12, 2434, 16, 6005, 1759, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def on_change_partner_id(self, cr, uid, id, partner): if not partner: return {'value' : {'domiciled' : False}} partner_obj = self.pool.get('res.partner').browse(cr, uid, partner)
def on_change_partner_id(self, cr, uid, ids, type, partner_id,date_invoice=False, payment_term=False): data=super(account_invoice,self).onchange_partner_id( cr, uid, ids, type, partner_id,date_invoice, payment_term) if not partner_id: return data['value'].update({'domiciled' : False}) partner_obj = self.pool.get('res.p...
def on_change_partner_id(self, cr, uid, id, partner): if not partner: return {'value' : {'domiciled' : False}} partner_obj = self.pool.get('res.partner').browse(cr, uid, partner) domiciled = partner_obj.domiciliation_bool return {'value' : {'domiciled' : domiciled} }
e273b11e7aebe96ce51c6fa5dc186793798b73e1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/e273b11e7aebe96ce51c6fa5dc186793798b73e1/l10nbe_domiciliation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 3427, 67, 31993, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 618, 16, 19170, 67, 350, 16, 712, 67, 16119, 33, 8381, 16, 5184, 67, 6408, 33, 8381, 4672, 501, 33, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 3427, 67, 31993, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 618, 16, 19170, 67, 350, 16, 712, 67, 16119, 33, 8381, 16, 5184, 67, 6408, 33, 8381, 4672, 501, 33, 9...
HINT: If you want to instect the alignment used for modeling:
HINT: If you want to inspect the alignment used for modeling:
def _use(): print """
f4a25f06e4f975184aa5a570445572f059b57a47 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/482/f4a25f06e4f975184aa5a570445572f059b57a47/modelling_example.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1202, 13332, 1172, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1202, 13332, 1172, 3536, 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, ...
os.unlink(os.path.join(abs_path, filename))
os.unlink(smart_str(os.path.join(abs_path, filename)))
def delete(request): """ Delete existing File/Directory. When trying to delete a Directory, the Directory has to be empty. """ # QUERY / PATH CHECK query = request.GET path = get_path(query.get('dir', '')) filename = get_file(query.get('dir', ''), query.get('filename', '')) if path is None or filename is None: if pat...
a51e9d3270899fddf4b4c6cde4604b2dcb883830 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12975/a51e9d3270899fddf4b4c6cde4604b2dcb883830/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 12, 2293, 4672, 3536, 2504, 2062, 1387, 19, 2853, 18, 225, 5203, 8374, 358, 1430, 279, 8930, 16, 326, 8930, 711, 358, 506, 1008, 18, 3536, 225, 468, 17089, 342, 7767, 14565, 843, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1430, 12, 2293, 4672, 3536, 2504, 2062, 1387, 19, 2853, 18, 225, 5203, 8374, 358, 1430, 279, 8930, 16, 326, 8930, 711, 358, 506, 1008, 18, 3536, 225, 468, 17089, 342, 7767, 14565, 843, ...
del chapSecrets.items[path[0]]
del chapSecrets.items['pptpd'][path[0]]
def _call(self, path): chapSecrets = ChapSecrets() del chapSecrets.items[path[0]] chapSecrets.save() return A(None, 'Account successfully deleted')
71032fff4d9b51a3855c878834a988ac48a49726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9377/71032fff4d9b51a3855c878834a988ac48a49726/vpn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1991, 12, 2890, 16, 589, 4672, 462, 438, 20815, 273, 1680, 438, 20815, 1435, 1464, 462, 438, 20815, 18, 3319, 3292, 84, 337, 22353, 3546, 63, 803, 63, 20, 13563, 462, 438, 20815, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 1991, 12, 2890, 16, 589, 4672, 462, 438, 20815, 273, 1680, 438, 20815, 1435, 1464, 462, 438, 20815, 18, 3319, 3292, 84, 337, 22353, 3546, 63, 803, 63, 20, 13563, 462, 438, 20815, ...
""" Returns directories contained in /etc/ld.so.conf and LD_LIBRARY_PATH -> list.
""" Returns directories contained in /etc/ld.so.conf and LD_LIBRARY_PATH -> list.
def get_libdir(self): """ Returns directories contained in /etc/ld.so.conf and LD_LIBRARY_PATH -> list. """
f9b5bccd6b4fd4355a72b9b495908af2da52cae3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2163/f9b5bccd6b4fd4355a72b9b495908af2da52cae3/pyfind_revdep.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2941, 1214, 12, 2890, 4672, 3536, 2860, 6402, 7542, 316, 342, 14175, 19, 1236, 18, 2048, 18, 3923, 471, 28083, 67, 2053, 28254, 67, 4211, 317, 666, 18, 3536, 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, 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, 2941, 1214, 12, 2890, 4672, 3536, 2860, 6402, 7542, 316, 342, 14175, 19, 1236, 18, 2048, 18, 3923, 471, 28083, 67, 2053, 28254, 67, 4211, 317, 666, 18, 3536, 2, -100, -100, -1...
return tuple([x.astype(c) for x, c in zip(self.ufunc(*args), self.otypes)])
ret = [] for x, c in zip(self.ufunc(*args), self.otypes): try: ret.append(x.astype(c)) except AttributeError: ret.append(array(x).astype(c)) return tuple(ret)
def __call__(self, *args): # get number of outputs and output types by calling # the function on the first entries of args nargs = len(args) if (nargs > self.nin) or (nargs < self.nin_wo_defaults): raise ValueError, "mismatch between python function inputs"\ " and received arguments" if self.nout is None or self.otype...
e328ecf10f570df8900438ec9e727b3af68c7f84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/e328ecf10f570df8900438ec9e727b3af68c7f84/function_base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 4672, 468, 336, 1300, 434, 6729, 471, 876, 1953, 635, 4440, 468, 225, 326, 445, 603, 326, 1122, 3222, 434, 833, 14440, 273, 562, 12, 1968, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 4672, 468, 336, 1300, 434, 6729, 471, 876, 1953, 635, 4440, 468, 225, 326, 445, 603, 326, 1122, 3222, 434, 833, 14440, 273, 562, 12, 1968, 13,...
"""Called by protocol to tell us more bytes were read."""
""" Called by protocol to tell us more bytes were read. """
def registerRead(self, length): """Called by protocol to tell us more bytes were read.""" self.readThisSecond += length
58eccda74a195382b889cef4bef5351d7ade115f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/665/58eccda74a195382b889cef4bef5351d7ade115f/policies.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 1994, 12, 2890, 16, 769, 4672, 3536, 11782, 635, 1771, 358, 9276, 584, 1898, 1731, 4591, 855, 18, 3536, 365, 18, 896, 2503, 8211, 1011, 769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 1994, 12, 2890, 16, 769, 4672, 3536, 11782, 635, 1771, 358, 9276, 584, 1898, 1731, 4591, 855, 18, 3536, 365, 18, 896, 2503, 8211, 1011, 769, 2, -100, -100, -100, -100, -100, -100, ...
<a href="http://bugs.frugalware.org/?string=[SEC]">sec tasks</a> |
<a href="http://bugs.frugalware.org/?string=[SEC]&order=lastedit&sort=desc">sec tasks</a> |
def handler(req): out = []
03a590535f01d67b551f126475a25723d3951dab /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11934/03a590535f01d67b551f126475a25723d3951dab/firefox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 3658, 4672, 596, 273, 5378, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 3658, 4672, 596, 273, 5378, 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, -10...
if not isinstance(value, basestring): raise errors.CoilStructError(self, "Expansion is only allowed on strings. " "The value is a %s" % type(value)) value = self._expand_vars(value, expand, silent)
value = parent._expand_vars(key, value, expand, silent)
def set(self, path, value, expand=None, silent=False): """Set a value in any Struct in the tree.
2683e133a013186a0b8f9a17dd5a211ada2781d0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/970/2683e133a013186a0b8f9a17dd5a211ada2781d0/struct.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 589, 16, 460, 16, 4542, 33, 7036, 16, 10404, 33, 8381, 4672, 3536, 694, 279, 460, 316, 1281, 7362, 316, 326, 2151, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 589, 16, 460, 16, 4542, 33, 7036, 16, 10404, 33, 8381, 4672, 3536, 694, 279, 460, 316, 1281, 7362, 316, 326, 2151, 18, 2, -100, -100, -100, -100, -100, -100, -100, ...
if self.__proc: self.__proc.write(cmd)
if self.__child: self.__child.write(line)
def child_stdin(self, line): """ Send line to child. """ if self.__proc: self.__proc.write(cmd)
75db43de2724ef4e213386b3b9d91a797a884760 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/75db43de2724ef4e213386b3b9d91a797a884760/childapp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1151, 67, 21772, 12, 2890, 16, 980, 4672, 3536, 2479, 980, 358, 1151, 18, 3536, 309, 365, 16186, 9381, 30, 365, 16186, 9381, 18, 2626, 12, 4172, 13, 2, 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, 1151, 67, 21772, 12, 2890, 16, 980, 4672, 3536, 2479, 980, 358, 1151, 18, 3536, 309, 365, 16186, 9381, 30, 365, 16186, 9381, 18, 2626, 12, 4172, 13, 2, -100, -100, -100, -100, -100, -1...
command = command.replace('\\\\', '\n\\backslash\n') current_line = current_line + command else: current_line = current_line + document.body[i][j] document.body[i] = current_line
if in_math == True: command = command.replace('\\\\', '\mathrm{') command = command + '}' elif in_ert == False: command = command.replace('\\\\', ert_intro) command = command + ert_outro else: command = command.replace('\\\\', '\n\\backslash\n') last_char = '' mod_body = mod_body + command else: mod_body = mod_body ...
def revert_unicode(document): '''Transform unicode symbols according to the unicode list.
8397a051fa11df82b80bc62458ae1c9a387f891b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7514/8397a051fa11df82b80bc62458ae1c9a387f891b/lyx_1_5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15226, 67, 9124, 12, 5457, 4672, 9163, 4059, 5252, 7963, 4888, 358, 326, 5252, 666, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 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, 15226, 67, 9124, 12, 5457, 4672, 9163, 4059, 5252, 7963, 4888, 358, 326, 5252, 666, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.out = self.abstract
self.push_output_collector(self.abstract)
def visit_topic(self, node): # Topic nodes can be generic topic, abstract, dedication, or ToC. # table of contents: if 'contents' in node['classes']: self.out.append('\n') self.out += self.ids_to_labels(node) # add contents to PDF bookmarks sidebar if isinstance(node.next_node(), nodes.title): self.out.append('\n\\pdfb...
975a7baefa62e45824db20fa2fef3b13aef67e9c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8194/975a7baefa62e45824db20fa2fef3b13aef67e9c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 10476, 12, 2890, 16, 756, 4672, 468, 11789, 2199, 848, 506, 5210, 3958, 16, 8770, 16, 11140, 829, 16, 578, 2974, 39, 18, 468, 1014, 434, 2939, 30, 309, 296, 3980, 11, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 10476, 12, 2890, 16, 756, 4672, 468, 11789, 2199, 848, 506, 5210, 3958, 16, 8770, 16, 11140, 829, 16, 578, 2974, 39, 18, 468, 1014, 434, 2939, 30, 309, 296, 3980, 11, 316, ...
class scod_complete(delegate.mode): def assert_scod_user(self): usergroup = web.ctx.site.get('/usergroup/scod')
class scan_complete(delegate.mode): def assert_scan_user(self): usergroup = web.ctx.site.get('/usergroup/scan')
def POST(self, path): book = get_book(path) record = get_scan_record(path) user = web.ctx.site.get_user() delegate.admin_login() q = { 'key': '/scan_record' + path, 'scan_status': { 'connect': 'update', 'value': 'WAITING_FOR_BOOK' }, 'sponsor': { 'connect': 'update', 'key': user.key }, 'request_date': { 'connect': 'upd...
8d0739a9c94f7bc3a94de39d29a29eb42e5dacd7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3913/8d0739a9c94f7bc3a94de39d29a29eb42e5dacd7/code.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5485, 12, 2890, 16, 589, 4672, 6978, 273, 336, 67, 3618, 12, 803, 13, 1409, 273, 336, 67, 9871, 67, 3366, 12, 803, 13, 729, 273, 3311, 18, 5900, 18, 4256, 18, 588, 67, 1355, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5485, 12, 2890, 16, 589, 4672, 6978, 273, 336, 67, 3618, 12, 803, 13, 1409, 273, 336, 67, 9871, 67, 3366, 12, 803, 13, 729, 273, 3311, 18, 5900, 18, 4256, 18, 588, 67, 1355, 1435, ...
self.display_error_dialog(_("\nThe active directory is not valid!\nPlease select another directory."))
self.main.display_error_dialog(_("\nThe active directory is not valid!\nPlease select another directory."))
def on_prefs_destroy(self, widget): """ Prefs window destroyed """
3d1e651d8b113026f67ba3bb4fccec80e0efd214 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/735/3d1e651d8b113026f67ba3bb4fccec80e0efd214/pyrenamer_prefs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1484, 2556, 67, 11662, 12, 2890, 16, 3604, 4672, 3536, 453, 9316, 2742, 17689, 3536, 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, 603, 67, 1484, 2556, 67, 11662, 12, 2890, 16, 3604, 4672, 3536, 453, 9316, 2742, 17689, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for ind in s.individuals(1): self.assertEqual(ind.affected(), True)
(s,) = LargePedigreeSample(self.largepop, 50, minTotalSize=5, maxOffspring=5, minPedSize=3, minAffected=0) for ind in s.individuals():
def testLargePedigreeSample(self): 'Testing large pedigree sampling (FIXME)' (s,) = LargePedigreeSample(self.pop, 50, minTotalSize=10, maxOffspring=5, minPedSize=3, minAffected=0) print s.subPopSizes() return assert s.subPopSize(0) <= 4 assert s.subPopSize(1) <= 6 for ind in s.individuals(0): self.assertEqual(ind.affec...
2efe0044550e6c6e9384b6f5e485a71317d18cf9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/401/2efe0044550e6c6e9384b6f5e485a71317d18cf9/test_16_asertainment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 20020, 52, 329, 360, 992, 8504, 12, 2890, 4672, 296, 22218, 7876, 31840, 360, 992, 11558, 261, 25810, 2506, 261, 87, 16, 13, 273, 16236, 908, 52, 329, 360, 992, 8504, 12, 2890, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20020, 52, 329, 360, 992, 8504, 12, 2890, 4672, 296, 22218, 7876, 31840, 360, 992, 11558, 261, 25810, 2506, 261, 87, 16, 13, 273, 16236, 908, 52, 329, 360, 992, 8504, 12, 2890, 1...
_fl_popup_set_color = cfuncproto(so_libforms, "fl_popup_set_color", FL_COLOR, [cty.POINTER(FL_POPUP), cty.c_int, FL_COLOR],
_fl_popup_set_color = cfuncproto(so_libforms, "fl_popup_set_color", FL_COLOR, [cty.POINTER(FL_POPUP), cty.c_int, FL_COLOR],
def fl_popup_get_color(p1, p2): """ fl_popup_get_color(p1, p2) -> color """ retval = _fl_popup_get_color(p1, p2) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 16086, 67, 588, 67, 3266, 12, 84, 21, 16, 293, 22, 4672, 3536, 1183, 67, 16086, 67, 588, 67, 3266, 12, 84, 21, 16, 293, 22, 13, 317, 2036, 3536, 225, 5221, 273, 389, 2242...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 16086, 67, 588, 67, 3266, 12, 84, 21, 16, 293, 22, 4672, 3536, 1183, 67, 16086, 67, 588, 67, 3266, 12, 84, 21, 16, 293, 22, 13, 317, 2036, 3536, 225, 5221, 273, 389, 2242...
for w_key,cell in data:
h = space.unwrap(space.hash(w_lookup)) for w_key, hash, cell in data: if hash != h: continue
def delitem__Dict_ANY(space, w_dict, w_lookup): data = w_dict.non_empties() for w_key,cell in data: if space.is_true(space.eq(w_lookup, w_key)): cell.make_empty() return raise OperationError(space.w_KeyError, w_lookup)
a9a72cafc2a01ecab085d2980211916bd9911e63 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/a9a72cafc2a01ecab085d2980211916bd9911e63/dictobject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1464, 1726, 972, 5014, 67, 15409, 12, 2981, 16, 341, 67, 1576, 16, 341, 67, 8664, 4672, 501, 273, 341, 67, 1576, 18, 5836, 67, 5744, 606, 1435, 366, 273, 3476, 18, 318, 4113, 12, 298...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1464, 1726, 972, 5014, 67, 15409, 12, 2981, 16, 341, 67, 1576, 16, 341, 67, 8664, 4672, 501, 273, 341, 67, 1576, 18, 5836, 67, 5744, 606, 1435, 366, 273, 3476, 18, 318, 4113, 12, 298...
return lo + hi * 2
return -(lo + hi * 2)
def CALL_FUNCTION(self, argc): hi, lo = divmod(argc, 256) return lo + hi * 2
138d90eb73415e48a0e7f09a7c9603b1164bcaed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/138d90eb73415e48a0e7f09a7c9603b1164bcaed/pyassem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22753, 67, 7788, 12, 2890, 16, 1501, 71, 4672, 10118, 16, 437, 273, 26105, 12, 3175, 71, 16, 8303, 13, 327, 437, 397, 10118, 380, 576, 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, 22753, 67, 7788, 12, 2890, 16, 1501, 71, 4672, 10118, 16, 437, 273, 26105, 12, 3175, 71, 16, 8303, 13, 327, 437, 397, 10118, 380, 576, 2, -100, -100, -100, -100, -100, -100, -100, -100...
def test_findgaps(self):
def test_findGaps(self):
def test_read_an_write_MS_using_Traces(self): """ A reencoded SEED file should still have the same values regardless of the used record length, encoding and byteorder. """ # define test ranges record_length_values = [2**i for i in range(8,21)] encoding_values = [1, 3, 10, 11] byteorder_values = [0, 1] mseed=libmseed()...
23e6bd848662703b12c6ba62b8bd81f4188927a0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10470/23e6bd848662703b12c6ba62b8bd81f4188927a0/test_libmseed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 896, 67, 304, 67, 2626, 67, 3537, 67, 9940, 67, 29773, 12, 2890, 4672, 3536, 432, 283, 10787, 3174, 2056, 585, 1410, 4859, 1240, 326, 1967, 924, 15255, 434, 326, 1399, 1409, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 896, 67, 304, 67, 2626, 67, 3537, 67, 9940, 67, 29773, 12, 2890, 4672, 3536, 432, 283, 10787, 3174, 2056, 585, 1410, 4859, 1240, 326, 1967, 924, 15255, 434, 326, 1399, 1409, ...
proxy_url = Uri.parse_uri(proxy) if not proxy_url.port:
proxy_uri = Uri.parse_uri(proxy) if not proxy_uri.port:
def _get_connection(self, uri, headers=None): # Check to see if there are proxy settings required for this request. proxy = None if uri.scheme == 'https': proxy = os.environ.get('https_proxy') elif uri.scheme == 'http': proxy = os.environ.get('http_proxy') if not proxy: return HttpClient._get_connection(self, uri, head...
b020d7f61bc1f555522db59a4a657fd0a0dd0a4e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10620/b020d7f61bc1f555522db59a4a657fd0a0dd0a4e/http_core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 4071, 12, 2890, 16, 2003, 16, 1607, 33, 7036, 4672, 468, 2073, 358, 2621, 309, 1915, 854, 2889, 1947, 1931, 364, 333, 590, 18, 2889, 273, 599, 309, 2003, 18, 9068, 422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 4071, 12, 2890, 16, 2003, 16, 1607, 33, 7036, 4672, 468, 2073, 358, 2621, 309, 1915, 854, 2889, 1947, 1931, 364, 333, 590, 18, 2889, 273, 599, 309, 2003, 18, 9068, 422, ...
if model.id:
if model and model.id > 0:
def _func_sel_get(store, path, iter, ids): model = store.on_get_iter(path) if model.id: ids.append(model.id)
69610c6c1a06e4ebd7e0803eaf6713e488fb784d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/69610c6c1a06e4ebd7e0803eaf6713e488fb784d/list.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 1786, 67, 588, 12, 2233, 16, 589, 16, 1400, 16, 3258, 4672, 938, 273, 1707, 18, 265, 67, 588, 67, 2165, 12, 803, 13, 309, 938, 471, 938, 18, 350, 405, 374, 30, 3258, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 644, 67, 1786, 67, 588, 12, 2233, 16, 589, 16, 1400, 16, 3258, 4672, 938, 273, 1707, 18, 265, 67, 588, 67, 2165, 12, 803, 13, 309, 938, 471, 938, 18, 350, 405, 374, 30, 3258, ...
if debug: print 'TwistedProtocolWrapper.connectionMade'
def connectionMade(self): if debug: print 'TwistedProtocolWrapper.connectionMade' ProtocolWrapper.connectionMade(self) if self.tlsStarted and self.isClient and not self.helloDone: self._clientHello()
6bd05411f82511020c78f7c57b7ad7f36252149e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8055/6bd05411f82511020c78f7c57b7ad7f36252149e/TwistedProtocolWrapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1459, 49, 2486, 12, 2890, 4672, 4547, 3611, 18, 4071, 49, 2486, 12, 2890, 13, 309, 365, 18, 17116, 9217, 471, 365, 18, 291, 1227, 471, 486, 365, 18, 23711, 7387, 30, 365, 6315, 2625, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1459, 49, 2486, 12, 2890, 4672, 4547, 3611, 18, 4071, 49, 2486, 12, 2890, 13, 309, 365, 18, 17116, 9217, 471, 365, 18, 291, 1227, 471, 486, 365, 18, 23711, 7387, 30, 365, 6315, 2625, ...
self.oldlocale = locale.setlocale(locale.LC_TIME, self.locale) return locale.getlocale(locale.LC_TIME)[1]
self.oldlocale = _locale.setlocale(_locale.LC_TIME, self.locale) return _locale.getlocale(_locale.LC_TIME)[1]
def __enter__(self): self.oldlocale = locale.setlocale(locale.LC_TIME, self.locale) return locale.getlocale(locale.LC_TIME)[1]
cd469a0757f6a55b468e50bf09177c79ce0782a5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/cd469a0757f6a55b468e50bf09177c79ce0782a5/calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2328, 972, 12, 2890, 4672, 365, 18, 1673, 6339, 273, 2573, 18, 542, 6339, 12, 6339, 18, 13394, 67, 4684, 16, 365, 18, 6339, 13, 327, 2573, 18, 588, 6339, 12, 6339, 18, 13394, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2328, 972, 12, 2890, 4672, 365, 18, 1673, 6339, 273, 2573, 18, 542, 6339, 12, 6339, 18, 13394, 67, 4684, 16, 365, 18, 6339, 13, 327, 2573, 18, 588, 6339, 12, 6339, 18, 13394, 6...
color("green") left(130)
left(120)
def demo2(): # exercises some new and improved features speed('fast') width(3) # draw a segmented half-circle setheading(towards(0,0)) x,y = position() r = (x**2+y**2)**.5/2.0 right(90) pendown = True for i in range(18): if pendown: up() pendown = False else: down() pendown = True circle(r,10) sleep(2) reset() left(9...
70a17faf4e4e8896faec18608fcc2098b0932d58 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/70a17faf4e4e8896faec18608fcc2098b0932d58/turtle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21477, 22, 13332, 468, 431, 12610, 6141, 2690, 394, 471, 13069, 2155, 4467, 8632, 2668, 8076, 6134, 1835, 12, 23, 13, 225, 468, 3724, 279, 3267, 329, 8816, 17, 18970, 444, 19948, 12, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21477, 22, 13332, 468, 431, 12610, 6141, 2690, 394, 471, 13069, 2155, 4467, 8632, 2668, 8076, 6134, 1835, 12, 23, 13, 225, 468, 3724, 279, 3267, 329, 8816, 17, 18970, 444, 19948, 12, 310...
self.javascript('$("body").css("padding-bottom", "%dpx")' % amount)
padding = '%dpx'%amount try: old_padding = unicode(self.javascript('$("body").css("padding-bottom")').toString()) except: old_padding = '' if old_padding != padding: self.javascript('$("body").css("padding-bottom", "%s")' % padding)
def set_bottom_padding(self, amount): self.javascript('$("body").css("padding-bottom", "%dpx")' % amount)
1e12cfeb744de198c51d0dc5d4f72a8b669b3b30 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/1e12cfeb744de198c51d0dc5d4f72a8b669b3b30/documentview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 9176, 67, 9598, 12, 2890, 16, 3844, 4672, 365, 18, 11242, 2668, 8, 2932, 3432, 20387, 5212, 2932, 9598, 17, 9176, 3113, 2213, 72, 4430, 31241, 738, 3844, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 9176, 67, 9598, 12, 2890, 16, 3844, 4672, 365, 18, 11242, 2668, 8, 2932, 3432, 20387, 5212, 2932, 9598, 17, 9176, 3113, 2213, 72, 4430, 31241, 738, 3844, 13, 2, -100, -100, -1...
i = pop.chromBegin( noDSLChrom) noDSLLD = [ [i+x, i+numLoci/2] for x in range(numLoci/2)] + \ [ [i + numLoci/2, i+x] for x in range(numLoci/2+1, numLoci)]
if noDSLChrom > -1: i = pop.chromBegin( noDSLChrom) noDSLLD = [ [i+x, i+numLoci/2] for x in range(numLoci/2)] + \ [ [i + numLoci/2, i+x] for x in range(numLoci/2+1, numLoci)] else: noDSLLD = []
def outputStatistics(pop, args): ''' this function will be working with a pyOperator to output statistics. Many parameters will be passed, packed as a tuple. We need to output 1. LD (D') from a central marker to all others on a non-DSL chromosome, at burnin and before and after migration 2. LD (D') from a central DSL ...
a136497e0e1088471de0ae39dc64a100205947ce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/401/a136497e0e1088471de0ae39dc64a100205947ce/simuComplexDisease.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 876, 8569, 12, 5120, 16, 833, 4672, 9163, 333, 445, 903, 506, 5960, 598, 279, 2395, 5592, 358, 876, 7691, 18, 19903, 1472, 903, 506, 2275, 16, 12456, 487, 279, 3193, 18, 225, 1660, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 876, 8569, 12, 5120, 16, 833, 4672, 9163, 333, 445, 903, 506, 5960, 598, 279, 2395, 5592, 358, 876, 7691, 18, 19903, 1472, 903, 506, 2275, 16, 12456, 487, 279, 3193, 18, 225, 1660, 160...
self.offset += 512 for frame in xrange(512):
self.offset += SAMPLESIZE for frame in xrange(SAMPLESIZE):
def callback(self, buffer): from math import sin offset = self.offset self.offset += 512 for frame in xrange(512): v = 0.5 * sin(3.1415*self.freq/HZ*(frame+offset)) # Stereo buffer[2*frame] = v buffer[2*frame+1] = v
9e8b643a9d5d89cedde47af9dba6b0141656633d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1265/9e8b643a9d5d89cedde47af9dba6b0141656633d/ratecvt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 2890, 16, 1613, 4672, 628, 4233, 1930, 5367, 1384, 273, 365, 18, 3348, 365, 18, 3348, 1011, 348, 21373, 4574, 364, 2623, 316, 12314, 12, 55, 21373, 4574, 4672, 331, 273, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 2890, 16, 1613, 4672, 628, 4233, 1930, 5367, 1384, 273, 365, 18, 3348, 365, 18, 3348, 1011, 348, 21373, 4574, 364, 2623, 316, 12314, 12, 55, 21373, 4574, 4672, 331, 273, 374, ...
_install_loggers(cp, handlers)
_install_loggers(cp, handlers, disable_existing_loggers)
def fileConfig(fname, defaults=None): """ Read the logging configuration from a ConfigParser-format file. This can be called several times from an application, allowing an end user the ability to select from various pre-canned configurations (if the developer provides a mechanism to present the choices and load the ch...
a35be97898f513f6189ec9999eac5daf20bd266f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/a35be97898f513f6189ec9999eac5daf20bd266f/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 585, 809, 12, 12749, 16, 3467, 33, 7036, 4672, 3536, 2720, 326, 2907, 1664, 628, 279, 25076, 17, 2139, 585, 18, 225, 1220, 848, 506, 2566, 11392, 4124, 628, 392, 2521, 16, 15632, 392, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 585, 809, 12, 12749, 16, 3467, 33, 7036, 4672, 3536, 2720, 326, 2907, 1664, 628, 279, 25076, 17, 2139, 585, 18, 225, 1220, 848, 506, 2566, 11392, 4124, 628, 392, 2521, 16, 15632, 392, ...
self.AddSimpleTool(ID_FILE_SAVE,
self.AddLabelTool(ID_FILE_SAVE,
def __init_items(self):
9ea636e5642af91c5164934cac1dbceeb58b46d5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/9ea636e5642af91c5164934cac1dbceeb58b46d5/frame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 67, 3319, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 67, 3319, 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, -10...
P = self._check_valid() return P.get(self._name)
return self.str()
def __str__(self): P = self._check_valid() return P.get(self._name)
ca66017b3fa426d5a7ba94c1b7ee3fce9cc1f750 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/ca66017b3fa426d5a7ba94c1b7ee3fce9cc1f750/axiom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 453, 273, 365, 6315, 1893, 67, 877, 1435, 327, 453, 18, 588, 12, 2890, 6315, 529, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 453, 273, 365, 6315, 1893, 67, 877, 1435, 327, 453, 18, 588, 12, 2890, 6315, 529, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
target_file = cls.createInstance(interfaces.nsILocalFile);
target_file = cls.createInstance(interfaces.nsILocalFile)
def __clipboard_get_func_cb(self, clipboard, selection_data, info, data): file_name = urlparse.urlparse(self._url).path extension = None if '.' in file_name: extension = file_name.split('.')[1] fd, self._temp_file = tempfile.mkstemp(suffix='.' + extension) del fd
854eb02dda6c9569053daf38dc22f98c06759ae7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6905/854eb02dda6c9569053daf38dc22f98c06759ae7/palettes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 14161, 3752, 67, 588, 67, 644, 67, 7358, 12, 2890, 16, 20304, 16, 4421, 67, 892, 16, 1123, 16, 501, 4672, 585, 67, 529, 273, 15185, 18, 718, 2670, 12, 2890, 6315, 718, 2934, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 14161, 3752, 67, 588, 67, 644, 67, 7358, 12, 2890, 16, 20304, 16, 4421, 67, 892, 16, 1123, 16, 501, 4672, 585, 67, 529, 273, 15185, 18, 718, 2670, 12, 2890, 6315, 718, 2934, 80...
print 'Skipping data series %i because the secondary node id (i.e., variable source and name) is not set.'
print 'Skipping data series %i because the secondary node id (i.e., variable source and name) is not set.' % iseries
def update(self): """Update the figure. Everything happens here. The current set of customized properties is interpreted, data slices are obtained from the data sources, default figure properties are set based on properties of the obtained data, and the figure is built and shown. """ # We are called whenever figure p...
6f8bfc03c14f31a5af33c14d02bf8e6e69d86bb0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/381/6f8bfc03c14f31a5af33c14d02bf8e6e69d86bb0/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 3536, 1891, 326, 7837, 18, 225, 26553, 10555, 2674, 18, 1021, 783, 444, 434, 29063, 1790, 353, 19898, 16, 501, 12390, 854, 12700, 628, 326, 501, 5550, 16, 805, 7837...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 3536, 1891, 326, 7837, 18, 225, 26553, 10555, 2674, 18, 1021, 783, 444, 434, 29063, 1790, 353, 19898, 16, 501, 12390, 854, 12700, 628, 326, 501, 5550, 16, 805, 7837...
def del_recids(rank_method_code, range):
def del_recids(rank_method_code, range_rec):
def del_recids(rank_method_code, range): """Delete some records from the rank method""" id = run_sql("SELECT id from rnkMETHOD where name='%s'" % rank_method_code) res = run_sql("SELECT relevance_data FROM rnkMETHODDATA WHERE id_rnkMETHOD=%s" % id[0][0]) if res: rec_dict = deserialize_via_marshal(res[0][0]) write_messa...
08d52b9cd09a0477593c64c4cf6410f8b1cf0602 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/08d52b9cd09a0477593c64c4cf6410f8b1cf0602/bibrank_tag_based_indexer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1464, 67, 3927, 2232, 12, 11500, 67, 2039, 67, 710, 16, 1048, 67, 3927, 4672, 3536, 2613, 2690, 3853, 628, 326, 6171, 707, 8395, 612, 273, 1086, 67, 4669, 2932, 4803, 612, 628, 20594, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1464, 67, 3927, 2232, 12, 11500, 67, 2039, 67, 710, 16, 1048, 67, 3927, 4672, 3536, 2613, 2690, 3853, 628, 326, 6171, 707, 8395, 612, 273, 1086, 67, 4669, 2932, 4803, 612, 628, 20594, ...
_, default_encoding = locale.getdefaultlocale()
output_encoding = sys.stdout.encoding or locale.getpreferredencoding() \ or 'ascii'
def run(self): charCount = 0 charFullCount = 0
878b6d0518b4ffcf1fb4ccc845a20620ef14895f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/878b6d0518b4ffcf1fb4ccc845a20620ef14895f/check-strokes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1149, 1380, 273, 374, 1149, 5080, 1380, 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, 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, 1086, 12, 2890, 4672, 1149, 1380, 273, 374, 1149, 5080, 1380, 273, 374, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
info['progress'] = float(progress)
info['progress'] = min(100.0, max(0.0, float(progress)))
def update(self, progress=None, statustext=None, status=None, dialog=None, go=None): info = {} if progress is not None: info['progress'] = float(progress) if statustext is not None: info['statustext'] = DamnUnicode(statustext) if status is not None: info['status'] = DamnUnicode(status) if dialog is not None: info['dial...
9298db7bbb55accdf99e47ab768ad9365aa1a0f1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11142/9298db7bbb55accdf99e47ab768ad9365aa1a0f1/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 4007, 33, 7036, 16, 610, 641, 408, 33, 7036, 16, 1267, 33, 7036, 16, 6176, 33, 7036, 16, 1960, 33, 7036, 4672, 1123, 273, 2618, 309, 4007, 353, 486, 599, 30, 1123...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 4007, 33, 7036, 16, 610, 641, 408, 33, 7036, 16, 1267, 33, 7036, 16, 6176, 33, 7036, 16, 1960, 33, 7036, 4672, 1123, 273, 2618, 309, 4007, 353, 486, 599, 30, 1123...
label = wx.StaticText(self, -1, 'XML ID:', size=(LABEL_WIDTH,-1))
label = wx.StaticText(self, -1, 'XML ID:', size=self.labelSize)
def __init__(self, parent, label, xxx): ParamPage.__init__(self, parent, xxx) self.box = wx.StaticBox(self, -1, label) self.box.SetFont(g.labelFont()) topSizer = wx.StaticBoxSizer(self.box, wx.VERTICAL) sizer = wx.FlexGridSizer(len(xxx.allParams), 2, 0, 1) sizer.AddGrowableCol(1) if xxx.hasName: label = wx.StaticText(s...
c08eb1d3483f61f0ff688a7da31e878641cdaa33 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12725/c08eb1d3483f61f0ff688a7da31e878641cdaa33/panel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 1433, 16, 23354, 4672, 3014, 1964, 16186, 2738, 972, 12, 2890, 16, 982, 16, 23354, 13, 365, 18, 2147, 273, 7075, 18, 5788, 3514, 12, 2890, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 1433, 16, 23354, 4672, 3014, 1964, 16186, 2738, 972, 12, 2890, 16, 982, 16, 23354, 13, 365, 18, 2147, 273, 7075, 18, 5788, 3514, 12, 2890, 16, ...
self.w2=wide/2.0 self.h2=high/2.0
"""This should be called when the trackball's window or pane has been resized to the given values (window width and height in pixels). """ self.w2 = wide/2.0 self.h2 = high/2.0
def rescale(self, wide, high): self.w2=wide/2.0 self.h2=high/2.0 self.scale = 1.1 / min(wide/2.0, high/2.0)
a8ef9812e81d701930fa3e21753063a2e5704c69 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/a8ef9812e81d701930fa3e21753063a2e5704c69/VQT.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30323, 12, 2890, 16, 14812, 16, 3551, 4672, 3536, 2503, 1410, 506, 2566, 1347, 326, 3298, 19067, 1807, 2742, 578, 13618, 711, 2118, 21615, 358, 326, 864, 924, 261, 5668, 1835, 471, 2072, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30323, 12, 2890, 16, 14812, 16, 3551, 4672, 3536, 2503, 1410, 506, 2566, 1347, 326, 3298, 19067, 1807, 2742, 578, 13618, 711, 2118, 21615, 358, 326, 864, 924, 261, 5668, 1835, 471, 2072, ...
p = ConchTestForwardingProcess(port+10, self.fac)
p = ConchTestForwardingProcess(port+10,self.fac)
def testLocalToRemoteForwarding(self): f = EchoFactory() serv = reactor.listenTCP(0, f) port = serv.getHost().port p = ConchTestForwardingProcess(port+10, self.fac) self.execute('', p, preargs='-N -L%i:localhost:%i' % (port+10, port)) serv.stopListening()
25136b6da0a4cc78083f453648d9d96e9dd1c1be /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/25136b6da0a4cc78083f453648d9d96e9dd1c1be/test_conch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2042, 774, 5169, 21487, 12, 2890, 4672, 284, 273, 28995, 1733, 1435, 13515, 273, 19178, 18, 18085, 13891, 12, 20, 16, 284, 13, 1756, 273, 13515, 18, 588, 2594, 7675, 655, 293, 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, 1842, 2042, 774, 5169, 21487, 12, 2890, 4672, 284, 273, 28995, 1733, 1435, 13515, 273, 19178, 18, 18085, 13891, 12, 20, 16, 284, 13, 1756, 273, 13515, 18, 588, 2594, 7675, 655, 293, 273,...
diff = len(md5s[f]) - st[stat.ST_NLINK]
diff = 1 + len(duplicates) - st[stat.ST_NLINK]
def check(self, pkg):
0342a22c778580f12cff4b2d58c4ef7213f13755 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10341/0342a22c778580f12cff4b2d58c4ef7213f13755/DuplicatesCheck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 3475, 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, 866, 12, 2890, 16, 3475, 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...
module_file = codecs.open(module_doc.filename, 'r', encoding)
module_file = codecs.open(module_doc.filename, 'rU', encoding)
def process_file(module_doc): """ Read the given C{ModuleDoc}'s file, and add variables corresponding to any objects defined in that file. In particular, read and tokenize C{module_doc.filename}, and process each logical line using L{process_line()}. """ # Keep track of the current line number: lineno = None # Use th...
76aa87c4f3f84f87b6c947e3387d535503259a2a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/76aa87c4f3f84f87b6c947e3387d535503259a2a/docparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 768, 12, 2978, 67, 2434, 4672, 3536, 2720, 326, 864, 385, 95, 3120, 1759, 1713, 87, 585, 16, 471, 527, 3152, 4656, 358, 1281, 2184, 2553, 316, 716, 585, 18, 225, 657, 6826, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 768, 12, 2978, 67, 2434, 4672, 3536, 2720, 326, 864, 385, 95, 3120, 1759, 1713, 87, 585, 16, 471, 527, 3152, 4656, 358, 1281, 2184, 2553, 316, 716, 585, 18, 225, 657, 6826, ...
failedBundleProcessCount += 1
failedBundleCount += 1
def ProcessBundle(bundle): global failedSendCount global suppressedCount global successfulSendCount global successfulReprocessCount global successfulHandshakes global failedHandshakes global failedReprocessCount global successfulBundleCount global failedBundleCount global BundleSize responseString = "" # Loop through...
8185c3cd037245d84759b086f0a099ccd4a35cc8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/637/8185c3cd037245d84759b086f0a099ccd4a35cc8/Gratia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4389, 3405, 12, 9991, 4672, 2552, 2535, 3826, 1380, 2552, 24448, 1380, 2552, 6873, 3826, 1380, 2552, 6873, 426, 2567, 1380, 2552, 6873, 1144, 674, 3223, 2552, 2535, 1144, 674, 3223, 2552, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4389, 3405, 12, 9991, 4672, 2552, 2535, 3826, 1380, 2552, 24448, 1380, 2552, 6873, 3826, 1380, 2552, 6873, 426, 2567, 1380, 2552, 6873, 1144, 674, 3223, 2552, 2535, 1144, 674, 3223, 2552, ...
not end_tag_re.match(self.mobi_html[p:r]):
not end_tag_re.match(self.mobi_html[p:r]) and \ not self.mobi_html[p:r+1].endswith('/>'):
def add_anchors(self): if self.verbose: print 'Adding anchors...' positions = set([]) link_pattern = re.compile(r'''<[^<>]+filepos=['"]{0,1}(\d+)[^<>]*>''', re.IGNORECASE) for match in link_pattern.finditer(self.mobi_html): positions.add(int(match.group(1))) pos = 0 self.processed_html = '' end_tag_re = re.compile(r'<\...
54dd263be1ab436bf55027b469f77e40cf155997 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/54dd263be1ab436bf55027b469f77e40cf155997/reader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 304, 15482, 12, 2890, 4672, 309, 365, 18, 11369, 30, 1172, 296, 13962, 22941, 7821, 6865, 273, 444, 3816, 5717, 1692, 67, 4951, 273, 283, 18, 11100, 12, 86, 26418, 32, 5969, 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, 527, 67, 304, 15482, 12, 2890, 4672, 309, 365, 18, 11369, 30, 1172, 296, 13962, 22941, 7821, 6865, 273, 444, 3816, 5717, 1692, 67, 4951, 273, 283, 18, 11100, 12, 86, 26418, 32, 5969, 2...
xbee = XBee(ser, callback=dispatch.dispatch)
try: dispatch.run() except KeyboardInterrupt: pass
def io_sample_handler(name, packet): print "Samples Received: ", packet['samples']
275f676a91bd5c88cdfad99ce3b99d983017d4da /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10631/275f676a91bd5c88cdfad99ce3b99d983017d4da/dispatch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2527, 67, 6358, 67, 4176, 12, 529, 16, 4414, 4672, 1172, 315, 13239, 21066, 30, 3104, 4414, 3292, 7319, 3546, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2527, 67, 6358, 67, 4176, 12, 529, 16, 4414, 4672, 1172, 315, 13239, 21066, 30, 3104, 4414, 3292, 7319, 3546, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.container(value)
self.opencontainer(value)
def dump_array(self, value): self.container(value) write = self.write write("<value><array><data>\n") for v in value: self.__dump(v) write("</data></array></value>\n")
cd906440fbd0694e165a09262268a608df82deeb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/cd906440fbd0694e165a09262268a608df82deeb/xmlrpclib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 1126, 12, 2890, 16, 460, 4672, 365, 18, 3190, 3782, 12, 1132, 13, 1045, 273, 365, 18, 2626, 1045, 2932, 32, 1132, 4438, 1126, 4438, 892, 5333, 82, 7923, 364, 331, 316, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 1126, 12, 2890, 16, 460, 4672, 365, 18, 3190, 3782, 12, 1132, 13, 1045, 273, 365, 18, 2626, 1045, 2932, 32, 1132, 4438, 1126, 4438, 892, 5333, 82, 7923, 364, 331, 316, 460, ...
print "F"
def _write_config_h(self, cfg): # XXX - write out config.h for pcap_ex.c d = {} if os.path.exists(os.path.join(cfg['include_dirs'][0], 'pcap-int.h')): d['HAVE_PCAP_INT_H'] = 1 buf = open(os.path.join(cfg['include_dirs'][0], 'pcap.h')).read() if buf.find('pcap_file(') != -1: print "F" d['HAVE_PCAP_FILE'] = 1 if buf.find...
dcf69e3d1a93036acbfbd2e0f877b4eefd03e736 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5910/dcf69e3d1a93036acbfbd2e0f877b4eefd03e736/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 1425, 67, 76, 12, 2890, 16, 2776, 4672, 468, 11329, 300, 1045, 596, 642, 18, 76, 364, 293, 5909, 67, 338, 18, 71, 302, 273, 2618, 309, 1140, 18, 803, 18, 1808, 12, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 1425, 67, 76, 12, 2890, 16, 2776, 4672, 468, 11329, 300, 1045, 596, 642, 18, 76, 364, 293, 5909, 67, 338, 18, 71, 302, 273, 2618, 309, 1140, 18, 803, 18, 1808, 12, 5...
self.write(" (")
self.write(" ")
def _Yield(self, t): self.fill("yield") if t.value: self.write(" (") self.dispatch(t.value) self.write(")")
cb0813c7fd0cbadb8e73d810beafa8afbceafda7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/cb0813c7fd0cbadb8e73d810beafa8afbceafda7/unparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 16348, 12, 2890, 16, 268, 4672, 365, 18, 5935, 2932, 23604, 7923, 309, 268, 18, 1132, 30, 365, 18, 2626, 2932, 9369, 365, 18, 10739, 12, 88, 18, 1132, 13, 365, 18, 2626, 2932, 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, 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, 16348, 12, 2890, 16, 268, 4672, 365, 18, 5935, 2932, 23604, 7923, 309, 268, 18, 1132, 30, 365, 18, 2626, 2932, 9369, 365, 18, 10739, 12, 88, 18, 1132, 13, 365, 18, 2626, 2932, 2...
m.resize( 512 )
m.resize( 512 )
def test_both(): "Test mmap module on Unix systems and Windows" # Create an mmap'ed file f = open('foo', 'w+') # Write 2 pages worth of data to the file f.write('\0'* PAGESIZE) f.write('foo') f.write('\0'* (PAGESIZE-3) ) m = mmap.mmap(f.fileno(), 2 * PAGESIZE) f.close() # Simple sanity checks print ' Position of f...
b605a803a2394219d548783bbcbccc7f164a67b8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b605a803a2394219d548783bbcbccc7f164a67b8/test_mmap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 18237, 13332, 315, 4709, 30749, 1605, 603, 9480, 14908, 471, 8202, 6, 225, 468, 1788, 392, 30749, 11, 329, 585, 284, 273, 1696, 2668, 11351, 2187, 296, 91, 15, 6134, 225, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 18237, 13332, 315, 4709, 30749, 1605, 603, 9480, 14908, 471, 8202, 6, 225, 468, 1788, 392, 30749, 11, 329, 585, 284, 273, 1696, 2668, 11351, 2187, 296, 91, 15, 6134, 225, 468, ...
v[i] = v[0] v[0] = tmp_bit
v[0], v[i] = v[i], v[0]
def NKStarGraph(self,n,k): r''' Returns the (n,k)-star graph.
4f3314b6f54cf8c98c9f00dbbe1f70db68b427e4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/4f3314b6f54cf8c98c9f00dbbe1f70db68b427e4/graph_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 423, 47, 18379, 4137, 12, 2890, 16, 82, 16, 79, 4672, 436, 26418, 2860, 326, 261, 82, 16, 79, 24950, 10983, 2667, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 423, 47, 18379, 4137, 12, 2890, 16, 82, 16, 79, 4672, 436, 26418, 2860, 326, 261, 82, 16, 79, 24950, 10983, 2667, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
fs.done = (fs_cb_done, win) def fs_cb_selected(fs, selected, win, *args, **kwargs):
fs.callback_done_add(fs_cb_done, win) def fs_cb_selected(fs, selected, win):
def fs_cb_done(fs, selected, win, *args, **kwargs): win.delete()
ef127faaba8fc06ebbb7bd48a4185405cdfc6a4e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12343/ef127faaba8fc06ebbb7bd48a4185405cdfc6a4e/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2662, 67, 7358, 67, 8734, 12, 2556, 16, 3170, 16, 5657, 16, 380, 1968, 16, 2826, 4333, 4672, 5657, 18, 3733, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2662, 67, 7358, 67, 8734, 12, 2556, 16, 3170, 16, 5657, 16, 380, 1968, 16, 2826, 4333, 4672, 5657, 18, 3733, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def fl_set_positioner_xbounds(ob, min, max): """ fl_set_positioner_xbounds(ob, min, max) """ _fl_set_positioner_xbounds(ob, min, max)
def fl_set_positioner_xbounds(pObject, min_bound, max_bound): """ fl_set_positioner_xbounds(pObject, min_bound, max_bound) """ _fl_set_positioner_xbounds(pObject, min_bound, max_bound)
def fl_set_positioner_xbounds(ob, min, max): """ fl_set_positioner_xbounds(ob, min, max) """ _fl_set_positioner_xbounds(ob, min, max)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 3276, 264, 67, 92, 10576, 12, 84, 921, 16, 1131, 67, 3653, 16, 943, 67, 3653, 4672, 3536, 1183, 67, 542, 67, 3276, 264, 67, 92, 10576, 12, 84, 921, 16, 1131, 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, 1183, 67, 542, 67, 3276, 264, 67, 92, 10576, 12, 84, 921, 16, 1131, 67, 3653, 16, 943, 67, 3653, 4672, 3536, 1183, 67, 542, 67, 3276, 264, 67, 92, 10576, 12, 84, 921, 16, 1131, 67,...
try: 1/0
try: 1./0
def f(p): try: 1/0 except: pass
6294fee72793ac61c16b5ff2e9c17a78b67f4478 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/6294fee72793ac61c16b5ff2e9c17a78b67f4478/test_profilehooks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 12, 84, 4672, 775, 30, 404, 18, 19, 20, 1335, 30, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 284, 12, 84, 4672, 775, 30, 404, 18, 19, 20, 1335, 30, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
" return int32(${result});\n",
" return int32(result);\n",
def writeTraceableArgumentConversion(f, member, i, name, type, haveCcx, rvdeclared): argVal = "arg%d" % i argPtr = "&" + argVal params = { 'name': name, 'argVal': argVal } typeName = getBuiltinOrNativeTypeName(type) if typeName is not None: template = traceableArgumentConversionTemplates.get(typeName) if template is ...
d4894752c17d8324526f58a8ae8c82f1bcfbecae /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/d4894752c17d8324526f58a8ae8c82f1bcfbecae/qsgen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 3448, 429, 1379, 6814, 12, 74, 16, 3140, 16, 277, 16, 508, 16, 618, 16, 1240, 39, 71, 92, 16, 5633, 16571, 4672, 1501, 3053, 273, 315, 3175, 9, 72, 6, 738, 277, 1501, 5263, 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, 1045, 3448, 429, 1379, 6814, 12, 74, 16, 3140, 16, 277, 16, 508, 16, 618, 16, 1240, 39, 71, 92, 16, 5633, 16571, 4672, 1501, 3053, 273, 315, 3175, 9, 72, 6, 738, 277, 1501, 5263, 2...
except socket.error, arg: return False, u'Socket Error: %s' % repr(arg[1])
except socket.error, error: return False, u'Socket Error: %s' % repr(error[1])
def check(self, useHEAD = True): """ Returns True and the server status message if the page is alive. Otherwise returns false """ try: wasRedirected = self.resolveRedirect(useHEAD = useHEAD) except UnicodeError, arg: return False, u'Encoding Error: %s (%s)' % (arg.__class__.__name__, unicode(arg)) except httplib.error,...
920e0f300ade446cdbe0dadb5b3abc6cc854e52c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/920e0f300ade446cdbe0dadb5b3abc6cc854e52c/weblinkchecker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 999, 12458, 273, 1053, 4672, 3536, 2860, 1053, 471, 326, 1438, 1267, 883, 309, 326, 1363, 353, 13714, 18, 5272, 1135, 629, 3536, 775, 30, 1703, 5961, 329, 273, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 999, 12458, 273, 1053, 4672, 3536, 2860, 1053, 471, 326, 1438, 1267, 883, 309, 326, 1363, 353, 13714, 18, 5272, 1135, 629, 3536, 775, 30, 1703, 5961, 329, 273, 365, ...