rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
self.bondBefore = bondBefore self.bondAfter = bondAfter
def __init__(self, currentChainModel, structureEditor, resSeqNum, chosenCoordinates, viewer, bondBefore=None, bondAfter=None, description=None): super(CommandAcceptAtomPlacement, self).__init__(description) self.currentChainModel = currentChainModel self.structureEditor = structureEditor self.resSeqNum = resSeqNum self...
be290785c9222be753703ba6feed159f62895298 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4399/be290785c9222be753703ba6feed159f62895298/structure_editor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 783, 3893, 1488, 16, 3695, 6946, 16, 400, 6926, 2578, 16, 10447, 13431, 16, 14157, 16, 8427, 4649, 33, 7036, 16, 8427, 4436, 33, 7036, 16, 2477, 33, 7036...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 783, 3893, 1488, 16, 3695, 6946, 16, 400, 6926, 2578, 16, 10447, 13431, 16, 14157, 16, 8427, 4649, 33, 7036, 16, 8427, 4436, 33, 7036, 16, 2477, 33, 7036...
str = str + c
token.append(c)
def parseaddr(address): import string str = '' email = '' comment = '' backslash = 0 dquote = 0 space = 0 paren = 0 bracket = 0 seen_bracket = 0 for c in address: if backslash: str = str + c backslash = 0 continue if c == '\\': backslash = 1 continue if dquote: if c == '"': dquote = 0 else: str = str + c continue if c ...
a27c46cb14f5161823e8286256b61e46ad0634c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/a27c46cb14f5161823e8286256b61e46ad0634c5/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4793, 12, 2867, 4672, 1930, 533, 609, 273, 875, 2699, 273, 875, 2879, 273, 875, 23253, 273, 374, 302, 6889, 273, 374, 3476, 273, 374, 22146, 273, 374, 9843, 273, 374, 5881, 67, 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, 1109, 4793, 12, 2867, 4672, 1930, 533, 609, 273, 875, 2699, 273, 875, 2879, 273, 875, 23253, 273, 374, 302, 6889, 273, 374, 3476, 273, 374, 22146, 273, 374, 9843, 273, 374, 5881, 67, 2...
elif buffer == self.mode.buffer:
elif buffer == self.buffer:
def execute(self): """Operate on all the flags for each of the buffers. For each buffer item, process the flags to perform the requested action. """ delete_self = None try: list_count = self.GetItemCount() for index in range(list_count): key = self.GetItem(index, 5).GetText() flags = self.flags[key] dprint("flags %s f...
5cfb102115321ea923828cfe2331e4b8f8a43e20 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/5cfb102115321ea923828cfe2331e4b8f8a43e20/dired.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 4672, 3536, 3542, 340, 603, 777, 326, 2943, 364, 1517, 434, 326, 9664, 18, 225, 2457, 1517, 1613, 761, 16, 1207, 326, 2943, 358, 3073, 326, 3764, 1301, 18, 3536, 1430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 4672, 3536, 3542, 340, 603, 777, 326, 2943, 364, 1517, 434, 326, 9664, 18, 225, 2457, 1517, 1613, 761, 16, 1207, 326, 2943, 358, 3073, 326, 3764, 1301, 18, 3536, 1430, ...
writefile(os.path.join(distutils_path, 'distutils.cfg'), DISTUTILS_CFG, overwrite=False)
writefile(os.path.join(distutils_path, 'distutils.cfg'), distutils_cfg, overwrite=False)
def install_distutils(lib_dir): distutils_path = os.path.join(lib_dir, 'distutils') mkdir(distutils_path) writefile(os.path.join(distutils_path, '__init__.py'), DISTUTILS_INIT) writefile(os.path.join(distutils_path, 'distutils.cfg'), DISTUTILS_CFG, overwrite=False)
c470644f69661b102e212e3e763de440c46f14f8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12981/c470644f69661b102e212e3e763de440c46f14f8/virtualenv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 67, 4413, 5471, 12, 2941, 67, 1214, 4672, 2411, 5471, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 2941, 67, 1214, 16, 296, 4413, 5471, 6134, 6535, 12, 4413, 5471, 67, 803, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 67, 4413, 5471, 12, 2941, 67, 1214, 4672, 2411, 5471, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 2941, 67, 1214, 16, 296, 4413, 5471, 6134, 6535, 12, 4413, 5471, 67, 803, 13, 1...
'mvto':mvto,
'to':mvto,
def move(self, mvto, reason=False, movetalk=False, noredirect=False, watch=False, unwatch=False): """ Move the page Most params are self-explanatory mvto (move to) is the only required param must have "suppressredirect" right to use noredirect """ if not self.exists: raise NoPage token = self.getToken('move') params = ...
bf82abe3ecbe2a7fd86fcbd203ee221d9624a5d5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8398/bf82abe3ecbe2a7fd86fcbd203ee221d9624a5d5/page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 12, 2890, 16, 7701, 869, 16, 3971, 33, 8381, 16, 5730, 278, 2960, 33, 8381, 16, 290, 479, 7205, 33, 8381, 16, 4267, 33, 8381, 16, 640, 7585, 33, 8381, 4672, 3536, 9933, 326, 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, 3635, 12, 2890, 16, 7701, 869, 16, 3971, 33, 8381, 16, 5730, 278, 2960, 33, 8381, 16, 290, 479, 7205, 33, 8381, 16, 4267, 33, 8381, 16, 640, 7585, 33, 8381, 4672, 3536, 9933, 326, 13...
message = slskmessages.FileSearchResult(None, user, geoip, searchid, results, fileindex, slotsavail, self.speed, queuesizes, fifoqueue)
message = slskmessages.FileSearchResult(None, self.config.sections["server"]["login"], geoip, searchid, results, fileindex, slotsavail, self.speed, queuesizes, fifoqueue)
def processSearchRequest(self, searchterm, user, searchid, direct = 0): if searchterm is None: return
9aef0c1eee141aab4ff5f302f25da270d2e16a74 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8738/9aef0c1eee141aab4ff5f302f25da270d2e16a74/pynicotine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 2979, 691, 12, 2890, 16, 1623, 6408, 16, 729, 16, 1623, 350, 16, 2657, 273, 374, 4672, 309, 1623, 6408, 353, 599, 30, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 2979, 691, 12, 2890, 16, 1623, 6408, 16, 729, 16, 1623, 350, 16, 2657, 273, 374, 4672, 309, 1623, 6408, 353, 599, 30, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
smtp_server = config['smtp_server'] if smtp_server.startswith('maildir:/'): from mailbox import Maildir maildir_path = smtp_server[8:] try: mdir = Maildir(maildir_path,factory=None, create = True) mdir.add(msg.as_string(True)) return True except Exception,e: netsvc.Logger().notifyChannel('email_send (maildir)', netsvc....
return _email_send(email_from, flatten([email_to, email_cc, email_bcc]), msg, openobject_id=openobject_id, ssl=ssl, debug=debug)
def write(self, s): self.logger.notifyChannel('email_send', netsvc.LOG_DEBUG, s)
3d8d4a173b87927fdf5ffb9de8e423ad1b1599b5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/3d8d4a173b87927fdf5ffb9de8e423ad1b1599b5/misc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 272, 4672, 365, 18, 4901, 18, 12336, 2909, 2668, 3652, 67, 4661, 2187, 21954, 4227, 18, 4842, 67, 9394, 16, 272, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 272, 4672, 365, 18, 4901, 18, 12336, 2909, 2668, 3652, 67, 4661, 2187, 21954, 4227, 18, 4842, 67, 9394, 16, 272, 13, 2, -100, -100, -100, -100, -100, -100, -100, -1...
if not f90: raise CompilerNotFound('f90')
def set_exe(exe_key, f77=None, f90=None): cmd = self.executables.get(exe_key, None) if not cmd: return None # Note that we get cmd[0] here if the environment doesn't # have anything set exe_from_environ = getattr(self.command_vars, exe_key) if not exe_from_environ: possibles = [f90, f77] + self.possible_executables els...
888d6eddcb686d7b4b502b34be35be9acec84f6b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14925/888d6eddcb686d7b4b502b34be35be9acec84f6b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 14880, 12, 14880, 67, 856, 16, 284, 4700, 33, 7036, 16, 284, 9349, 33, 7036, 4672, 1797, 273, 365, 18, 4177, 322, 1538, 18, 588, 12, 14880, 67, 856, 16, 599, 13, 309, 486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 14880, 12, 14880, 67, 856, 16, 284, 4700, 33, 7036, 16, 284, 9349, 33, 7036, 4672, 1797, 273, 365, 18, 4177, 322, 1538, 18, 588, 12, 14880, 67, 856, 16, 599, 13, 309, 486, ...
remainderString = " "+ number_to_string(remainder)
remainderString = " "+ number_to_words(remainder)
def number_to_words(number): if number == 0: return "none" if number < 20: return [ "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" ][number] if number < 100: factor = (number / 10) - 2...
7838c4218c8625ee01295721a88c709cad84abc4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8026/7838c4218c8625ee01295721a88c709cad84abc4/textsupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 869, 67, 3753, 12, 2696, 4672, 309, 1300, 422, 374, 30, 327, 315, 6102, 6, 225, 309, 1300, 411, 4200, 30, 327, 306, 315, 476, 3113, 315, 15415, 3113, 315, 451, 992, 3113, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 869, 67, 3753, 12, 2696, 4672, 309, 1300, 422, 374, 30, 327, 315, 6102, 6, 225, 309, 1300, 411, 4200, 30, 327, 306, 315, 476, 3113, 315, 15415, 3113, 315, 451, 992, 3113, 3...
self.extension_path = extension_path
self.extension_path = extension_path
def __init__(self, name=ANONYMOUS_PROFILE_NAME, port=DEFAULT_PORT, template_profile=None, extension_path=None): """Creates a FirefoxProfile.
fe70a540da47b72418f8f98fe1949a5bc7f7cb65 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3504/fe70a540da47b72418f8f98fe1949a5bc7f7cb65/firefox_profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 33, 1258, 673, 61, 5980, 3378, 67, 22462, 67, 1985, 16, 1756, 33, 5280, 67, 6354, 16, 1542, 67, 5040, 33, 7036, 16, 2710, 67, 803, 33, 7036, 4672,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 33, 1258, 673, 61, 5980, 3378, 67, 22462, 67, 1985, 16, 1756, 33, 5280, 67, 6354, 16, 1542, 67, 5040, 33, 7036, 16, 2710, 67, 803, 33, 7036, 4672,...
>>> a = TM(p, o2, o3) >>> type(a).__name__ '_Proxy' >>> a = removeSecurityProxy(a) >>> a.context[0] is o, a.context[1] is o2, a.context[2] is o3 (True, True, True) >>> a = TM(p, ProxyFactory(o2), ProxyFactory(o3)) >>> type(a).__name__ '_Proxy' >>> a = removeSecurityProxy(a) >>> a.context[0] is o, a.context[1] is o2, a...
see adapter.txt """
... def __init__(self, *context):
c4df19b7123c032c70b5860013f9a3c864759b7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9520/c4df19b7123c032c70b5860013f9a3c864759b7f/adapter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 2472, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 2472, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def validate(self, value):
def _validate(self, value):
def validate(self, value): if not isinstance(value, decimal.Decimal): raise zope.schema.ValidationError( "Value must be of type 'Decimal', not '%s'." % ( type(value).__name__) )
2bb51952418355129fdd1bbd0aa61b3c4cbe1ffa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8726/2bb51952418355129fdd1bbd0aa61b3c4cbe1ffa/field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5662, 12, 2890, 16, 460, 4672, 309, 486, 1549, 12, 1132, 16, 6970, 18, 5749, 4672, 1002, 998, 1306, 18, 4821, 18, 12101, 12, 315, 620, 1297, 506, 434, 618, 296, 5749, 2187, 486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5662, 12, 2890, 16, 460, 4672, 309, 486, 1549, 12, 1132, 16, 6970, 18, 5749, 4672, 1002, 998, 1306, 18, 4821, 18, 12101, 12, 315, 620, 1297, 506, 434, 618, 296, 5749, 2187, 486, ...
class _SSLBioProxy:
class _BioProxy:
def listenTCP(port, factory, backlog=5, interface='', reactor=twisted.internet.reactor, postConnectionCheck=None): """ A convenience function to listen for TCP connections using Twisted. NOTE: You must call startTLS(ctx) to go into SSL/TLS mode. See IReactorTCP interface in Twisted. """ wrappingFactory = policies.Wra...
a99db2ef84a088d900677844b0f1a047a8cfd25a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10522/a99db2ef84a088d900677844b0f1a047a8cfd25a/TwistedProtocolWrapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6514, 13891, 12, 655, 16, 3272, 16, 1473, 1330, 33, 25, 16, 1560, 2218, 2187, 19178, 33, 11246, 25444, 18, 267, 14726, 18, 266, 3362, 16, 1603, 1952, 1564, 33, 7036, 4672, 3536, 432, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6514, 13891, 12, 655, 16, 3272, 16, 1473, 1330, 33, 25, 16, 1560, 2218, 2187, 19178, 33, 11246, 25444, 18, 267, 14726, 18, 266, 3362, 16, 1603, 1952, 1564, 33, 7036, 4672, 3536, 432, 1...
if invalid_module.internal_version != invalid_module.module_descriptor.version:
desc = None try:
def attempt_automatic_upgrade(controller, pipeline, module_id, function_remap={}, src_port_remap={}, dst_port_remap={}, annotation_remap={}): """attempt_automatic_upgrade(module_id, pipeline): [Action]
6599e17ec5695db0a0389e47986fbae0d2b583d5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6341/6599e17ec5695db0a0389e47986fbae0d2b583d5/upgradeworkflow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4395, 67, 5854, 4941, 67, 15097, 12, 5723, 16, 5873, 16, 1605, 67, 350, 16, 445, 67, 266, 1458, 28793, 1705, 67, 655, 67, 266, 1458, 28793, 3046, 67, 655, 67, 266, 1458, 28793, 3204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4395, 67, 5854, 4941, 67, 15097, 12, 5723, 16, 5873, 16, 1605, 67, 350, 16, 445, 67, 266, 1458, 28793, 1705, 67, 655, 67, 266, 1458, 28793, 3046, 67, 655, 67, 266, 1458, 28793, 3204, ...
try: unicode('abc\001', codecname) except UnicodeError: print '\\001 maps to undefined: OK' else: print '*** check failed: \\001 does not map to undefined'
def test_maptoundefined(self): self.assertRaises(UnicodeError, unicode, 'abc\001', codecname) def test_main(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(CharmapCodecTest)) test.test_support.run_suite(suite) if __name__ == "__main__": test_main()
def check(a, b): if a != b: print '*** check failed: %s != %s' % (repr(a), repr(b)) else: print '%s == %s: OK' % (a, b)
1413fdd21de7ea15a17172fb1461ea80e82f70fc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/1413fdd21de7ea15a17172fb1461ea80e82f70fc/test_charmapcodec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 69, 16, 324, 4672, 309, 279, 480, 324, 30, 1172, 296, 14465, 866, 2535, 30, 738, 87, 480, 738, 87, 11, 738, 261, 12715, 12, 69, 3631, 8480, 12, 70, 3719, 469, 30, 1172, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 69, 16, 324, 4672, 309, 279, 480, 324, 30, 1172, 296, 14465, 866, 2535, 30, 738, 87, 480, 738, 87, 11, 738, 261, 12715, 12, 69, 3631, 8480, 12, 70, 3719, 469, 30, 1172, 19...
"type" : "JClassDepJob",
"type" : "JCompileJob",
def listJobTriggers(self): return {
f5d4ca3e2e1dc0f3d07bc854aac0f88163180ebf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/f5d4ca3e2e1dc0f3d07bc854aac0f88163180ebf/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 2278, 15114, 12, 2890, 4672, 327, 288, 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, 666, 2278, 15114, 12, 2890, 4672, 327, 288, 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...
self.parser.parseError()
self.parser.parseError(_(u"Unexpected end tag (col). " u"col has no end tag."))
def endTagCol(self, name): self.parser.parseError()
d714b17ea5dc88de01658fc32a1153e84dbce4ff /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9368/d714b17ea5dc88de01658fc32a1153e84dbce4ff/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 914, 12, 2890, 16, 508, 4672, 365, 18, 4288, 18, 2670, 668, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 914, 12, 2890, 16, 508, 4672, 365, 18, 4288, 18, 2670, 668, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if self.location == 0:
if self.location == 0:
def put_zoom_image_to_window(self, currimg_preloaded):
a4d6024d09d807bd2a142bf54daca1a7d1873c7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/a4d6024d09d807bd2a142bf54daca1a7d1873c7f/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 14932, 67, 2730, 67, 869, 67, 5668, 12, 2890, 16, 4306, 6081, 67, 1484, 4230, 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,...
[ 1, 1, 1, 1, 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, 1378, 67, 14932, 67, 2730, 67, 869, 67, 5668, 12, 2890, 16, 4306, 6081, 67, 1484, 4230, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self.valueOf_ = get_all_text_(node) if node.text is not None: obj_ = self.mixedclass_(MixedContainer.CategoryText, MixedContainer.TypeNone, '', node.text) self.content_.append(obj_)
def build(self, node): self.buildAttributes(node, node.attrib, []) self.valueOf_ = get_all_text_(node) if node.text is not None: obj_ = self.mixedclass_(MixedContainer.CategoryText, MixedContainer.TypeNone, '', node.text) self.content_.append(obj_) for child in node: nodeName_ = Tag_pattern_.match(child.tag).groups()[-...
9c12e50d449fa27d6f8f3415ece228ae97bb0266 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14016/9c12e50d449fa27d6f8f3415ece228ae97bb0266/_nexml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 12, 2890, 16, 756, 4672, 365, 18, 3510, 2498, 12, 2159, 16, 756, 18, 14588, 16, 5378, 13, 364, 1151, 316, 756, 30, 7553, 67, 273, 4034, 67, 4951, 27799, 1916, 12, 3624, 18, 269...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 12, 2890, 16, 756, 4672, 365, 18, 3510, 2498, 12, 2159, 16, 756, 18, 14588, 16, 5378, 13, 364, 1151, 316, 756, 30, 7553, 67, 273, 4034, 67, 4951, 27799, 1916, 12, 3624, 18, 269...
tokenNumber = self.PcdTokenNumber[pcd.TokenSpaceGuidCName, pcd.TokenCName]
tokenNumber = self.PcdTokenNumber[pcd.TokenCName, pcd.TokenSpaceGuidCName]
def CreateModulePcdCode(self, pcd): # # Write PCDs # #for TokenSpaceGuidCName in self.Module.Pcds: # Platform.PcdDatabase[ModuleSA]: # for C_Name in Platform.PcdDatabase[ModuleSA][TokenSpaceGuidCName]: # Pcd = Platform.PcdDatabase[ModuleSA][TokenSpaceGuidCName][C_Name] pcdTokenName = '_PCD_TOKEN_' + pcd.TokenCN...
502c7f8e852c690f3cb00ab852f2902d8eb0db4f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/914/502c7f8e852c690f3cb00ab852f2902d8eb0db4f/AutoGen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 3120, 52, 4315, 1085, 12, 2890, 16, 293, 4315, 4672, 468, 468, 2598, 453, 10160, 87, 468, 468, 1884, 3155, 3819, 22549, 39, 461, 316, 365, 18, 3120, 18, 28136, 2377, 30, 468, 118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 3120, 52, 4315, 1085, 12, 2890, 16, 293, 4315, 4672, 468, 468, 2598, 453, 10160, 87, 468, 468, 1884, 3155, 3819, 22549, 39, 461, 316, 365, 18, 3120, 18, 28136, 2377, 30, 468, 118...
if os.path.isabs(self.target_file._name) and self.target_file._name.startswith(MEDIA_URL): self.target_file._name = self.target_file._name[len(MEDIA_URL):]
if os.path.isabs(self.target_file.name) and self.target_file.name.startswith(MEDIA_URL): self.target_file.name = self.target_file.name[len(MEDIA_URL):]
def delete(self, *args, **kwargs): """ Delete entry; provide hack to fix old absolute-path-storing. """ import os # If needby, strip URL prefix if os.path.isabs(self.target_file._name) and self.target_file._name.startswith(MEDIA_URL): self.target_file._name = self.target_file._name[len(MEDIA_URL):] # In case trailing s...
536e646a98dfecbbbc9af869621b9b089e72c04d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12041/536e646a98dfecbbbc9af869621b9b089e72c04d/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 2504, 1241, 31, 5615, 11769, 358, 2917, 1592, 4967, 17, 803, 17, 334, 6053, 18, 3536, 1930, 1140, 468, 971, 1608, 1637, 16, 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, 1430, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 2504, 1241, 31, 5615, 11769, 358, 2917, 1592, 4967, 17, 803, 17, 334, 6053, 18, 3536, 1930, 1140, 468, 971, 1608, 1637, 16, 2...
maxwidth = minwidth + ((2 ** auxdatalen.width) * 8) +
maxwidth = minwidth + ((2 ** auxdatalen.width) * 8) + \
def bounds(self, value): """Check the bounds of this field."""
5eccb02e90045c72191131d83261a0bde537827b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5910/5eccb02e90045c72191131d83261a0bde537827b/igmpv3.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4972, 12, 2890, 16, 460, 4672, 3536, 1564, 326, 4972, 434, 333, 652, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4972, 12, 2890, 16, 460, 4672, 3536, 1564, 326, 4972, 434, 333, 652, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
un = self.getPureUserNames()
un = map(lambda x: x.getId(), self.getPureUsers())
def listUsersBatches(self,): """ listUsersBatches(self,) => return a list of (start, end) tuples. Return None if batching is not necessary """ # Time-consuming stuff ! un = self.getPureUserNames() if len(un) <= MAX_USERS_PER_PAGE: return None un.sort()
349a95cc3d754ca8884f37d7aef37803b7793cb3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/349a95cc3d754ca8884f37d7aef37803b7793cb3/GroupUserFolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 6588, 31584, 12, 2890, 16, 4672, 3536, 666, 6588, 31584, 12, 2890, 16, 13, 516, 327, 279, 666, 434, 261, 1937, 16, 679, 13, 10384, 18, 2000, 599, 309, 2581, 310, 353, 486, 4573, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 6588, 31584, 12, 2890, 16, 4672, 3536, 666, 6588, 31584, 12, 2890, 16, 13, 516, 327, 279, 666, 434, 261, 1937, 16, 679, 13, 10384, 18, 2000, 599, 309, 2581, 310, 353, 486, 4573, ...
def doDistribution(releaseMode, workingDir, log, outputDir, buildVersion, buildVersionEscaped, distOption, hardhatScript):
def doDistribution(releaseMode, workingDir, log, outputDir, buildVersion, buildVersionEscaped, hardhatScript):
def doDistribution(releaseMode, workingDir, log, outputDir, buildVersion, buildVersionEscaped, distOption, hardhatScript): # Create end-user, developer distributions print "Making distribution files for " + releaseMode log.write(separator) log.write("Making distribution files for " + releaseMode + "\n") if releaseMod...
b7d96f6e38cf31b878fa8c3597e8b8b36ca61582 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/b7d96f6e38cf31b878fa8c3597e8b8b36ca61582/newchandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 9003, 12, 9340, 2309, 16, 5960, 1621, 16, 613, 16, 21412, 16, 1361, 1444, 16, 1361, 1444, 17208, 16, 7877, 11304, 3651, 4672, 468, 282, 1788, 679, 17, 1355, 16, 8751, 23296, 1172, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9003, 12, 9340, 2309, 16, 5960, 1621, 16, 613, 16, 21412, 16, 1361, 1444, 16, 1361, 1444, 17208, 16, 7877, 11304, 3651, 4672, 468, 282, 1788, 679, 17, 1355, 16, 8751, 23296, 1172, ...
length = length - 2
length = length - 1 break elif platformId == 1 and encodingId == 0 and languageId == 0 \ and nameId == 6: psName = self.get_chunk(string_data_offset + offset, length) for char in psName: char = ord(char) if char < 33 or char > 126 or chr(char) in \ ('[', ']', '(', ')', '{', '}', '<', '>', '/', '%'): raise TTFError, ...
def extractInfo(self, charInfo=1): """Extract typographic information from the loaded font file.
07507b8a952bfffc6323d9fd017854aa4f8705ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/07507b8a952bfffc6323d9fd017854aa4f8705ae/ttfonts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 966, 12, 2890, 16, 1149, 966, 33, 21, 4672, 3536, 4976, 3815, 16983, 1779, 628, 326, 4203, 3512, 585, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2608, 966, 12, 2890, 16, 1149, 966, 33, 21, 4672, 3536, 4976, 3815, 16983, 1779, 628, 326, 4203, 3512, 585, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
nodeConnections.append(0)
def crackConnections(crackConnectionImage): edges = [None] nodeImage = GrayImage(crackConnectionImage.size()) nodePositions = [None] for startPos in meshIter(crackConnectionImage.size()): #startPos = Point2D(*startPos) nodeConn = int(crackConnectionImage[startPos]) if isNode(nodeConn): startNode = int(nodeImage[startPo...
2daee55c485c15dd62d69be06fc16ad48f1752ec /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10394/2daee55c485c15dd62d69be06fc16ad48f1752ec/crackConvert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 21580, 9314, 12, 71, 21580, 1952, 2040, 4672, 5231, 273, 306, 7036, 65, 756, 2040, 273, 12435, 2040, 12, 71, 21580, 1952, 2040, 18, 1467, 10756, 756, 11024, 273, 306, 7036, 65, 364,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 21580, 9314, 12, 71, 21580, 1952, 2040, 4672, 5231, 273, 306, 7036, 65, 756, 2040, 273, 12435, 2040, 12, 71, 21580, 1952, 2040, 18, 1467, 10756, 756, 11024, 273, 306, 7036, 65, 364,...
print "nextPktNum: New Time"
LOG.debug( "nextPktNum: New Time" )
def nextPktNum(self):
94194b78b83de3d89b6ffd035804de2c82bbaff0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4752/94194b78b83de3d89b6ffd035804de2c82bbaff0/dtella_bridgeserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 7789, 88, 2578, 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, 1024, 7789, 88, 2578, 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...
This example involves a `p`-adic number. ::
This example involves a `p`-adic number::
def algdep(z, degree, known_bits=None, use_bits=None, known_digits=None, use_digits=None, height_bound=None, proof=False): """ Returns a polynomial of degree at most `degree` which is approximately satisfied by the number `z`. Note that the returned polynomial need not be irreducible, and indeed usually won't be if `z`...
77a54f69e28a7333c3cd3eba5214f2a668319f2c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/77a54f69e28a7333c3cd3eba5214f2a668319f2c/arith.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11989, 15037, 12, 94, 16, 10782, 16, 4846, 67, 6789, 33, 7036, 16, 999, 67, 6789, 33, 7036, 16, 4846, 67, 16649, 33, 7036, 16, 999, 67, 16649, 33, 7036, 16, 2072, 67, 3653, 33, 7036,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11989, 15037, 12, 94, 16, 10782, 16, 4846, 67, 6789, 33, 7036, 16, 999, 67, 6789, 33, 7036, 16, 4846, 67, 16649, 33, 7036, 16, 999, 67, 16649, 33, 7036, 16, 2072, 67, 3653, 33, 7036,...
if self.kana[-2:]=="-2": self.kana = self.kana[:-2] if answer==self.kana:
if self.kana[-2:] == "-2": self.kana = self.kana[:-2] if answer == self.kana:
def checkAnswer(self,widget): """Check the given answer, update the score and display the result. """
64cfb9e0b60a3a976c72fa9d5d722987641133b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3073/64cfb9e0b60a3a976c72fa9d5d722987641133b9/gtk_gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 13203, 12, 2890, 16, 6587, 4672, 3536, 1564, 326, 864, 5803, 16, 1089, 326, 4462, 471, 2562, 326, 563, 18, 225, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 13203, 12, 2890, 16, 6587, 4672, 3536, 1564, 326, 864, 5803, 16, 1089, 326, 4462, 471, 2562, 326, 563, 18, 225, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
DeleteKey(key, "sub_key")
DeleteKey(key, subkeystr)
def DeleteTestData(self, root_key): key = OpenKey(root_key, test_key_name, 0, KEY_ALL_ACCESS) sub_key = OpenKey(key, "sub_key", 0, KEY_ALL_ACCESS) # It is not necessary to delete the values before deleting # the key (although subkeys must not exist). We delete them # manually just to prove we can :-) for value_name, v...
27c230b00f34c7b812823e0eb8f7f9a484a40253 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/27c230b00f34c7b812823e0eb8f7f9a484a40253/test_winreg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2504, 4709, 751, 12, 2890, 16, 1365, 67, 856, 4672, 498, 273, 3502, 653, 12, 3085, 67, 856, 16, 1842, 67, 856, 67, 529, 16, 374, 16, 5311, 67, 4685, 67, 13204, 13, 720, 67, 856, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2504, 4709, 751, 12, 2890, 16, 1365, 67, 856, 4672, 498, 273, 3502, 653, 12, 3085, 67, 856, 16, 1842, 67, 856, 67, 529, 16, 374, 16, 5311, 67, 4685, 67, 13204, 13, 720, 67, 856, 27...
('01__actual__name', 'actual__name'), ]:
('01__actual__name.tsv', 'actual__name.tsv'), ('no_prefix_here.html', 'no_prefix_here.html') ]:
def test_remove_prefix(self): for inp, exp in [ ('01__hello', 'hello'), ('textual_prefix__hello', 'hello'), ('01__actual__name', 'actual__name'), ]: assert_equals(_remove_prefix(inp), exp)
017e22f3d6d4d6035562ac7608112fbbb0e0c22c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6988/017e22f3d6d4d6035562ac7608112fbbb0e0c22c/test_misc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4479, 67, 3239, 12, 2890, 4672, 364, 12789, 16, 1329, 316, 306, 7707, 1611, 972, 23711, 2187, 296, 23711, 19899, 7707, 955, 1462, 67, 3239, 972, 23711, 2187, 296, 23711, 19899, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4479, 67, 3239, 12, 2890, 4672, 364, 12789, 16, 1329, 316, 306, 7707, 1611, 972, 23711, 2187, 296, 23711, 19899, 7707, 955, 1462, 67, 3239, 972, 23711, 2187, 296, 23711, 19899, ...
pydll = ('C:\windows\system32\python%s.dll' % sysconfig.get_config_vars('VERSION')[0]) os.system('make -f Makefile.win32 %s PY_HOME="%s" PY_DLL="%s"' % (' '.join(sys.argv[1:]), sys.prefix, pydll))
pydll = ('C:\windows\system32\python%s.dll' % sysconfig.get_config_vars('VERSION')[0]) os.system('make -f Makefile.win32 %s PY_HOME="%s" PY_DLL="%s"' % (' '.join(sys.argv[1:]), sys.prefix, pydll))
def main(): # Use Makefile for windows. distutils doesn't work well with windows. if sys.platform == 'win32': pydll = ('C:\windows\system32\python%s.dll' % sysconfig.get_config_vars('VERSION')[0]) os.system('make -f Makefile.win32 %s PY_HOME="%s" PY_DLL="%s"' % (' '.join(sys.argv[1:]), sys.prefix, pydll)) return pacpa...
85d193ec0c9cfe2cb12c1e3d7b46ecada64a2873 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9887/85d193ec0c9cfe2cb12c1e3d7b46ecada64a2873/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 2672, 4344, 768, 364, 9965, 18, 2411, 5471, 3302, 1404, 1440, 5492, 598, 9965, 18, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 2395, 27670, 273, 7707, 39, 5581, 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, 2774, 13332, 468, 2672, 4344, 768, 364, 9965, 18, 2411, 5471, 3302, 1404, 1440, 5492, 598, 9965, 18, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 2395, 27670, 273, 7707, 39, 5581, 13...
print "DEBUG: data:" print data
print "DEBUG: str1='%s', str2='%s', str3='%s', str4='%s'" %(str1, str2, str3, str4)
def destroy(obj, event, data): print "DEBUG: window destroy callback called!" print "DEBUG: data:" print data elementary.exit()
dff3caa2ec713908f112c4970120d3d880226170 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12343/dff3caa2ec713908f112c4970120d3d880226170/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2603, 16, 871, 16, 501, 4672, 1172, 315, 9394, 30, 2742, 5546, 1348, 2566, 4442, 1172, 315, 9394, 30, 609, 21, 28713, 87, 2187, 609, 22, 28713, 87, 2187, 609, 23, 28713, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2603, 16, 871, 16, 501, 4672, 1172, 315, 9394, 30, 2742, 5546, 1348, 2566, 4442, 1172, 315, 9394, 30, 609, 21, 28713, 87, 2187, 609, 22, 28713, 87, 2187, 609, 23, 28713, 87, ...
'shadow': 'fo:text-shadow'}
'shadow': 'fo:text-shadow', 'stroke': 'draw:stroke', 'fill_color': 'draw:fill-color', 'fill_image_width': 'draw:fill-image-width', 'fill_image_height': 'draw:fill-image-height', 'textarea_vertical_align': 'draw:textarea-vertical-align', 'line_distance': 'draw:line-distance', 'guide_overhang': 'draw:guide-overhang', 'g...
def _expand_properties(properties): # This mapping is not exhaustive, it only contains cases where replacing # '_' with '-' and adding the "fo:" prefix is not enough mapping = {# text 'font': 'style:font-name', 'size': 'fo:font-size', 'weight': 'fo:font-weight', 'style': 'fo:font-style', 'underline': 'style:text-underl...
ce033cd55fb60df835dde8066e973f6c4b1a713b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10612/ce033cd55fb60df835dde8066e973f6c4b1a713b/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12320, 67, 4738, 12, 4738, 4672, 468, 1220, 2874, 353, 486, 19575, 641, 688, 16, 518, 1338, 1914, 6088, 1625, 13993, 468, 4427, 598, 4014, 471, 6534, 326, 315, 617, 2773, 1633, 353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12320, 67, 4738, 12, 4738, 4672, 468, 1220, 2874, 353, 486, 19575, 641, 688, 16, 518, 1338, 1914, 6088, 1625, 13993, 468, 4427, 598, 4014, 471, 6534, 326, 315, 617, 2773, 1633, 353,...
assert oct(wa) == zs
def test01_SimpleMethods(self): if verbose: print '\n', '-=' * 30 print "Running %s.test01_SimpleMethods..." % \ self.__class__.__name__ print "\ta:\t%s\t%s\t0x%x" % (type(self.a), self.a, self.a) print "\tb:\t%s\t%s\t0x%x" % (type(self.b), self.b, self.b) print "\tc:\t%s\t%s\t0x%x" % (type(self.c), self.c, self.c)
3f6155b6e28fedbc1e082dbf1bca55535715aa77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1057/3f6155b6e28fedbc1e082dbf1bca55535715aa77/test_methods.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 5784, 4712, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 1611, 67, 5784, 4712, 7070, 738, 521, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 5784, 4712, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 1611, 67, 5784, 4712, 7070, 738, 521, 365, 1...
should be a single type object
should be a single string describing thd desired type
def __instantiator(self, type_blob, relative_to, **kwargs): """ Instantiate a type, which is defined by a type blob in the following format:
1971fbb523d07729bbc5e3fee87b01faf4378828 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12876/1971fbb523d07729bbc5e3fee87b01faf4378828/runner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 24628, 10620, 12, 2890, 16, 618, 67, 10721, 16, 3632, 67, 869, 16, 2826, 4333, 4672, 3536, 26492, 279, 618, 16, 1492, 353, 2553, 635, 279, 618, 4795, 316, 326, 3751, 740, 30, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 24628, 10620, 12, 2890, 16, 618, 67, 10721, 16, 3632, 67, 869, 16, 2826, 4333, 4672, 3536, 26492, 279, 618, 16, 1492, 353, 2553, 635, 279, 618, 4795, 316, 326, 3751, 740, 30, 2, ...
"""returns an invalid value and expected parse result by index."""
"""overridden from Argument."""
def GetInvalidArg(self, offset, index): """returns an invalid value and expected parse result by index.""" return ("-1", "kNoError", "GL_INVALID_VALUE")
1ef566cc7626f0180e4b8b44da00e60fdbb0de8e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/1ef566cc7626f0180e4b8b44da00e60fdbb0de8e/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1941, 4117, 12, 2890, 16, 1384, 16, 770, 4672, 3536, 83, 1107, 2794, 628, 5067, 12123, 327, 7566, 17, 21, 3113, 315, 79, 2279, 668, 3113, 315, 11261, 67, 9347, 67, 4051, 7923, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1941, 4117, 12, 2890, 16, 1384, 16, 770, 4672, 3536, 83, 1107, 2794, 628, 5067, 12123, 327, 7566, 17, 21, 3113, 315, 79, 2279, 668, 3113, 315, 11261, 67, 9347, 67, 4051, 7923, 2, ...
children = list(self.getChildrenView()) for child in children: if child.is_watched_folder(): child.setVisible(False) child.set_folder(None) else: child.remove(moveItemsTo) DDBObject.remove(self)
"""Remove this folder and children. """ raise NotImplementedError()
def remove(self, moveItemsTo=None): children = list(self.getChildrenView()) for child in children: if child.is_watched_folder(): child.setVisible(False) # just hide watched folders child.set_folder(None) else: child.remove(moveItemsTo) DDBObject.remove(self)
7620b23064f4a74fedddd7c100a1abbfec02879a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/7620b23064f4a74fedddd7c100a1abbfec02879a/folder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 16, 3635, 3126, 774, 33, 7036, 4672, 2325, 273, 666, 12, 2890, 18, 588, 4212, 1767, 10756, 364, 1151, 316, 2325, 30, 309, 1151, 18, 291, 67, 7585, 329, 67, 5609, 13332,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 16, 3635, 3126, 774, 33, 7036, 4672, 2325, 273, 666, 12, 2890, 18, 588, 4212, 1767, 10756, 364, 1151, 316, 2325, 30, 309, 1151, 18, 291, 67, 7585, 329, 67, 5609, 13332,...
elif ((skipFlags & SKIP_WIDGET) and
elif base.direct and\ ((skipFlags & SKIP_WIDGET) and
def findCollisionEntry(self, skipFlags = SKIP_NONE, startIndex = 0): # Init self.index and self.entry self.setCurrentIndex(-1) self.setCurrentEntry(None) # Pick out the closest object that isn't a widget for i in range(startIndex, self.getNumEntries()): entry = self.getEntry(i) nodePath = entry.getIntoNodePath() if (sk...
e47bc0df7261e22b72e796cc4d9b1c6e1f4defd9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/e47bc0df7261e22b72e796cc4d9b1c6e1f4defd9/DirectSelection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 13535, 1951, 1622, 12, 2890, 16, 2488, 5094, 273, 18420, 67, 9826, 16, 10588, 273, 374, 4672, 468, 4378, 365, 18, 1615, 471, 365, 18, 4099, 365, 18, 542, 3935, 1016, 19236, 21, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 13535, 1951, 1622, 12, 2890, 16, 2488, 5094, 273, 18420, 67, 9826, 16, 10588, 273, 374, 4672, 468, 4378, 365, 18, 1615, 471, 365, 18, 4099, 365, 18, 542, 3935, 1016, 19236, 21, 1...
height -= self.toolbar.size_request()[1]
height -= self.toolbar.size_request()[1]
def available_image_height(self): height = self.window.get_size()[1] if self.fullscreen_mode == False: height -= self.menubar.size_request()[1] if self.toolbar_show == True: height -= self.toolbar.size_request()[1] if self.statusbar_show == True: height -= self.statusbar.size_request()[1] return height
f4fb8573b027b21956ca815c0edbf66e6ae6e39e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/f4fb8573b027b21956ca815c0edbf66e6ae6e39e/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2319, 67, 2730, 67, 4210, 12, 2890, 4672, 2072, 273, 365, 18, 5668, 18, 588, 67, 1467, 1435, 63, 21, 65, 309, 365, 18, 2854, 9252, 67, 3188, 422, 1083, 30, 2072, 3947, 365, 18, 27617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2319, 67, 2730, 67, 4210, 12, 2890, 4672, 2072, 273, 365, 18, 5668, 18, 588, 67, 1467, 1435, 63, 21, 65, 309, 365, 18, 2854, 9252, 67, 3188, 422, 1083, 30, 2072, 3947, 365, 18, 27617...
eval("%s(%s)" % (colType.__name__, header[col])) except:
colType(header[col]) except ValueError, TypeError:
def seval(item): """ Strips parens from item prior to calling eval in an attempt to make it safer """ return eval(item.replace('(', '').replace(')', ''))
6083e9fc91e30426ec5fcbabb206495280cb6395 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/6083e9fc91e30426ec5fcbabb206495280cb6395/csv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 695, 1125, 12, 1726, 4672, 3536, 3978, 7146, 30821, 628, 761, 6432, 358, 4440, 5302, 316, 392, 4395, 358, 1221, 518, 7864, 586, 3536, 327, 5302, 12, 1726, 18, 2079, 2668, 12, 2187, 875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 695, 1125, 12, 1726, 4672, 3536, 3978, 7146, 30821, 628, 761, 6432, 358, 4440, 5302, 316, 392, 4395, 358, 1221, 518, 7864, 586, 3536, 327, 5302, 12, 1726, 18, 2079, 2668, 12, 2187, 875, ...
whenV = translate(str(whenV), maketrans("", ""), "-:")
whenV = mkDATE(whenV)
def doDateTime(self, sts, when, propName, predName): """ helper function to output general date value""" w = self._w
a644513b944044743f3746502b01eb01e9388d24 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/a644513b944044743f3746502b01eb01e9388d24/toIcal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 5096, 12, 2890, 16, 27099, 16, 1347, 16, 9994, 16, 3479, 461, 4672, 3536, 4222, 445, 358, 876, 7470, 1509, 460, 8395, 341, 273, 365, 6315, 91, 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, 741, 5096, 12, 2890, 16, 27099, 16, 1347, 16, 9994, 16, 3479, 461, 4672, 3536, 4222, 445, 358, 876, 7470, 1509, 460, 8395, 341, 273, 365, 6315, 91, 2, -100, -100, -100, -100, -100, -10...
self.admin_user = options['admin-user']
self.admin_user = options.get('admin-user', 'admin')
def __init__(self, buildout, name, options): self.buildout, self.name, self.options = buildout, name, options options['location'] = os.path.join( buildout['buildout']['bin-directory'], self.name, ) # suppress script generation. self.options['scripts'] = '' options['bin-directory'] = buildout['buildout']['bin-directory'...
0894a4bbf68b522813db357a0f1b78c45e3f201f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10968/0894a4bbf68b522813db357a0f1b78c45e3f201f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1361, 659, 16, 508, 16, 702, 4672, 365, 18, 3510, 659, 16, 365, 18, 529, 16, 365, 18, 2116, 273, 1361, 659, 16, 508, 16, 702, 702, 3292, 3562, 3546, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1361, 659, 16, 508, 16, 702, 4672, 365, 18, 3510, 659, 16, 365, 18, 529, 16, 365, 18, 2116, 273, 1361, 659, 16, 508, 16, 702, 702, 3292, 3562, 3546, ...
p.destroy_index = None
p.destroy_index = -1
def _fixup_param_destroy(self, parent, param): for p in parent.parameters: if p is not param and p.destroy_index == param.destroy_index: p.destroy_index = None
2f7066d7ba462641e1c5b6bc8d5fc5ee850ca87f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2770/2f7066d7ba462641e1c5b6bc8d5fc5ee850ca87f/annotationparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 904, 416, 67, 891, 67, 11662, 12, 2890, 16, 982, 16, 579, 4672, 364, 293, 316, 982, 18, 3977, 30, 309, 293, 353, 486, 579, 471, 293, 18, 11662, 67, 1615, 422, 579, 18, 11662, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 904, 416, 67, 891, 67, 11662, 12, 2890, 16, 982, 16, 579, 4672, 364, 293, 316, 982, 18, 3977, 30, 309, 293, 353, 486, 579, 471, 293, 18, 11662, 67, 1615, 422, 579, 18, 11662, ...
G = DiGraph(self._nxg, name=self._nxg.name, pos=self._pos, boundary=self._boundary)
G = DiGraph(self._nxg.copy(), name=self._nxg.name, pos=self._pos, boundary=self._boundary)
def copy(self): """ Creates a copy of the graph.
712b137d61271e8a94869b7f53f6e80ed15116d1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/712b137d61271e8a94869b7f53f6e80ed15116d1/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 4672, 3536, 10210, 279, 1610, 434, 326, 2667, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 4672, 3536, 10210, 279, 1610, 434, 326, 2667, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
compile_dir(fullname, maxlevels - 1, dfile, force)
if not compile_dir(fullname, maxlevels - 1, dfile, force, rx): success = 0
def compile_dir(dir, maxlevels=10, ddir=None, force=0): """Byte-compile all modules in the given directory tree. Arguments (only dir is required): dir: the directory to byte-compile maxlevels: maximum recursion level (default 10) ddir: if given, purported directory name (this is the directory name that wil...
12b6457e24924ff60cf89fd19a584185a5d6c256 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/12b6457e24924ff60cf89fd19a584185a5d6c256/compileall.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 67, 1214, 12, 1214, 16, 943, 12095, 33, 2163, 16, 302, 1214, 33, 7036, 16, 2944, 33, 20, 4672, 3536, 3216, 17, 11100, 777, 4381, 316, 326, 864, 1867, 2151, 18, 225, 13599, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 67, 1214, 12, 1214, 16, 943, 12095, 33, 2163, 16, 302, 1214, 33, 7036, 16, 2944, 33, 20, 4672, 3536, 3216, 17, 11100, 777, 4381, 316, 326, 864, 1867, 2151, 18, 225, 13599, 261, ...
print self.SendMessage(
self.SendMessage(
def PressButton(self, button_identifier): "Find where the button is and click it"
75e0b2db2c7b34042f6458edeefb54edfdc3ba39 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6953/75e0b2db2c7b34042f6458edeefb54edfdc3ba39/common_controls.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29806, 3616, 12, 2890, 16, 3568, 67, 5644, 4672, 315, 3125, 1625, 326, 3568, 353, 471, 4682, 518, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29806, 3616, 12, 2890, 16, 3568, 67, 5644, 4672, 315, 3125, 1625, 326, 3568, 353, 471, 4682, 518, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
typ.fields = dict.fromkeys(cls.__slots__)
typ.fields = dict((k,{}) for k in cls.__slots__)
def _init_schema_item(cls,typ): typ.fields = dict.fromkeys(cls.__slots__) typ.implementationTypes = {'python': cls}
9560b4df23894e4608f05c840d6adf170993215b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/9560b4df23894e4608f05c840d6adf170993215b/schema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 4821, 67, 1726, 12, 6429, 16, 12846, 4672, 3815, 18, 2821, 273, 2065, 12443, 79, 16, 2916, 13, 364, 417, 316, 2028, 16186, 18875, 972, 13, 3815, 18, 30810, 2016, 273, 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, 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, 2738, 67, 4821, 67, 1726, 12, 6429, 16, 12846, 4672, 3815, 18, 2821, 273, 2065, 12443, 79, 16, 2916, 13, 364, 417, 316, 2028, 16186, 18875, 972, 13, 3815, 18, 30810, 2016, 273, 13...
t1.drop()
metadata.drop_all()
def test_default_exec(self): metadata = MetaData(testing.db) t1 = Table('t1', metadata, Column(u'special_col', Integer, Sequence('special_col'), primary_key=True), Column('data', String(50)) # to appease SQLite without DEFAULT VALUES ) t1.create()
1a352c69f9c66bdc7ef90ecaffcc0c65b5911073 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1074/1a352c69f9c66bdc7ef90ecaffcc0c65b5911073/test_unicode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1886, 67, 4177, 12, 2890, 4672, 1982, 273, 27512, 12, 3813, 310, 18, 1966, 13, 268, 21, 273, 3555, 2668, 88, 21, 2187, 1982, 16, 4753, 12, 89, 1807, 705, 649, 67, 1293, 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, 1842, 67, 1886, 67, 4177, 12, 2890, 4672, 1982, 273, 27512, 12, 3813, 310, 18, 1966, 13, 268, 21, 273, 3555, 2668, 88, 21, 2187, 1982, 16, 4753, 12, 89, 1807, 705, 649, 67, 1293, 218...
go_back_logo = """<img src="http://pcuds36.cern.ch/img/wb-go-back.png" />"""
go_back_logo = """<img src="%s/img/wb-go-back.png" />""" % (CFG_SITE_URL,)
def tmpl_public_basket_single_item_header(self, bskid, name, nb_items, previous_item_recid, next_item_recid, item_index, ln=CFG_SITE_LANG): """Template for public basket's single item header display."""
21fbd39770d792689a5af9cad650e20c36ad4f24 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12027/21fbd39770d792689a5af9cad650e20c36ad4f24/webbasket_templates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 482, 67, 26219, 67, 7526, 67, 1726, 67, 3374, 12, 2890, 16, 7081, 79, 350, 16, 508, 16, 4264, 67, 3319, 16, 2416, 67, 1726, 67, 3927, 350, 16, 1024, 67, 1726, 67, 3927, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 482, 67, 26219, 67, 7526, 67, 1726, 67, 3374, 12, 2890, 16, 7081, 79, 350, 16, 508, 16, 4264, 67, 3319, 16, 2416, 67, 1726, 67, 3927, 350, 16, 1024, 67, 1726, 67, 3927, ...
raise SMTPSenderRefused('%s: %s' % (from_addr, resp))
raise SMTPSenderRefused(code, resp, from_addr)
def sendmail(self, from_addr, to_addrs, msg, mail_options=[], rcpt_options=[]): """This command performs an entire mail transaction.
7ce512fd70a64eb7cf9563bb31dd4291a44254dd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/7ce512fd70a64eb7cf9563bb31dd4291a44254dd/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2...
0.27395725 + 0.58370113*I
0.27395 + 0.58370*I
def __pow__(self, right): """ EXAMPLES: sage: C, i = ComplexField(20).objgen() sage: a = i^2; a -1.0000000 sage: a.parent() Complex Field with 20 bits of precision sage: a = (1+i)^i; a 0.42882919 + 0.15487170*I sage: (1+i)^(1+i) 0.27395725 + 0.58370113*I sage: a.parent() Complex Field with 20 bits of precision sage: i^...
193380da4580283517e8b5d85f0bf8d1c6d47fce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/193380da4580283517e8b5d85f0bf8d1c6d47fce/complex_number.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 23509, 972, 12, 2890, 16, 2145, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 385, 16, 277, 273, 16060, 974, 12, 3462, 2934, 2603, 4507, 1435, 272, 410, 30, 279, 273, 277, 66,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 23509, 972, 12, 2890, 16, 2145, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 385, 16, 277, 273, 16060, 974, 12, 3462, 2934, 2603, 4507, 1435, 272, 410, 30, 279, 273, 277, 66,...
SSH_HOST_RSA_PRIV = SSH_CONFIG_DIR + "ssh_host_rsa_key"
SSH_HOST_RSA_PRIV = SSH_CONFIG_DIR + "/ssh_host_rsa_key"
def SplitVersion(version): """Splits version number stored in an int. Returns: tuple; (major, minor, revision) """ assert isinstance(version, int) (major, remainder) = divmod(version, 1000000) (minor, revision) = divmod(remainder, 10000) return (major, minor, revision)
553bd93f0905a4b93d899377b792a354049ea595 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7542/553bd93f0905a4b93d899377b792a354049ea595/constants.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5385, 1444, 12, 1589, 4672, 3536, 16582, 1177, 1300, 4041, 316, 392, 509, 18, 225, 2860, 30, 3193, 31, 261, 14019, 16, 8439, 16, 6350, 13, 225, 3536, 1815, 1549, 12, 1589, 16, 509, 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, 5385, 1444, 12, 1589, 4672, 3536, 16582, 1177, 1300, 4041, 316, 392, 509, 18, 225, 2860, 30, 3193, 31, 261, 14019, 16, 8439, 16, 6350, 13, 225, 3536, 1815, 1549, 12, 1589, 16, 509, 13,...
taskMgr.step()
def run(self): from time import sleep while self.isRunning: sleep(self.FPS) taskMgr.step() else: render.analyze() # TODO do cleanup logger.info("Quitting application, have fun")
f2fb2af7d3b6c28fa60acafbf13a85fe1a5884b1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7999/f2fb2af7d3b6c28fa60acafbf13a85fe1a5884b1/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 628, 813, 1930, 5329, 1323, 365, 18, 291, 7051, 30, 5329, 12, 2890, 18, 42, 5857, 13, 469, 30, 1743, 18, 304, 9508, 1435, 468, 2660, 741, 6686, 1194, 18, 1376, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 628, 813, 1930, 5329, 1323, 365, 18, 291, 7051, 30, 5329, 12, 2890, 18, 42, 5857, 13, 469, 30, 1743, 18, 304, 9508, 1435, 468, 2660, 741, 6686, 1194, 18, 1376, ...
gMonitor.addMark("%Files" % status,len(files.keys())) pfnDict = {}
pfnIDs= {}
def __getFiles(self,se,status): # Get files with the given status and se from the database res = self.MigrationMonitoringDB.getFiles(se,status) if not res['OK']: return res files = res['Value'] gMonitor.addMark("%Files" % status,len(files.keys())) pfnDict = {} if len(files.keys()) > 0: for fileID,metadataDict in files....
4f91556b86199dede4b08bee27f08eea5a1de278 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/4f91556b86199dede4b08bee27f08eea5a1de278/MigrationMonitoringAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 2697, 12, 2890, 16, 307, 16, 2327, 4672, 468, 968, 1390, 598, 326, 864, 1267, 471, 695, 628, 326, 2063, 400, 273, 365, 18, 10224, 18410, 2290, 18, 588, 2697, 12, 307, 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, 588, 2697, 12, 2890, 16, 307, 16, 2327, 4672, 468, 968, 1390, 598, 326, 864, 1267, 471, 695, 628, 326, 2063, 400, 273, 365, 18, 10224, 18410, 2290, 18, 588, 2697, 12, 307, 16, ...
self.d.BringToFront() self.d.HideWindow()
self.w.BringToFront() self.w.HideWindow() del self.w
def __del__( self ): self.d.BringToFront() self.d.HideWindow() del self.d
0f86aa1080c85d22253db2524dab56c3a8565e6b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/0f86aa1080c85d22253db2524dab56c3a8565e6b/EasyDialogs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 12, 365, 262, 30, 365, 18, 91, 18, 38, 8022, 774, 9580, 1435, 365, 18, 91, 18, 15690, 3829, 1435, 1464, 365, 18, 91, 1464, 365, 18, 72, 225, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 972, 12, 365, 262, 30, 365, 18, 91, 18, 38, 8022, 774, 9580, 1435, 365, 18, 91, 18, 15690, 3829, 1435, 1464, 365, 18, 91, 1464, 365, 18, 72, 225, 2, -100, -100, -100, -...
re_key = re.compile("^ *ui_strings\.([^ ]*)") file = codecs.open(path, "r", "utf_8_sig")
re_key = re.compile("^ *ui_strings\.([^ =]*)") fp = codecs.open(path, "r", "utf_8_sig")
def _get_string_keys(path): """Grab all the string keys of out a language file""" re_key = re.compile("^ *ui_strings\.([^ ]*)") file = codecs.open(path, "r", "utf_8_sig") lang_keys = set() for line in file: lang_keys.update(re_key.findall(line)) file.close() return lang_keys
9d99784e561c0304ae746a4c36cbdab657b682e6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10925/9d99784e561c0304ae746a4c36cbdab657b682e6/dfbuild.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1080, 67, 2452, 12, 803, 4672, 3536, 14571, 70, 777, 326, 533, 1311, 434, 596, 279, 2653, 585, 8395, 283, 67, 856, 273, 283, 18, 11100, 2932, 66, 380, 4881, 67, 10219, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1080, 67, 2452, 12, 803, 4672, 3536, 14571, 70, 777, 326, 533, 1311, 434, 596, 279, 2653, 585, 8395, 283, 67, 856, 273, 283, 18, 11100, 2932, 66, 380, 4881, 67, 10219, ...
if self.InterestDebug: print 'INTEREST DEBUG: interestDone(): handle=%s' % handle
if self.__verbose(): print 'CR::INTEREST.interestDone(handle=%s)' % handle
def handleInterestDoneMessage(self, di): """ This handles the interest done messages and may dispatch an event """ assert DoInterestManager.notify.debugCall() handle = di.getUint16() scopeId = di.getUint32() if self.InterestDebug: print 'INTEREST DEBUG: interestDone(): handle=%s' % handle DoInterestManager.notify.debug...
0ad3bac423d39b998827d489a97d947c4e85743a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8543/0ad3bac423d39b998827d489a97d947c4e85743a/DoInterestManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 29281, 7387, 1079, 12, 2890, 16, 4314, 4672, 3536, 1220, 7372, 326, 16513, 2731, 2743, 471, 2026, 3435, 392, 871, 3536, 1815, 2256, 29281, 1318, 18, 12336, 18, 4148, 1477, 1435, 1640...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29281, 7387, 1079, 12, 2890, 16, 4314, 4672, 3536, 1220, 7372, 326, 16513, 2731, 2743, 471, 2026, 3435, 392, 871, 3536, 1815, 2256, 29281, 1318, 18, 12336, 18, 4148, 1477, 1435, 1640...
print >>sys.stderr, ('\nWarning: could not find UID for '+
if sys.stderr.softspace: print >>sys.stderr print >>sys.stderr, ('Warning: could not find UID for '+
def _dom_link_to_html(self, target, name, container): uid = findUID(target, container, self._docmap) if uid is None: print >>sys.stderr, ('\nWarning: could not find UID for '+ 'L{%s} in %s' % (target, container)) return self._uid_to_href(uid, name, 'link')
771e91d9f27aff69c7681d17285ac18c37519cc0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/771e91d9f27aff69c7681d17285ac18c37519cc0/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9859, 67, 1232, 67, 869, 67, 2620, 12, 2890, 16, 1018, 16, 508, 16, 1478, 4672, 4555, 273, 1104, 3060, 12, 3299, 16, 1478, 16, 365, 6315, 2434, 1458, 13, 309, 4555, 353, 599, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9859, 67, 1232, 67, 869, 67, 2620, 12, 2890, 16, 1018, 16, 508, 16, 1478, 4672, 4555, 273, 1104, 3060, 12, 3299, 16, 1478, 16, 365, 6315, 2434, 1458, 13, 309, 4555, 353, 599, 30...
self.respond("214 %s.\r\n" %proto_cmds[line.upper()])
self.respond("214 %s" %proto_cmds[line.upper()])
def ftp_HELP(self, line): "Return help" # TODO - A lot of FTP servers return command names only while we # return cmd_name + description. I believe we should return the same. if line: # FIX #10 if line.upper() in proto_cmds: self.respond("214 %s.\r\n" %proto_cmds[line.upper()]) else: self.respond("500 Unrecognized comm...
3031f49a8bea90014d498d75fa5b6115bae33d58 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/3031f49a8bea90014d498d75fa5b6115bae33d58/FTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 27396, 12, 2890, 16, 980, 4672, 315, 990, 2809, 6, 468, 2660, 300, 432, 17417, 434, 19324, 7084, 327, 1296, 1257, 1338, 1323, 732, 468, 327, 1797, 67, 529, 397, 2477, 18, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 27396, 12, 2890, 16, 980, 4672, 315, 990, 2809, 6, 468, 2660, 300, 432, 17417, 434, 19324, 7084, 327, 1296, 1257, 1338, 1323, 732, 468, 327, 1797, 67, 529, 397, 2477, 18, 46...
pdp = PDP(VOExtension, granularity = self.__granularity, name = self.__name,
pdp = PDP(self.VOExtension, granularity = self.__granularity, name = self.__name,
def enforce(self, pdpIn = None, rsDBIn = None, ncIn = None, setupIn = None, daIn = None, csAPIIn = None, knownInfo = None): """ enforce policies, using a PDP (Policy Decision Point), based on
e9b2e8840f1ad34980e155d4e27cc6d17d52d555 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/e9b2e8840f1ad34980e155d4e27cc6d17d52d555/PEP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12980, 12, 2890, 16, 4863, 84, 382, 273, 599, 16, 3597, 2290, 382, 273, 599, 16, 8194, 382, 273, 599, 16, 3875, 382, 273, 599, 16, 5248, 382, 273, 599, 16, 2873, 2557, 382, 273, 599,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12980, 12, 2890, 16, 4863, 84, 382, 273, 599, 16, 3597, 2290, 382, 273, 599, 16, 8194, 382, 273, 599, 16, 3875, 382, 273, 599, 16, 5248, 382, 273, 599, 16, 2873, 2557, 382, 273, 599,...
idx1 = self.il.Add(PaletteMapping.bitmapForComponent(aclass, 'Component'))
idx1 = self.il.Add(PaletteMapping.bitmapForComponent(className, 'Component'))
def refreshCtrl(self): self.DeleteAllItems()
0bf8bf1d4d573fbfcb1bd85b782be2f7345788b3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/0bf8bf1d4d573fbfcb1bd85b782be2f7345788b3/DataView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4460, 12418, 12, 2890, 4672, 365, 18, 2613, 1595, 3126, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4460, 12418, 12, 2890, 4672, 365, 18, 2613, 1595, 3126, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
global_dict, local_dict = get_twill_glocals() local_dict['__match__'] = m.group()
if m.groups(): match_str = m.group(1) else: match_str = m.group(0) global_dict, local_dict = get_twill_glocals() local_dict['__match__'] = match_str
def find(what, flags=''): """ >> find <regexp> [<flags>] Succeed if the regular expression is on the page. Sets the local variable __match__ to the matching text. Flags is a string consisting of the following characters: * i: ignorecase * m: multiline * s: dotall For explanations of these, please see the Python re...
c08d82127bbe9f59163a369af241121ed6969362 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8598/c08d82127bbe9f59163a369af241121ed6969362/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 12, 23770, 16, 2943, 2218, 11, 4672, 3536, 1671, 1104, 411, 17745, 34, 306, 32, 7133, 34, 65, 225, 348, 5286, 5288, 309, 326, 6736, 2652, 353, 603, 326, 1363, 18, 225, 11511, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 12, 23770, 16, 2943, 2218, 11, 4672, 3536, 1671, 1104, 411, 17745, 34, 306, 32, 7133, 34, 65, 225, 348, 5286, 5288, 309, 326, 6736, 2652, 353, 603, 326, 1363, 18, 225, 11511, 326...
return self.substitute(dict, **kwds)
if 'substitute' in kwds: del kwds['substitute'] return self.substitute(dict, **kwds) else: if len(self.variables()) > 0: return self.substitute(dict, **kwds) else: raise ValueError, "trying to substitute into a constant expression, use substitute=True if this is what you really want to do"
def __call__(self, dict=None, **kwds): return self.substitute(dict, **kwds)
5c9cefd9c391016e39a47f6191cdd50e7407663c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/5c9cefd9c391016e39a47f6191cdd50e7407663c/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 2065, 33, 7036, 16, 2826, 25577, 4672, 327, 365, 18, 1717, 17207, 12, 1576, 16, 2826, 25577, 13, 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, 1001, 1991, 972, 12, 2890, 16, 2065, 33, 7036, 16, 2826, 25577, 4672, 327, 365, 18, 1717, 17207, 12, 1576, 16, 2826, 25577, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"(r,g,b,a)")
"(r,g,b,a)") def to_qt4_color(editor): if editor.factory.mapped: retval = getattr(editor.object, editor.name + '_') else: retval = getattr(editor.object, editor.name) if isinstance(retval, tuple): col = QtGui.QColor() col.setRgbF(*retval) retval = col return retval def str_color(color): if isinstance(color, QtGui...
def convert_from_pyqt_color(obj, name, value): if isinstance(value, QtGui.QColor): return value.getRgbF() elif isinstance(value, Str): return color_table.get(value, transparent_color) elif type(value) is int: num = int(value) return ((num >> 16)/255.0, ((num>>8) & 0xFF)/255.0, (num & 0xFF)/255.0, 1.0) elif type(value) ...
abfde0830a10d7b7b7758d68d0a20e3d95e68150 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13166/abfde0830a10d7b7b7758d68d0a20e3d95e68150/colors.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 2080, 67, 2074, 23311, 67, 3266, 12, 2603, 16, 508, 16, 460, 4672, 309, 1549, 12, 1132, 16, 23425, 18, 53, 2957, 4672, 327, 460, 18, 588, 22333, 42, 1435, 1327, 1549, 12, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 2080, 67, 2074, 23311, 67, 3266, 12, 2603, 16, 508, 16, 460, 4672, 309, 1549, 12, 1132, 16, 23425, 18, 53, 2957, 4672, 327, 460, 18, 588, 22333, 42, 1435, 1327, 1549, 12, 1...
stream.write(fs.decode(stream.encoding) % msg)
fs = fs.decode(stream.encoding) try: stream.write(fs % msg) except UnicodeEncodeError: stream.write((fs % msg).encode(stream.encoding))
def emit(self, record): """ Emit a record.
cbb530872354fb4eb3b8b5bbaa36db38a0d9a64a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/cbb530872354fb4eb3b8b5bbaa36db38a0d9a64a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3626, 12, 2890, 16, 1409, 4672, 3536, 16008, 279, 1409, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3626, 12, 2890, 16, 1409, 4672, 3536, 16008, 279, 1409, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self.__prog__ = 'findFlagsJob'
def __init__(self, opts, cp, dir='', tag_base="DQFLAGS"): """ """ self.__conditionalLoadDefaults__(findFlagsJob.defaults,cp) self.__prog__ = 'findFlagsJob' self.__executable = string.strip(cp.get('fu-condor','dqflags')) self.__universe = string.strip(cp.get('fu-condor','universe')) pipeline.CondorDAGJob.__init__(self,s...
e7dc96264f8fa6761fca7488785053e6db4d6c14 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/e7dc96264f8fa6761fca7488785053e6db4d6c14/stfu_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1500, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 1546, 40, 53, 17836, 6, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 4720, 5094, 2278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1500, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 1546, 40, 53, 17836, 6, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 4720, 5094, 2278, ...
import pdb;pdb.set_trace()
def text_version_delete(request, key, text_version_key): text_version = TextVersion.objects.get(key=text_version_key) text=text_version.text if request.method != 'POST': raise UnauthorizedException('Unauthorized') display_message(request, _(u'Text version %(text_version_title)s deleted') %{'text_version_title':text_ver...
d8fe5026eba38991e374c0fce8b11d6f78f15f46 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5622/d8fe5026eba38991e374c0fce8b11d6f78f15f46/texts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 67, 1589, 67, 3733, 12, 2293, 16, 498, 16, 977, 67, 1589, 67, 856, 4672, 977, 67, 1589, 273, 3867, 1444, 18, 6911, 18, 588, 12, 856, 33, 955, 67, 1589, 67, 856, 13, 977, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 67, 1589, 67, 3733, 12, 2293, 16, 498, 16, 977, 67, 1589, 67, 856, 4672, 977, 67, 1589, 273, 3867, 1444, 18, 6911, 18, 588, 12, 856, 33, 955, 67, 1589, 67, 856, 13, 977, 33, ...
return "%s - %s" % (self.__class__.__name__, self.get_title())
return "%s - %s" % (self.__class__.__name__, stringify(self.get_title()))
def __str__(self): return "%s - %s" % (self.__class__.__name__, self.get_title())
2c71139c79a6391bafa634487c97ee0908732930 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/2c71139c79a6391bafa634487c97ee0908732930/feed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 2213, 87, 300, 738, 87, 6, 738, 261, 2890, 16186, 1106, 972, 16186, 529, 972, 16, 365, 18, 588, 67, 2649, 10756, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 2213, 87, 300, 738, 87, 6, 738, 261, 2890, 16186, 1106, 972, 16186, 529, 972, 16, 365, 18, 588, 67, 2649, 10756, 2, -100, -100, -100, -100, -100, ...
""" if not isinstance(a, RingElement):
sage: xgcd(5/1, 7/1) (1, 3, -2) sage: x = polygen(QQ) sage: xgcd(x^3 - 1, x^2 - 1) (x - 1, 1, -x) """ try: return a.xgcd(b) except AttributeError: pass if not isinstance(a, sage.rings.integer.Integer):
def xgcd(a, b): """ Returns triple of integers (g,s,t) such that g = s*a+t*b = gcd(a,b). sage: xgcd(56, 44) (4, 4, -5) sage: 4*56 + (-5)*44 4 """ if not isinstance(a, RingElement): a = integer_ring.ZZ(a) return a.xgcd(b)
2e334249835e22b9452b590a27fb481cabb8642f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/2e334249835e22b9452b590a27fb481cabb8642f/arith.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 75, 4315, 12, 69, 16, 324, 4672, 3536, 2860, 14543, 434, 12321, 261, 75, 16, 87, 16, 88, 13, 4123, 716, 314, 273, 272, 14, 69, 15, 88, 14, 70, 273, 14876, 12, 69, 16, 70, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 75, 4315, 12, 69, 16, 324, 4672, 3536, 2860, 14543, 434, 12321, 261, 75, 16, 87, 16, 88, 13, 4123, 716, 314, 273, 272, 14, 69, 15, 88, 14, 70, 273, 14876, 12, 69, 16, 70, 29...
def check_simple_html(self):
def test_simple_html(self):
def check_simple_html(self): self._run_check("""
b7ef883bf29270d1acf9d78a6aaca78b06a69944 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b7ef883bf29270d1acf9d78a6aaca78b06a69944/test_htmlparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9647, 67, 2620, 12, 2890, 4672, 365, 6315, 2681, 67, 1893, 2932, 3660, 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, 1842, 67, 9647, 67, 2620, 12, 2890, 4672, 365, 6315, 2681, 67, 1893, 2932, 3660, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.UtcTimeStampField.__init__(self, 629) else quickfix.UtcTimeStampField.__init__(self, 629, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 57, 5111, 21536, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 5540, 13, 469, 9549, 904, 18, 57, 5111, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 57, 5111, 21536, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 5540, 13, 469, 9549, 904, 18, 57, 5111, 2...
entry = (self.__curfile, self.__lineno) linenos = self.__messages.get(msg) if linenos is None: self.__messages[msg] = [entry] else: linenos.append(entry)
if not msg in self.__options.toexclude: entry = (self.__curfile, self.__lineno) linenos = self.__messages.get(msg) if linenos is None: self.__messages[msg] = [entry] else: linenos.append(entry)
def __openseen(self, ttype, tstring, lineno): if ttype == tokenize.OP and tstring == ')': # We've seen the last of the translatable strings. Record the # line number of the first line of the strings and update the list # of messages seen. Reset state for the next batch. If there # were no strings inside _(), then ju...
52043ea2b7a4417a947165040dd20990b822491f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/52043ea2b7a4417a947165040dd20990b822491f/pygettext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3190, 15156, 12, 2890, 16, 27963, 16, 268, 1080, 16, 7586, 4672, 309, 27963, 422, 13672, 18, 3665, 471, 268, 1080, 422, 5777, 30, 468, 1660, 8081, 5881, 326, 1142, 434, 326, 21884,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3190, 15156, 12, 2890, 16, 27963, 16, 268, 1080, 16, 7586, 4672, 309, 27963, 422, 13672, 18, 3665, 471, 268, 1080, 422, 5777, 30, 468, 1660, 8081, 5881, 326, 1142, 434, 326, 21884,...
self.metaList.insertItem(self.createListItem(itemType,itemText))
self.metaList.insertItem(self.icons[itemType],itemText)
def onMetaButtonClicked(self): self.internalSelectionUpdateFlag = self.internalSelectionUpdateFlag + 1 if self.metaButtonLeft: self.removeSelectedItems(self.metaList) else: for i in range(0, self.inputAttributesList.count()): if (self.inputAttributesList.isSelected(i)): itemText = str(self.inputAttributesList.text(i)) ...
c60b799c2d721cec880f1547ee4418a162265b81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/c60b799c2d721cec880f1547ee4418a162265b81/OWDataDomain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 2781, 3616, 27633, 12, 2890, 4672, 365, 18, 7236, 6233, 1891, 4678, 273, 365, 18, 7236, 6233, 1891, 4678, 397, 404, 309, 365, 18, 3901, 3616, 3910, 30, 365, 18, 4479, 7416, 3126, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2781, 3616, 27633, 12, 2890, 4672, 365, 18, 7236, 6233, 1891, 4678, 273, 365, 18, 7236, 6233, 1891, 4678, 397, 404, 309, 365, 18, 3901, 3616, 3910, 30, 365, 18, 4479, 7416, 3126, ...
security.declarePublic('styleselect')
security.declarePublic('styleselect_text')
def includeLibs(self, lang=None): """ Returns HTML code that includes required JavaScript libraries. Parameters: `lang` **Not used** """ return '<script language="JavaScript" \
8c8633f2bcc2e562504acb3b04c0239a78f71cb5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/8c8633f2bcc2e562504acb3b04c0239a78f71cb5/EditorTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2341, 5664, 87, 12, 2890, 16, 3303, 33, 7036, 4672, 3536, 2860, 3982, 981, 716, 6104, 1931, 11905, 14732, 18, 7012, 30, 1375, 4936, 68, 2826, 1248, 1399, 636, 3536, 327, 2368, 4263, 2653...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2341, 5664, 87, 12, 2890, 16, 3303, 33, 7036, 4672, 3536, 2860, 3982, 981, 716, 6104, 1931, 11905, 14732, 18, 7012, 30, 1375, 4936, 68, 2826, 1248, 1399, 636, 3536, 327, 2368, 4263, 2653...
i = self.i l = self.l p = self.p h = self.headersize
h = self.header size = self.calcsize
def test_specialtypes(self): i = self.i l = self.l p = self.p h = self.headersize # dict self.check_sizeof({}, h + 3*l + 3*p + 8*(l + 2*p)) longdict = {1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7, 8:8} self.check_sizeof(longdict, h + 3*l + 3*p + 8*(l + 2*p) + 16*(l + 2*p)) # list self.check_sizeof([], h + l + p + l) self.check_s...
300a10ceb1febf233333c4843a55c526b4019feb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/300a10ceb1febf233333c4843a55c526b4019feb/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9371, 2352, 12, 2890, 4672, 366, 273, 365, 18, 3374, 963, 273, 365, 18, 12448, 1467, 468, 2065, 365, 18, 1893, 67, 1467, 792, 23506, 16, 366, 397, 890, 14, 80, 397, 890, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9371, 2352, 12, 2890, 4672, 366, 273, 365, 18, 3374, 963, 273, 365, 18, 12448, 1467, 468, 2065, 365, 18, 1893, 67, 1467, 792, 23506, 16, 366, 397, 890, 14, 80, 397, 890, 14...
CallLater(5, auth_failed)
auth_failed()
def auth_failed(msg="Authentication failed."): if not self._closed: self.attempted_logins += 1 if self.attempted_logins >= self.max_login_attempts: msg = "530 " + msg + " Disconnecting." self.respond(msg) self.log(msg) self.close_when_done() else: self.respond("530 " + msg) self.log(msg) self.sleeping = False
b89ca03de8ef4f30169d72d3120ee291481d5964 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/b89ca03de8ef4f30169d72d3120ee291481d5964/ftpserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1357, 67, 7307, 12, 3576, 1546, 6492, 2535, 1199, 4672, 309, 486, 365, 6315, 12204, 30, 365, 18, 11764, 329, 67, 1330, 2679, 1011, 404, 309, 365, 18, 11764, 329, 67, 1330, 2679, 1545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1357, 67, 7307, 12, 3576, 1546, 6492, 2535, 1199, 4672, 309, 486, 365, 6315, 12204, 30, 365, 18, 11764, 329, 67, 1330, 2679, 1011, 404, 309, 365, 18, 11764, 329, 67, 1330, 2679, 1545, ...
def __str__(self): return "The projective general unitary group of degree %s over %s\n (matrix representation has coefficients in %s)"%(self._n, self.base_ring(), self.field_of_definition())
def _repr_(self): return "The projective general unitary group of degree %s over %s"%(self._n, self.base_ring())
def __str__(self): return "The projective general unitary group of degree %s over %s\n (matrix representation has coefficients in %s)"%(self._n, self.base_ring(), self.field_of_definition())
eb4a3d25f4a3089f0f04f1faf9903b68e5cfc0db /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/eb4a3d25f4a3089f0f04f1faf9903b68e5cfc0db/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 315, 1986, 1984, 688, 7470, 2836, 814, 1041, 434, 10782, 738, 87, 1879, 738, 87, 64, 82, 261, 5667, 4335, 711, 14229, 316, 738, 87, 2225, 17105, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 315, 1986, 1984, 688, 7470, 2836, 814, 1041, 434, 10782, 738, 87, 1879, 738, 87, 64, 82, 261, 5667, 4335, 711, 14229, 316, 738, 87, 2225, 17105, 28...
def test_sf_person_projects_lookup(self):
def _test_sf_person_projects_lookup(self):
def test_sf_person_projects_lookup(self): self.test_import_one_flossmole_row(delete_now=False) url = 'http://openhatch.org/people/sf_projects_by_person?u=paulproteus' tc.go(make_twill_url(url)) tc.find('zoph')
bd1b10dfc47e60d4853357873707d614c4bebf8b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11976/bd1b10dfc47e60d4853357873707d614c4bebf8b/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 21668, 67, 12479, 67, 13582, 67, 8664, 12, 2890, 4672, 365, 18, 3813, 67, 5666, 67, 476, 67, 74, 7873, 81, 790, 67, 492, 12, 3733, 67, 3338, 33, 8381, 13, 880, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 21668, 67, 12479, 67, 13582, 67, 8664, 12, 2890, 4672, 365, 18, 3813, 67, 5666, 67, 476, 67, 74, 7873, 81, 790, 67, 492, 12, 3733, 67, 3338, 33, 8381, 13, 880, 273, ...
def _basic_get_ok(self, args):
def _basic_get_ok(self, args, msg):
def _basic_get_ok(self, args): """ provide client with a message
53019bb5fd2a3405591b5928a9feefa8d7b950c8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10764/53019bb5fd2a3405591b5928a9feefa8d7b950c8/client_0_8.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13240, 67, 588, 67, 601, 12, 2890, 16, 833, 16, 1234, 4672, 3536, 5615, 1004, 598, 279, 883, 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, 389, 13240, 67, 588, 67, 601, 12, 2890, 16, 833, 16, 1234, 4672, 3536, 5615, 1004, 598, 279, 883, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pre.append(align_prepost[is_inline, attrs['align']][0]) post.append(align_prepost[is_inline, attrs['align']][1])
align_code = align_codes[attrs['align']] pre.append(align_code[0]) post.append(align_code[1])
def visit_image(self, node): self.requirements['graphicx'] = self.graphicx_package attrs = node.attributes # Add image URI to dependency list, assuming that it's # referring to a local file. self.settings.record_dependencies.add(attrs['uri']) # alignment defaults: if not 'align' in attrs: # Set default align of image i...
be1fbeb9faee010ab9af5286d03796b46342047e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1532/be1fbeb9faee010ab9af5286d03796b46342047e/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 2730, 12, 2890, 16, 756, 4672, 365, 18, 16175, 3292, 4660, 335, 92, 3546, 273, 365, 18, 4660, 335, 92, 67, 5610, 3422, 273, 756, 18, 4350, 468, 1436, 1316, 3699, 358, 4904, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2730, 12, 2890, 16, 756, 4672, 365, 18, 16175, 3292, 4660, 335, 92, 3546, 273, 365, 18, 4660, 335, 92, 67, 5610, 3422, 273, 756, 18, 4350, 468, 1436, 1316, 3699, 358, 4904, ...
upgrade_graph(graph, module_list, force)
upgrade_graph(graph, cr, module_list, force)
def create_graph(module_list, force=None): graph = Graph() upgrade_graph(graph, module_list, force) return graph
f5724590ce894a156c7e5fb63648f1b355d22f58 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/f5724590ce894a156c7e5fb63648f1b355d22f58/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 4660, 12, 2978, 67, 1098, 16, 2944, 33, 7036, 4672, 2667, 273, 5601, 1435, 8400, 67, 4660, 12, 4660, 16, 4422, 16, 1605, 67, 1098, 16, 2944, 13, 327, 2667, 225, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 4660, 12, 2978, 67, 1098, 16, 2944, 33, 7036, 4672, 2667, 273, 5601, 1435, 8400, 67, 4660, 12, 4660, 16, 4422, 16, 1605, 67, 1098, 16, 2944, 13, 327, 2667, 225, 2, -100, -10...
'B,MinorLinkerVersion', 'L,SizeOfCode', 'L,SizeOfInitializedData', 'L,SizeOfUninitializedData', 'L,AddressOfEntryPoint', 'L,BaseOfCode', 'Q,ImageBase', 'L,SectionAlignment', 'L,FileAlignment',
'B,MinorLinkerVersion', 'I,SizeOfCode', 'I,SizeOfInitializedData', 'I,SizeOfUninitializedData', 'I,AddressOfEntryPoint', 'I,BaseOfCode', 'Q,ImageBase', 'I,SectionAlignment', 'I,FileAlignment',
def __init__(self, **args): for key, value in args.items(): setattr(self, key, value)
b1bfd27bf7c329d36f68dc5f4ed5adda7c025501 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4177/b1bfd27bf7c329d36f68dc5f4ed5adda7c025501/pefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 1968, 4672, 364, 498, 16, 460, 316, 833, 18, 3319, 13332, 9241, 12, 2890, 16, 498, 16, 460, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 1968, 4672, 364, 498, 16, 460, 316, 833, 18, 3319, 13332, 9241, 12, 2890, 16, 498, 16, 460, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
eSubtitleWidget.setFontStyle(face, font, haveColor, foregroundColor, shadowColor, shadowOffset, borderColor, borderWidth)
eSubtitleWidget.setFontStyle(face, font, haveColor, foregroundColor, borderColor, borderWidth)
def loadSingleSkinData(desktop, skin, path_prefix): """loads skin data like colors, windowstyle etc.""" assert skin.tag == "skin", "root element in skin must be 'skin'!" #print "***SKIN: ", path_prefix for c in skin.findall("output"): id = c.attrib.get('id') if id: id = int(id) else: id = 0 if id == 0: # framebuffer ...
674388bdc427410dbc396ab9c30db6db10f92e63 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6652/674388bdc427410dbc396ab9c30db6db10f92e63/skin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 5281, 26827, 751, 12, 31949, 16, 18705, 16, 589, 67, 3239, 4672, 3536, 17135, 18705, 501, 3007, 5740, 16, 2742, 4060, 5527, 12123, 1815, 18705, 18, 2692, 422, 315, 7771, 267, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 5281, 26827, 751, 12, 31949, 16, 18705, 16, 589, 67, 3239, 4672, 3536, 17135, 18705, 501, 3007, 5740, 16, 2742, 4060, 5527, 12123, 1815, 18705, 18, 2692, 422, 315, 7771, 267, 3113, ...
db="dbglog",
db="pharos",
def setup(): web.config.db_parameters = dict(dbn="postgres", db="dbglog", user="pharos", pw="pharos") web.load()
8e5c0aa3d71fe3f457cd7be9d11fa2c36a7d451c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3913/8e5c0aa3d71fe3f457cd7be9d11fa2c36a7d451c/logdaemon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13332, 3311, 18, 1425, 18, 1966, 67, 3977, 273, 2065, 12, 1966, 82, 1546, 2767, 14107, 3113, 225, 1319, 1546, 844, 297, 538, 3113, 729, 1546, 844, 297, 538, 3113, 8772, 1546, 844, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3875, 13332, 3311, 18, 1425, 18, 1966, 67, 3977, 273, 2065, 12, 1966, 82, 1546, 2767, 14107, 3113, 225, 1319, 1546, 844, 297, 538, 3113, 729, 1546, 844, 297, 538, 3113, 8772, 1546, 844, ...
if not utc:
if not self.utc:
def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=0, utc=0): BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay) self.when = string.upper(when) self.backupCount = backupCount self.utc = utc # Calculate the real rollover interval, which is just the number of # seconds ...
023f1d5d69ff62bf33efaa43589476ffeebe60bb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/023f1d5d69ff62bf33efaa43589476ffeebe60bb/handlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1544, 16, 1347, 2218, 76, 2187, 3673, 33, 21, 16, 5114, 1380, 33, 20, 16, 2688, 33, 7036, 16, 4624, 33, 20, 16, 9439, 33, 20, 4672, 3360, 8570, 1776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1544, 16, 1347, 2218, 76, 2187, 3673, 33, 21, 16, 5114, 1380, 33, 20, 16, 2688, 33, 7036, 16, 4624, 33, 20, 16, 9439, 33, 20, 4672, 3360, 8570, 1776, ...
if os.getuid() == 0: if config.log_file: os.chown(config.log_file, config.uid, config.gid) log.debug("Changed owner of log file %s to uid=%d, gid=%d", config.log_file, config.uid, config.gid) os.setgid(config.gid) os.setuid(config.uid) log.info("Dropped root privileges to uid=%d, gid=%d", config.uid, config.gid)
def init_tests(self): """ Initialize testing infrastructure - sockets, resource limits, etc. """ # Init Twisted factory. self.server_factory = network.TestServerFactory(controller = self) #self.client_factory = TestClientFactory(controller = self)
8b8425c1d4067c7805ef91259b32619bb0dc70f4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/8b8425c1d4067c7805ef91259b32619bb0dc70f4/controller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 16341, 12, 2890, 4672, 3536, 9190, 7769, 316, 26150, 300, 16762, 16, 1058, 8181, 16, 5527, 18, 3536, 468, 4378, 12694, 25444, 3272, 18, 365, 18, 3567, 67, 6848, 273, 2483, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 16341, 12, 2890, 4672, 3536, 9190, 7769, 316, 26150, 300, 16762, 16, 1058, 8181, 16, 5527, 18, 3536, 468, 4378, 12694, 25444, 3272, 18, 365, 18, 3567, 67, 6848, 273, 2483, 18, ...
GROUP BY file, item_name.value ORDER BY item_name.value ORDER BY unit""", (build.id, step.name))
GROUP BY file, item_name.value ORDER BY item_name.value""", (build.id, step.name))
def render_summary(self, req, config, build, step, category): assert category == 'coverage'
13b661eacb662e44e5a74c584e0219a82c9f624c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4547/13b661eacb662e44e5a74c584e0219a82c9f624c/summarizers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 16356, 11, 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, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 16356, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
"pydot","asyncore","asynchat", "reportlab", "vobject"],
"pydot","asyncore","asynchat", "reportlab", "vobject", "HTMLParser"],
def data_files(): '''Build list of data files to be installed''' files = [] if os.name == 'nt': os.chdir('bin') for (dp,dn,names) in os.walk('addons'): files.append((dp, map(lambda x: opj('bin', dp, x), names))) for (dp,dn,names) in os.walk('i18n'): files.append((dp, map(lambda x: opj('bin', dp, x), names))) os.chdir('...
fa09719fbf89e38b3a70be0360584fc0fbfe99d2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/fa09719fbf89e38b3a70be0360584fc0fbfe99d2/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 501, 67, 2354, 13332, 9163, 3116, 666, 434, 501, 1390, 358, 506, 5876, 26418, 1390, 273, 5378, 309, 1140, 18, 529, 422, 296, 496, 4278, 1140, 18, 343, 1214, 2668, 4757, 6134, 364, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 501, 67, 2354, 13332, 9163, 3116, 666, 434, 501, 1390, 358, 506, 5876, 26418, 1390, 273, 5378, 309, 1140, 18, 529, 422, 296, 496, 4278, 1140, 18, 343, 1214, 2668, 4757, 6134, 364, 261, ...
"""Constructor. Usage: pen = Pen(*rest) Pen takes any number of optional argument. The interpretation of each optional argument depends on its data type: (1) Qt.PenStyle -- sets the style of the pen. (2) QColor or Qt.GlobalColor -- sets the color of the pen. (3) int -- sets the width of the pen. """
def __init__(self, *rest): """Constructor.
7f6e0aa341ffc2546ccda230fb1be9e78425aba8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5650/7f6e0aa341ffc2546ccda230fb1be9e78425aba8/qplt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 8792, 4672, 3536, 6293, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 8792, 4672, 3536, 6293, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print(keys) print(vals) raise Exception("Number of vals does not equal number of keys")
raise Exception("Number of vals does not equal number of keys. \ Number of vals are: "+str(len(vals))+" and number of keys are: "+str(len(keys)))
def get_x_start_attributes(self): """ Extract ValueReference and Start attribute for all differentiated variables in the XML document. Returns: Dict with ValueReference as key and Start attribute as value. """ keys = self._xpatheval("//ScalarVariable/ValueReference/text()[../../VariableCategory=\"state\"][../../Attri...
f764f349d643190118591f5efb0058e97cef2494 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7711/f764f349d643190118591f5efb0058e97cef2494/xmlparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 92, 67, 1937, 67, 4350, 12, 2890, 4672, 3536, 8152, 1445, 2404, 471, 3603, 1566, 364, 777, 3775, 10206, 3152, 316, 326, 3167, 1668, 18, 225, 2860, 30, 9696, 598, 1445, 2404, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 92, 67, 1937, 67, 4350, 12, 2890, 4672, 3536, 8152, 1445, 2404, 471, 3603, 1566, 364, 777, 3775, 10206, 3152, 316, 326, 3167, 1668, 18, 225, 2860, 30, 9696, 598, 1445, 2404, 4...
if str(data[i][1]) in ['nan', 'NaN']: sage.misc.misc.verbose("%s\nUnable to compute f(%s)"%(msg, x),1) exceptions += 1 exception_indices.append(i)
def _plot(funcs, xrange, parametric=False, polar=False, label='', randomize=True, **kwds): options = {'alpha':1,'thickness':1,'rgbcolor':(0,0,1), 'plot_points':200, 'plot_division':1000, 'max_bend': 0.1, 'rgbcolor': (0,0,1) } if kwds.has_key('color') and not kwds.has_key('rgbcolor'): kwds['rgbcolor'] = kwds['color'] d...
522d1c42d5fd1d753d437a08aeb09e3807cb076e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/522d1c42d5fd1d753d437a08aeb09e3807cb076e/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4032, 12, 17728, 16, 12314, 16, 579, 1591, 33, 8381, 16, 24244, 33, 8381, 16, 1433, 2218, 2187, 2744, 554, 33, 5510, 16, 2826, 25577, 4672, 702, 273, 13666, 5429, 4278, 21, 11189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4032, 12, 17728, 16, 12314, 16, 579, 1591, 33, 8381, 16, 24244, 33, 8381, 16, 1433, 2218, 2187, 2744, 554, 33, 5510, 16, 2826, 25577, 4672, 702, 273, 13666, 5429, 4278, 21, 11189, ...
UNIT["feet",0.3048006],
UNIT["US survey foot",0.3048006096012192, AUTHORITY["EPSG","9003"]],
def genbin_1(): tst = gdaltest.GDALTest( 'GenBin', 'tm4628_96.bil', 1, 5738, 0, 0, 500, 1 ) prj = """PROJCS["NAD27 / Washington South", GEOGCS["NAD27", DATUM["North_American_Datum_1927", SPHEROID["Clarke 1866",6378206.4,294.9786982139103, AUTHORITY["EPSG","7008"]], AUTHORITY["EPSG","6267"]], PRIMEM["Greenwich",0, AUT...
3943981708a2f7281f2edfa2bf14000a30c12a66 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10290/3943981708a2f7281f2edfa2bf14000a30c12a66/genbin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4757, 67, 21, 13332, 225, 268, 334, 273, 15551, 2390, 395, 18, 27338, 1013, 4709, 12, 296, 7642, 9913, 2187, 296, 16925, 8749, 6030, 67, 10525, 18, 70, 330, 2187, 404, 16, 15981, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4757, 67, 21, 13332, 225, 268, 334, 273, 15551, 2390, 395, 18, 27338, 1013, 4709, 12, 296, 7642, 9913, 2187, 296, 16925, 8749, 6030, 67, 10525, 18, 70, 330, 2187, 404, 16, 15981, ...
self.busname_box.set_hide_private(toggle.get_active())
a = toggle.get_active() if a: toggle.set_label("Show Private") else: toggle.set_label("Hide Private") self.busname_box.set_hide_private(a)
def hide_private_toggled_cb(self, toggle): self.busname_box.set_hide_private(toggle.get_active())
d5cf0286312d10d2e5a7e82ca47790455920cbf9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5682/d5cf0286312d10d2e5a7e82ca47790455920cbf9/_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6853, 67, 1152, 67, 88, 23972, 1259, 67, 7358, 12, 2890, 16, 10486, 4672, 365, 18, 9274, 529, 67, 2147, 18, 542, 67, 11248, 67, 1152, 12, 14401, 18, 588, 67, 3535, 10756, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6853, 67, 1152, 67, 88, 23972, 1259, 67, 7358, 12, 2890, 16, 10486, 4672, 365, 18, 9274, 529, 67, 2147, 18, 542, 67, 11248, 67, 1152, 12, 14401, 18, 588, 67, 3535, 10756, 2, -100, -1...
file.write("<?%s?>" % _escape_cdata(node.text, encoding))
file.write(_encode("<?%s?>" % _escape_cdata(node.text), encoding))
def _write(self, file, node, encoding, namespaces): # write XML to file tag = node.tag if tag is Comment: file.write("<!-- %s -->" % _escape_cdata(node.text, encoding)) elif tag is ProcessingInstruction: file.write("<?%s?>" % _escape_cdata(node.text, encoding)) else: items = list(node.items()) xmlns_items = [] # new na...
e4cfaf8f7bb5d21848fb232e3757979401720c1d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/e4cfaf8f7bb5d21848fb232e3757979401720c1d/ElementTree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 12, 2890, 16, 585, 16, 756, 16, 2688, 16, 7728, 4672, 468, 1045, 3167, 358, 585, 1047, 273, 756, 18, 2692, 309, 1047, 353, 9821, 30, 585, 18, 2626, 2932, 5586, 413, 738, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 12, 2890, 16, 585, 16, 756, 16, 2688, 16, 7728, 4672, 468, 1045, 3167, 358, 585, 1047, 273, 756, 18, 2692, 309, 1047, 353, 9821, 30, 585, 18, 2626, 2932, 5586, 413, 738, 8...
self.s_apply(self.r_reload, args)
return self.s_apply(self.r_reload, args)
def s_reload(self, *args): self.s_apply(self.r_reload, args)
9626d92183ad55670ae3bf25df8672eb992673fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9626d92183ad55670ae3bf25df8672eb992673fe/rexec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 67, 17517, 12, 2890, 16, 380, 1968, 4672, 365, 18, 87, 67, 9010, 12, 2890, 18, 86, 67, 17517, 16, 833, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 272, 67, 17517, 12, 2890, 16, 380, 1968, 4672, 365, 18, 87, 67, 9010, 12, 2890, 18, 86, 67, 17517, 16, 833, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
M = Matrix(k,r,r,1)
M = Matrix(k, r, r, 1)
def mix_columns_matrix(self): """ Return the MixColumns matrix.
62424369e932ac59629cb4d40b7e47ae2a712293 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/62424369e932ac59629cb4d40b7e47ae2a712293/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6843, 67, 5112, 67, 5667, 12, 2890, 4672, 3536, 2000, 326, 31043, 3380, 3148, 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, ...
[ 1, 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, 6843, 67, 5112, 67, 5667, 12, 2890, 4672, 3536, 2000, 326, 31043, 3380, 3148, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for i in range(0,len(l2),e):
for i in range(0, len(l2), e):
def antiphi(self,l): """ Inverse of self.phi.
62424369e932ac59629cb4d40b7e47ae2a712293 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/62424369e932ac59629cb4d40b7e47ae2a712293/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 392, 14587, 12266, 12, 2890, 16, 80, 4672, 3536, 657, 2476, 434, 365, 18, 9973, 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...
[ 1, 1, 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, 392, 14587, 12266, 12, 2890, 16, 80, 4672, 3536, 657, 2476, 434, 365, 18, 9973, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
os.environ['TMPTICKET'] = passwd comm = comm + " -passin pass:$TMPTICKET"
if passwd: os.environ['TMPTICKET'] = passwd comm = comm + " -passin pass:$TMPTICKET"
def createProxy(certfile='',keyfile='',hours=0,bits=512,password=''): """ Create a new full legacy proxy and return it as a string """ debug = 0 openssl = "openssl" # Directory where all the temporary files will be put tmpdir = tempfile.mkdtemp() if hours > MAX_PROXY_VALIDITY_DAYS*24: hours = MAX_PROXY_VALIDITY_DAYS*2...
ccb3203977b697bf0db65d0281f24e9b329186b5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/ccb3203977b697bf0db65d0281f24e9b329186b5/GridCredentials.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 3886, 12, 7593, 768, 2218, 2187, 856, 768, 2218, 2187, 16814, 33, 20, 16, 6789, 33, 13757, 16, 3664, 2218, 11, 4672, 3536, 1788, 279, 394, 1983, 8866, 2889, 471, 327, 518, 487, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 3886, 12, 7593, 768, 2218, 2187, 856, 768, 2218, 2187, 16814, 33, 20, 16, 6789, 33, 13757, 16, 3664, 2218, 11, 4672, 3536, 1788, 279, 394, 1983, 8866, 2889, 471, 327, 518, 487, 27...
self.sort = None
def run(self): """ Perform search and return results object """ start = time.time() if self.request.cfg.xapian_search: hits = self._xapianSearch() logging.debug("_xapianSearch found %d hits" % len(hits)) else: hits = self._moinSearch() logging.debug("_moinSearch found %d hits" % len(hits))
07ed51d91fa5e8bda99aae546d02ed9de883975d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/07ed51d91fa5e8bda99aae546d02ed9de883975d/builtin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3536, 11217, 1623, 471, 327, 1686, 733, 3536, 787, 273, 813, 18, 957, 1435, 309, 365, 18, 2293, 18, 7066, 18, 92, 2425, 304, 67, 3072, 30, 11076, 273, 365, 6315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3536, 11217, 1623, 471, 327, 1686, 733, 3536, 787, 273, 813, 18, 957, 1435, 309, 365, 18, 2293, 18, 7066, 18, 92, 2425, 304, 67, 3072, 30, 11076, 273, 365, 6315, ...